BASS_DSHOW Video Library

Started by Ionut Cristea,

Ionut Cristea

#2840
 Hello,

 Here its a little update. Removed some functions that are not needed anymore because the BASS functions can be used.

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

As you read before, you can use BASS_DSHOW as BASS addon so please try to use it in your app and find bugs and other issues.

List of changes:

Quoteremoved IVACore_StreamFree -> use BASS_StreamFree
removed IVACore_ChannelPlay -> use BASS_ChannelPlay
removed IVACore_ChannelStop -> Use BASS_ChannelStop
removed IVACore_ChannelPause -> Use BASS_ChannelPause
removed IVACore_ChannelSlideAttrib
removed IVACore_ChannelGetData -> use BASS_ChannelGetData
removed IVACore_ChannelGetLevel -> use BASS_ChannelGetLevel
removed IVACore_ChannelSetDSP
removed IVACore_ChannelRemoveDSP
removed IVACore_ChannelSetFX
removed IVACore_ChannelRemoveFX
removed IVACore_SetFXParameters
removed IVACore_GetFXParameters
removed IVACore_ChannelGetData Flags
removed IVACore_GetVideoEncoders
removed IVACore_GetAudioEncoders
removed IVACore_EncoderRemoveClock
removed VideoCap_PushVideoData
removed VideoCap_SetUserDraw
removed VideoCap_GetHeight
removed VideoCap_GetWidth
removed DSPPROC
removed IVACore_GetAudioRenderers
removed IVACore_GetAudioDeviceType

Ionut Cristea

 Anyone had the chance to test latest version?

smoodilo

Quote from: Ionut CristeaAnyone had the chance to test latest version?


Waiting for the .net release you promised last week.

SoundMike

Quote from: SoundMikeThe latest version plays some of my wmv files but not my own files created use ProShow. xVideo plays these files OK, as does Windows Media Player, etc, but with this new BASS_DSHOW the video freezes at the start - presumably on the first frame.

Video mixing doesn't do what I need. I want to open a video file and subsequently (when requested by the user) start playing the file. At any time I choose I then want to open a second video file, then start and cross-fade to that file. (Normally I will have pre-opened several required video files before starting to play any of them.) Your current model seems to assume that all the video files required for the cross-fades will be opened at the start and assigned to 'layers'.

Without access to documentation I cannot see if there's a way to do what I want.

Haven't seen a fix for these issues yet.

Ionut Cristea

QuoteInsert Quote
Quote from: SoundMike on 30 Nov '15 - 06:49
The latest version plays some of my wmv files but not my own files created use ProShow. xVideo plays these files OK, as does Windows Media Player, etc, but with this new BASS_DSHOW the video freezes at the start - presumably on the first frame.

Video mixing doesn't do what I need. I want to open a video file and subsequently (when requested by the user) start playing the file. At any time I choose I then want to open a second video file, then start and cross-fade to that file. (Normally I will have pre-opened several required video files before starting to play any of them.) Your current model seems to assume that all the video files required for the cross-fades will be opened at the start and assigned to 'layers'.

Without access to documentation I cannot see if there's a way to do what I want.

Haven't seen a fix for these issues yet.

Working on it to fix the issue

Ionut Cristea

  Please try with this demos the ProShow files. Also modified the mixer demo to allow adding any number of videos to mix, or remove at mixtime.

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

smoodilo

Quote from: Ionut CristeaPlease try with this demos the ProShow files. Also modified the mixer demo to allow adding any number of videos to mix, or remove at mixtime.

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

Mixdemo working very good. But isn't this the Ivacore version you already had?
Is this version using bass?



Ionut Cristea

QuoteMixdemo working very good. But isn't this the Ivacore version you already had?
Is this version using bass?


Its IVACore on its Core, but all audio processing its done by BASS. Like i sad this version can be used as a plugin for BASS too so give it a try :)

smoodilo

Quote from: Ionut Cristea
QuoteMixdemo working very good. But isn't this the Ivacore version you already had?
Is this version using bass?


Its IVACore on its Core, but all audio processing its done by BASS. Like i sad this version can be used as a plugin for BASS too so give it a try :)

Ok, how to load this version using .Net? Bass_pluginload?

Ionut Cristea

Yes. Here its an little example:

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

Here its also some .NET api:
Quotehttp://surodev.com/downloads/NET.zip

SoundMike

Quote from: Ionut CristeaPlease try with this demos the ProShow files. Also modified the mixer demo to allow adding any number of videos to mix, or remove at mixtime.

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

Playing the ProShow files now OK, and the video mixing looks promising as well. Still can't get 2nd screen to display - I just get a black screen.

SoundMike

I'm occasionally asked if my app supports video masking and cropping. Does BASS_DSHOW support these features, preferably per layer?

Ionut Cristea

QuotePlaying the ProShow files now OK, and the video mixing looks promising as well. Still can't get 2nd screen to display - I just get a black screen.

I am glad ProShow works. 2nd screen i will work on it to fix it.

QuoteI'm occasionally asked if my app supports video masking and cropping. Does BASS_DSHOW support these features, preferably per layer?

That could be implemented in the future.

Ionut Cristea

DonCorleon

I'm working on it.

Im a long time noob with not much time. lol
so far seem to be good though....

SoundMike

Quote from: Ionut Cristea
QuotePlaying the ProShow files now OK, and the video mixing looks promising as well. Still can't get 2nd screen to display - I just get a black screen.

I am glad ProShow works. 2nd screen i will work on it to fix it.

QuoteI'm occasionally asked if my app supports video masking and cropping. Does BASS_DSHOW support these features, preferably per layer?

That could be implemented in the future.

The limited testing I've done has been good, but...
  • Any progress on the 2nd screen issue?
  • I couldn't commit to BASS_DSHOW if video masking and cropping is not supported.

If both of the above are implemented I'd be very interested in using this.

EWeiss

your should not ask yet for News :)
tell him if  A/V sync

after that work and the lib is stable
THEN ask for new support.

my 2 Cent.

greets

Ionut Cristea

QuoteThe limited testing I've done has been good, but...

    Any progress on the 2nd screen issue?
    I couldn't commit to BASS_DSHOW if video masking and cropping is not supported.


If both of the above are implemented I'd be very interested in using this.

After the library will be stable enough, more features will be added included those.