BASS_DSHOW Video Library

Started by Ionut Cristea,

Ionut Cristea

QuotexVideo_ChannelGetBitmap() returns a completely white image with some MP4 and MPEG files, but not all MP4 and MPEG files. The function does return an HBITMAP - it's not returning NULL.

Any suggestions?

Do you use plugins? Can you send me some video samples so i can check? Also have you tried with all video renderers?

Ionut

Ionut Cristea

xVideo 1.3 beta(BASS version is coming out).
During next 2 weeks versions will be posted here to be tested.
Please give it a try and report any bugs found.


http://surodev.com/downloads/demos.zip
Ionut

Ionut Cristea

SoundMike

Quote from: Ionut Cristea
QuotexVideo_ChannelGetBitmap() returns a completely white image with some MP4 and MPEG files, but not all MP4 and MPEG files. The function does return an HBITMAP - it's not returning NULL.

Any suggestions?

Do you use plugins? Can you send me some video samples so i can check? Also have you tried with all video renderers?

Ionut

On further testing I think this problem just occurs with videos created with an old version of PhotoShop Elements 7, so I'm happy to ignore this for now. I had the problem when using the 'VMR9 Windowless' renderer, but not with 'VMR9 Windowed' or either of the VMR7 renderers.

'VMR9 Windowless' is my preferred renderer. With EVR I can't get xVideo_ChannelGetBitmap() to work at all - it either returns 0 or a completely white bitmap. Also, with EVR I can't fade my video image using xVideo_MixSetLayerAlpha() unless I use the xVideo_STREAM_MIX flag etc. So currently I've excluded EVR from the list of available renderers for my users.

Regarding plugins, I'm using xVideo_MediaSplitter.dll and xVideo_AudioDec.dll.

Ionut Cristea

  I will send to you today an update. I suggest using EVR renderer with this update.

Ionut

smoodilo

Quote from: Ionut CristeaDid somebody try it until now?  ;D

I keep saying  ***latency, latency, latency *** Most of the vids are not in sync (while other players play them fine!!)

Ionut: I still can't play the vid I sent you months ago :-(



Ionut Cristea

 http://surodev.com/contact-us/

Use it and i will send you another package to try.

Ionut

quickmic

demo.exe ... does not show the video signal. Only audio plays correct.
PlayMem.exe and UserFile.exe works fine.
My own test-project also only plays audio (xvideo used as plugin).

All checks done with the same video-file.

Ionut Cristea

  A new version of BASS_DSHOW(xVideo) is ready for testing. Because we want BASS and video to be in sync only a Build in video renderer will be available. I will put here the updated version of BASS_DSHOW in a couple of days so that it can be test.

Ionut

smoodilo

Quote from: Ionut CristeaA new version of BASS_DSHOW(xVideo) is ready for testing. Because we want BASS and video to be in sync only a Build in video renderer will be available. I will put here the updated version of BASS_DSHOW in a couple of days so that it can be test.

Ionut

Yes please! Thank you!

Ionut Cristea

   BASS_DSHOW(xVideo) update. Just copy the dll and use BASS_LoadPlugin function. Please test it and tell me if you have found any problems with it.

Best regards,
Ionut

smodilo

#2731
Quote from: Ionut CristeaBASS_DSHOW(xVideo) update. Just copy the dll and use BASS_LoadPlugin function. Please test it and tell me if you have found any problems with it.

Best regards,
Ionut

Ionut,  latency is much better now, but the sound is still a fraction behind the video. Maybe you can add a way to set the timing?

EDIT: Latency is still the same


And also, I try to set the output window like this (vb.net):

---
If Not BassDShow.BASS_DSHOW_Init(FrmMain.VideoWindow.Handle, BASSDSHOWInit.BASS_DSHOW_Default) Then
              MsgBox("error")
End If
---

It doesn't throw an error but the video only outputs to the main form??

Ionut Cristea

   Well you have to use xVideo_ChannelSetWindow function to set the video display.

smoodilo

Quote from: Ionut CristeaWell you have to use xVideo_ChannelSetWindow function to set the video display.

Sure... In what namespace? Example maybe?



ramses

Hi Ionut,

Without being discourteous with you, could we know what's really happen with you and the development of xVideo / BASS_DSHOW project ?

The 24 July you said <xVideo 1.3 beta (BASS version is coming out) ... During next 2 weeks versions will be posted here to be tested>

And then ? Nothing, no more news (as usual from you) for a (very) long time !!!

So if you are not able to regularly follow up this project i think it will be a great decision for bass community that you make it open source and then expert developers in this forum can resume it and provide a better reactivity for updates

Personally i send you a couple of week before a freeware licence request for xVideo (using your web site) and i did not receive any answers. This is really discourteous.

Regards,

Philippe

Ionut Cristea

  Hello ,


Sorry for the inconveniece but i was busy...very busy with college, with work and many others.


Ionut

smoodilo

Quote from: Ionut CristeaHello ,


Sorry for the inconveniece but i was busy...very busy with college, with work and many others.


Ionut

Well in the ffdhow thread you said you had spare time to do something new. Maybe you should concentrate on xvideo first?

ramses

Hi Ionut,

I hope you will resume and follow up this project.

I also agree with smoodilo, you must focus on one task only... If you have time to build a new plugin based on ffmpeg why no time for xVideo ?

Regards,

Philippe
 

SoundMike

#2738
I agree.

You have potentially good products, Ionut, but you really need to concentrate on getting things finished properly. I purchased an xVideo 'unlimited commercial license' from you in June this year. The version I currently have is 1.3.1. However, the only Help file I have is for version 1.2.2 and is dated 22 Dec 2011 - almost 2 years ago. To get some things working I have to examine the C header or xVideo.pas and try to see what's different between 1.2.2 and 1.3.1. Since I write in PureBasic this is not always easy.

I have raised a few issues with you over the last few months, but have had no resolution to these issues and either have to work around them or just drop the relevant functionality from my program.

PLEASE get xVideo fully working and provide an updated Help file.

subh

Quote from: SoundMikeSince I write in PureBasic this is not always easy.

yes Sir I agree with you, vb code don't work properly and Ionut properly stop uploaded vb6 code :( and xVideo.bas header :(