BASS_DSHOW Video Library

Started by Ionut Cristea,

Erazer

while (BASS_DSHOW_ISACTIVE(chan)=true) do
         begin
                BytesRead := BASS_DSHOW_GETDATA(chan,@buf, 10000);
                PercentDone := Trunc(100 * ( BASS_DSHOW_GET(chan,BASS_DSHOW_POSITION) /BASS_DSHOW_GET(chan,BASS_DSHOW_FILELENGHT) ));
Say about BASS_DSHOW is still not usual bass plugin  ::)

Erazer

I have to duplicate a lot of strings of code, to use BASS_DSHOW_GETDATA instead of BASS_ChannelGetData as for all other plugins  :(

Erazer

#123
Quote from: Sharky08Try with this dll..

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

Cheers,Sharky.
To try what exactly?

Ionut Cristea

Please wait until i finish bass_dshow as a bass plugin.
I hope that this week finish it.


Cheers, Sharky.

Erazer

#125
This would be cool! ;)

Ionut Cristea

Hi all. New version of BASS_DSHOW:
-added function to play DVD's
-some bugs fixed.

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

Cheers, Sharky.

Erazer

What about ' bass_dshow as a bass plugin'  ::)

SoundMike

Looking forward to using this, Sharky. Two intermittent problems I've found with the latest version, both of which usually occur after playing several video files in one session:
  • Sometimes the audio is muted. In a test program I inserted a call to BASS_ChannelGetAttribute to check BASS_ATTRIB_VOL, and it always returns 1 (which would normally be correct), even when no audio is heard.
  • Sometimes the program crashes with a Microsoft Windows message (eg demo.exe has stopped working).

I can't find any pattern with these errors. For example, I have just run the supplied demo.exe, opened one file, and while it was playing, opened a different file. When the second file started playing, there was no audio - but there should have been. I then opened yet another file, and this one started playing with audio. I then decided to try the second file again, and the program crashed. But another time I would have a different sequence of events, so there's no particular sequence I've found that would definitely cause the sound to be muted or the program to fail.

Is there a debug version of demo.exe that could provide you with some info about these problems? I'm testing this under Vista.

Ionut Cristea

Hi. Sorry for late response.

I've uploaded a new version. The bugs that you've mentioned are fixed ;D


+ Added DVD function: nextchapter,previous chapter,title menu and root.

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

Cheers, Sharky.

Ionut Cristea

QuoteWhat about ' bass_dshow as a bass plugin'  Roll Eyes


Currently i have some problems. I hope that  i will finish it soon.

Cheers, Sharky.

Ionut Cristea

BASS_DSHOW 2.4.0.3 is done:

Added:
+BASS_DSHOW_GETERROR:  for better error handling
+BASS_DSHOW_Pause      : to pause a channel
+BASS_DSHOW_SetConfig : BASS_DSHOW settings

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

Cheers, Sharky.

SoundMike

Quote from: Sharky08I've uploaded a new version. The bugs that you've mentioned are fixed ;D

Looking much better, Sharky, but I'm still getting the occasional crash. With demo.exe the program will typically crash at some stage if I keep opening new video files. This sometimes happens after about the 4th or 5th file, but as before, it's not predictable. I also ran my test program, which can play two videos simulataneously to two screens, and sometimes it will crash and other times it will keep going for ages, while I continually change files being played. When the program does crash (whether it be demo.exe or my test program) it's always on opening a new file.

Audio is now fine.

btw, I'm only testing video files, which happen to all be WMV files. I've not tested DVD as I don't need that functionality.

Chris

Hi
 is it with this version possible to open youtube Videos?
Cheers Chris

Ionut Cristea

QuoteHi
 is it with this version possible to open youtube Videos?
Cheers Chris


Currently is not possible to play youtube files with BASS_DSHOW. I will integrate soon this function.

Cheers, Sharky.

SoundMike

Quote from: SoundMikeWhen the program does crash (whether it be demo.exe or my test program) it's always on opening a new file.

Sorry, :( that info was not quite correct. Using my test program I've been able to confirm that when the program does crash it's always on closing a file, not on opening a new file. It is in the call to BASS_DSHOW_ChannelFree that the program sometimes fails.

Ionut Cristea

Ok...i will look at it... Thanks for update.

Cheers, Sharky.

diystar

#137
hi,Sharky

How to download the new version from "http://filezone.ro/public.php?action=viewfile&file_id=21505" ?
Can you send me directly?
my E-mail: wang_zm(at)163.com

thanks

update:Already downloaded

i00

hey this may seem really stupid ... but i am fairly new to BASS I can play a basic file with visualizations (using BASS_SFX) but was just wondering if someone had a test eg for vb.net ... like i said i am a NooB and don't really know where to start with this...

Thanks
Kris

Ionut Cristea

Hi. 
I have fixed the bug when the ChannelFree function is called:
http://filezone.ro/public.php?action=viewfile&file_id=22171

Currently is in progress:
-capture devices support
-play only audio from videos

PS: I'll like to hear from you any ideas to be implemented in BASS_DSHOW