BASS_DSHOW Video Library

Started by Ionut Cristea,

EWeiss

#2820
I did not want to upset you.

QuoteNot sure what you mean by this.
you have publish Bass_DShow then xVideo and now again Bass_DShow.
that scares people off.

That Problem is both library not finish, so i can work with it.
you Support to many on the same time wihtout test the DLL for playing Video stable before.
and now you're making the same mistake again.

Sample!
+added support for media that don't have audio(for compatibility a dummy HSTREAM will be returned)
+added support for audio/video capture devices
+added mixing videos example(the example mix 2 videos that can be controlled separately but more can be added).
+fixed issue with multichannel audio
+support for WMA/WMV
+better syncronization

you add a lot of things
and have no return of the people whether the Library Videos can play stable
without the application freezes, etc ..

make sure that the videos run stable
then add new stuff.

only my 2 Cent.

greets

Ionut Cristea

You didn't upset me.

Quote+added support for media that don't have audio(for compatibility a dummy HSTREAM will be returned)
+added support for audio/video capture devices
Both this fixes actually include same code that fixed issue. Imagine a video without audio. If no audio then return HSTREAM value its 0 wich means that video is unplayable (fact that is not true). So when video its present but no audio , a dummy HSTREAM its returned.

About other things, wmv issue was reported, and i tried to fix it. Same for mixing capability ... i was asked if its available. Anyway...i am concentrating making this addon more stable, but to do that needs more testing, witch i am not able to do with all those kinds of media files that are available, that why i need your help to test and report any bugs found.

Ionut

smoodilo

For the first time in years at least the audio/video seems to be in sync in most video's.
But before I get my hopes up too high I'll just stay on the background for a while and will see how serious you are this time to make this a decent dll.

Like many of us say: Keep it basic. Stick to the fact that this needs to work first, before adding things.
Also I seem to have some performance issues. What renderer is the least cpu-hungry?


Ionut Cristea

 
QuoteFor the first time in years at least the audio/video seems to be in sync in most video's.
But before I get my hopes up too high I'll just stay on the background for a while and will see how serious you are this time to make this a decent dll.

Believe me that you will not be disapointed.

QuoteLike many of us say: Keep it basic. Stick to the fact that this needs to work first, before adding things.

I will see what i can do about that.

QuoteAlso I seem to have some performance issues. What renderer is the least cpu-hungry?
EVR its the best from the ones that are included in Windows. After market madVR has the best quality and performance, and it will be added in the near feature. Also this new version support for user custom video renderer. In this way, BASS_DSHOW can be easily integrated in games for example.

Also, hardware decoding for HEVC, 4K H264 and so on its available so it will have only 1-2% CPU usage while playing a 4K video for example.

tonee26

xvideo.dll error on another pc, "NO SUCH INTERFACE NOT SUPPORT"
please help me?

Ionut Cristea

 Can you tell me in what context that error appear?

tonee26

Quote from: Ionut CristeaCan you tell me in what context that error appear?
filestream := xVideo_StreamCreateFile(PChar(MUSICPATH),0,PrimaryView.Handle,xVideo_UNICODE  or xVideo_STREAM_MULTIOUTPUT );

running in the scope of the Delphi IDE pc works player.exe file, but the file player.exe not work on another pc (error: no such interface supported).

Ionut Cristea

 
Quotefilestream := xVideo_StreamCreateFile(PChar(MUSICPATH),0,PrimaryView.Handle,xVideo_UNICODE  or xVideo_STREAM_MULTIOUTPUT );

running in the scope of the Delphi IDE pc works player.exe file, but the file player.exe not work on another pc (error: no such interface supported).


Please don't use xVideo anymore. if you use it with BASS i recommend using BASS_DSHOW, else use IVACore. Please let me know what version you want to use.

Also: BASS_DSHOW update - today or tomorrow i will post some API that users can test too in their own apps.

Ionut

tonee26

Quote from: Ionut Cristea
Quotefilestream := xVideo_StreamCreateFile(PChar(MUSICPATH),0,PrimaryView.Handle,xVideo_UNICODE  or xVideo_STREAM_MULTIOUTPUT );

running in the scope of the Delphi IDE pc works player.exe file, but the file player.exe not work on another pc (error: no such interface supported).


Please don't use xVideo anymore. if you use it with BASS i recommend using BASS_DSHOW, else use IVACore. Please let me know what version you want to use.

Also: BASS_DSHOW update - today or tomorrow i will post some API that users can test too in their own apps.

Ionut
ok i will try BASS_DSHOW, please I ask for a link to download the latest sample Delphi XE.

Ionut Cristea

  I will post later a API for delphi too. In the meantime some demos you can try here: http://surodev.com/downloads/demo.zip

tonee26

Quote from: Ionut CristeaI will post later a API for delphi too. In the meantime some demos you can try here: http://surodev.com/downloads/demo.zip
no sample source code delphi?

Ionut Cristea

API for Delphi can be found here:

Quotehttp://surodev.com/downloads/API_Delphi.zip


API for .NET and C/C++ will be available tomorrow.

tonee26

Quote from: Ionut CristeaAPI for Delphi can be found here:

Quotehttp://surodev.com/downloads/API_Delphi.zip


API for .NET and C/C++ will be available tomorrow.
hii Ionut Cristea ,,IVACore_AudioDec.pas adn IVACore_WADSP.pas not found?

tonee26

DonCorleon

Is there a working link to the latest dll's and any up-to-date documentation?
The link in the OP is for xvideo.dll and the links in your sig don't end in 404 errors on your homepage....

Ionut Cristea

  Here its new update of API: updated Delphi and added C++ lib/header. Note that the API may change during next updates so this is not final. Also BASS_DSHOW can be used as a BASS addon too so a little example can be like this(the BASS_STREAM_DECODE works too but still have some A/V sync issues):


QuoteBASS_PluginLoad("BASS_DSHOW.dll")
.................................................................................................
HSTREAM Chan = BASS_StreamCreateFile(FALSE,"myvideofile.avi",0,0,0);
IVACore_ChannelSetWindow(Chan,0,myHWND);
BASS_ChannelPlay(Chan,FALSE);


http://surodev.com/downloads/API_Delphi_C.zip


QuoteBASS_DSHOW what support karaoke mode?

It supports karaoke video files, CDG(via addon), and karaoke mode(mixing via DSP only left audio or right audio or both)

QuoteInsert Quote
Is there a working link to the latest dll's and any up-to-date documentation?
The link in the OP is for xvideo.dll and the links in your sig don't end in 404 errors on your homepage....

The documentation is on its way.

tonee26

may request the download link BASS_CDG with samples?

DonCorleon

Thanks Ionut Cristea.

I'm eagerly awaiting some documentation.
In the meantime, i will have a play.

I messaged you via your site the other day asking about a free license.
Are they still applicable to home programmers that aren't distributing there apps?

Ionut Cristea

I didn't thinked on the licence type yet. First lets have a good addon and then we will talk about its prices.