BASS_DSHOW Video Library

Started by Ionut Cristea,

Ionut Cristea

QuoteWell now you ask and I had to go back and double check why I couldn't use this it reminded me it failed before even getting to how it would report what extensions it supports.
When I do:
BASS_PluginLoad(BASS_DSHOW.dll, 0)

BASS returns error 41 BASS_ERROR_FILEFORM

That is probably the thing to tackle first.

Sorry for the inconvinient ;) You use an old BASS_DSHOW(written in Delphi. I will fix that bug soon). For now i'm coding BASS_DSHOW on Visual C++(with integratet youtube files downloader, some decoders and splitters)

Cheers, Sharky.

chris2009

  Hi. Sharky can you make bass_dshow to have integrated subtitle loader??

Chris.

Ionut Cristea

QuoteHi. Sharky can you make bass_dshow to have integrated subtitle loader??


  Hi Chris..sorry for late response ;D 
Currently i'm working on translate BASS_DSHOW to C++ so i can't implement subtitle loader yet. But thanks for your great sugestion. I'll surely implent.

PS: BASS_DSHOW is currently in beta stage(have some problems with Audio render  )

Cheers, Sharky.

chris2009

Ionut Cristea

#64
 Hi all. BASS_DSHOW(C++ version) is done. I have to thanks RevG for his big contribution in this project.


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

In the zip file you can find a C++ example and Delphi headers.


Cheers, Sharky.

Ionut Cristea

 I've put some functions :
 BASS_DSHOW_SetFullscreen : to set fullscreen movie mode
 BASS_DSHOW_SetWindow    : to set video handle
 BASS_DSHOW_ResizeWindow : to set video when resizing window
C++ Example was updated.

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

Cheers, Sharky.

SoundMike

I've downloaded BASS_DSHOW, Sparky, and I like what I see. :) Unfortunately I'm not well versed in C++ or Delphi - I mainly use VB6. Could you or anyone else convert the necessary code to provide VB6 Declares, structures and anything else that's necessary?

Ionut Cristea

#67
Hi,SoundMike. Here is VB header of BASS_DSHOW(not tested!!)


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

Cheers, Sharky.

SoundMike

Many thanks for the VB header, Sharky. Just some minor corrections required, so I've emailed you an updated file.

Mike

Ionut Cristea

Ionut Cristea

 
Hi all. BASS_DSHOW now is capable to play multiple files.
 New functions added to BASS_DSHOW:
 BASS_DSHOW_Play : the channel can be played with this functions
 BASS_DSHOW_ChannelFree: stop and destroy a channel
 BASS_DSHOW_STOP: stop a channel
 BASS_DSHOW_GETINFO: get video info(width,height etc)

Delphi,C++,VB header files updated.

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

PS: I'm waiting for ideas to implement into BASS_DSHOW.


Cheers, Sharky.

chris2009

  Thanks a lot. It's working great.
An idea:  What do you say about integrated subtitles rendering??

Ionut Cristea

 
QuoteThanks a lot. It's working great.
An idea:  What do you say about integrated subtitles rendering??

 Yes..it's a great idea.

Cheers, Sharky.

Dee99

Hi Sharky, question: if Bass_dshow can play you-tube files does that mean it can play any flash video files?
Thanks for the good work.
Dee99

Ionut Cristea

  Yes...can play any flv files if you have a swf codec installed.

Cheers, Sharky.

SoundMike

Sharky,

I've emailed you another updated VB6 header file to match your latest download functionality. As mentioned in my email, the BASS_DSHOW_SETPOSITION function in your dll is not yet compatible with VB6, due to a VB6 limitation. Also, can you provide a BASS_DSHOW_GETPOSITION function?

Ionut Cristea

Thanks.

QuoteAlso, can you provide a BASS_DSHOW_GETPOSITION function?

Of course...i will release it today.


Cheers, Sharky.

Ionut Cristea

  Hi all.

I've added BASS_DSHOW_GETPOSITION function.

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

Next implementation to BASS_DSHOW:
-support for playing DVD's
-function to get audio buffer
-VMR support
-subtitle support


Cheers, Sharky.

The Mask

If I open movies with AC3 or DTS audio with your demo program I get only noise. Is this kind of audio not supported yet? I have both ffdshow and AC3Filter installed on my pc and they both can play AC3 and DTS.