BASS_DSHOW Video Library

Started by Ionut Cristea,

The Mask

I think there is something wrong with you plugin. The demo gives only static on all played files. This is already from the beginning of the development and not yet solved. Without BASS_DSHOW they play fine with Directshow filters and GraphEdit.


Ionut Cristea

 This is an update of BASS_DSHOW(doesn't crash anymore on free a stream).

http://filezone.ro/public.php?action=viewfile&file_id=23373

Cheers, Sharky.

The Mask

Quote from: Sharky08What do you mean?

I mean when I use the demo all videofiles (avi, mkv) with ac3, dts and mp3 audio give a loud static instead of the normal audio.

Ionut Cristea

QuoteI mean when I use the demo all videofiles (avi, mkv) with ac3, dts and mp3 audio give a loud static instead of the normal audio.

Yes...i know...but i hope that it will be fixed when i'll implement a filter for decoding audio using BASS.

jeffdavis

Quote from: Sharky08This is an update of BASS_DSHOW(doesn't crash anymore on free a stream).

http://filezone.ro/public.php?action=viewfile&file_id=23373

Cheers, Sharky.

Thanks, works great.   Now if we can just get BASS_STREAM_DECODE working.   I was also wondering if text over video was working in the plugin version?  I didn't see the functions in the demo .H files?   It was availabe before the stand alone version?

Jeff

Ionut Cristea

  
QuoteThanks, works great.   Now if we can just get BASS_STREAM_DECODE working.   I was also wondering if text over video was working in the plugin version?  I didn't see the functions in the demo .H files?   It was availabe before the stand alone version?

BASS_DSHOW has a build in Textoverlay filter that will allow user set text over video. For now is in developing. I will add functions that will allow user set own text.

http://filezone.ro/public.php?action=viewfile&file_id=23450

jeffdavis

Quote from: Sharky08BASS_DSHOW has a build in Textoverlay filter that will allow user set text over video. For now is in developing. I will add functions that will allow user set own text.
http://filezone.ro/public.php?action=viewfile&file_id=23450

IF this DLL has the TextOverlay filter how do I use it?  WHat are the functions?

Jeff

leo2010

I am trying to use bass_dshow to render avi files. My application is .NET app.  here is the code I am using.

Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, this.Handle);
int status= Bass.BASS_PluginLoad("BASS_DSHOW.dll");
int stream = Bass.BASS_StreamCreateFile(FileName,0,0,0);

But I always get invalid handle when i use .avi files. What am I missing? However I am able to play the files with bass demo2.exe which is available in the bass_dshow.zip package.

I also tried to use BASS_DSHOW_StreamCreateFile, but I still do not get proper handle :( I use the following import statements. I am not sure if I got the signatures correct.
       [DllImport("bass_dshow.dll", CharSet = CharSet.Auto)]
         public static extern int BASS_DSHOW_StreamCreateFile(string filename);
         [DllImport("bass_dshow.dll", CharSet = CharSet.Auto)]
         public static extern int BASS_DSHOW_StreamCreateFile(string filename, long start, long offset, BASSFlag flag);

Any help will be appreciated.
         


james2k2

Further to my post on DVD playback with dshow:
 - Does it support menu-less playback?
 - Does it support cycling through menu items (i.e. next menu item, previous menu item instead of up, down, left, right)

Thanks,
James

quickmic

thx Sharky08

Streamfree works fine, but ChannelStop has still problems.

About DVD...
I can Play the .vob-files directly without problems. Is there also a posibility to load the .ifo files from DVDs for complete DVD?

Ionut Cristea

QuoteIF this DLL has the TextOverlay filter how do I use it?  WHat are the functions?

Jeff

It hasn't have any functions yet...but i will add. For now i'm testing that textoverlay filter.

Ionut Cristea

QuoteFurther to my post on DVD playback with dshow:
 - Does it support menu-less playback?
 - Does it support cycling through menu items (i.e. next menu item, previous menu item instead of up, down, left, right)

Thanks,
James

Yes...

Ionut Cristea

QuoteStreamfree works fine, but ChannelStop has still problems.

About DVD...
I can Play the .vob-files directly without problems. Is there also a posibility to load the .ifo files from DVDs for complete DVD?

I will fix ChannelStop bug soon.

Currently BASS_DSHOW support playing first DVD found...i will modify it to load ifo files.

Cheers, Sharky.

Ionut Cristea

QuoteI am trying to use bass_dshow to render avi files. My application is .NET app.  here is the code I am using.

Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, this.Handle);
int status= Bass.BASS_PluginLoad("BASS_DSHOW.dll");
int stream = Bass.BASS_StreamCreateFile(FileName,0,0,0);

But I always get invalid handle when i use .avi files. What am I missing? However I am able to play the files with bass demo2.exe which is available in the bass_dshow.zip package.

I also tried to use BASS_DSHOW_StreamCreateFile, but I still do not get proper handle Sad I use the following import statements. I am not sure if I got the signatures correct.
       [DllImport("bass_dshow.dll", CharSet = CharSet.Auto)]
         public static extern int BASS_DSHOW_StreamCreateFile(string filename);
         [DllImport("bass_dshow.dll", CharSet = CharSet.Auto)]
         public static extern int BASS_DSHOW_StreamCreateFile(string filename, long start, long offset, BASSFlag flag);

Any help will be appreciated.

Maybe radio42 can help you. send to him a pm.

Cheers, Sharky.


Ionut Cristea

  What's with those files? BASS_DSHOW can't play them??

Erazer

I do not know. Just test, and say to us can or not :) Hope this will help you to test your dll more quickly.

Ionut Cristea

  I'm not at home right now so i can't download those files...Maybe in 5-6 hours i will test them.

Cheers, Sharky,

Ionut Cristea

One little update: BASS_DSHOW will support plugins so if anyone knows directshow and want to contribute to the development send a pm and i will send to him sdk for creating plugins.

Cheers, Sharky.

Ionut Cristea

A new version of BASS_DSHOW released.  ;D
Check the first post for detailes and download.

Erazer

Any versions when it will support D2009 and so on would be very interesting ;)

SoundMike

Quote from: Sharky08Off course...i will add a helpl for bass_ dshow today

I don't know if I'm missing anything obvious, but I still can't find any documentation. >:(

jeffdavis

Any idea when BASS_STREAM_DECODE flag will be supported?

I can't use this plugin until this support works.  We use this to play video content to demonstrate our audio DSP DLL that uses BASS to play decoded multichannel audio streams.

The player seems to work well as stand alone but we can't use it that way.