Author Topic: BASS_DSHOW Video Library  (Read 1217907 times)

The Mask

  • Posts: 97
Re: BASS_DSHOW
« Reply #175 on: 25 Dec '09 - 11:24 »
Yep now it works  :D

Is there no help and samples on how it should work?

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #176 on: 26 Dec '09 - 00:16 »
Works ? I can't play or extract sound from avi. It does not work with avi files like bass with *.wav for example  :'(

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #177 on: 26 Dec '09 - 06:49 »
  I will add BASS_Decode flag to BASS_DSHOW that user can extract audio from video.
PS: It has one bug when trying to set position(i will fix it soon).

SoundMike

  • Posts: 369
Re: BASS_DSHOW
« Reply #178 on: 7 Jan '10 - 04:42 »
Sharky,

Can you please provide some documentation for Bass_DSHOW, even if it's just a text file with a list of the function definitions. I've just downloaded the latest version from the megaupload site, and the .rar file contains only the bass_DSHOW.dll - no other files. I tried to use it with my test app and immediately got the error "Can't find DLL entry point BASS_DSHOW_INIT in Bass_DSHOW.dll". I then tried the new dll with your demo program and that fails immediately with a Windows-detected error.

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #179 on: 7 Jan '10 - 10:23 »
Off course...i will add a helpl for bass_ dshow today

praveen

  • Guest
Re: BASS_DSHOW
« Reply #180 on: 11 Jan '10 - 17:43 »
Can you provide the API for Bass_Dshow. Will this API be added to Bass.NET ?

radio42

  • Posts: 4840
Re: BASS_DSHOW
« Reply #181 on: 11 Jan '10 - 17:49 »
Yes, it will be added to BASS.NET - but I am still waiting on a finished API.
There are a still a couple of things to solve first within BASS_DSHOW, like consistent Function naming convention, being a true BASS plug-in etc.

jeffdavis

  • Posts: 297
Re: BASS_DSHOW
« Reply #182 on: 11 Jan '10 - 22:16 »
I currently use BASS_Video as a plugin for a video player.  I would like to switch to something more stable and supportable.  I write in VB6.   From what I can tell this looks pretty good.   It would be nice if there was a central link for the latest code which would include the latest DLL as well as all sample source and demos.

I use the BASS_DECODE flag to decode the audio stream to use with our custome DSP for audio.  Would need to do the same with this plugin too.

Jeff

leo2010

  • Posts: 21
Re: BASS_DSHOW
« Reply #183 on: 13 Jan '10 - 21:52 »
Sharky,

I only see the following four functions in latest c++ bass plugin bass_dshow.dll.
BASS_DSHOW_GETLENGHT
BASS_DSHOW_INIT
BASS_DSHOW_RenderFile
BASS_DSHOW_SETPOSITION

I did not understand how to integrate or use bass_dshow as a plugin with the bass library. Right now bass_dshow looks like an independent component without any dependency on the bass library and we cannot use any of the nice features of bass library. Correct me if I am wrong.

 Instead of providing the source file to bass_dshow_renderfile, is it possible to add api's like BASS_DSHOW_StreamCreateFile, BASS_DSHOW_StreamCreateFileUser, Bass_DSHOW_PLAY and few other functions available in bass library to the bass_dshow c++ plugin..

Thanks a lot for all the effort you have been putting into this plugin.

MB_SOFT

  • Posts: 496
Re: BASS_DSHOW
« Reply #184 on: 14 Jan '10 - 07:24 »
I think you have to sit and wait because sharky is working hard porting bass_dshow as fully bass plugin.

As you can see he sometimes publish a new test version, so the best thing we can do is to test it and report him all the bugs. Bass_dshow is not a fully working bass plugin right now, but probably it will be in the future.
« Last Edit: 14 Jan '10 - 08:06 by MB_SOFT »

jeffdavis

  • Posts: 297
Re: BASS_DSHOW
« Reply #185 on: 14 Jan '10 - 07:44 »
"hardly working"  or do you mean "working hard"   there is a big difference in the meaning.


Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #186 on: 14 Jan '10 - 13:00 »
  BASS_DSHOW is almost a Bass plugin....it have one bug: the application crash when is trying to set the position.

Cheers, Sharky.

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #187 on: 16 Jan '10 - 09:33 »
Hi all...BASS_DSHOW is in finnaly a truely BASS plugin ;D Check the first post for download.

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #188 on: 16 Jan '10 - 10:12 »
every time says error code 41 - can't play the file.. even previous byggy version allowed to play something :)

Which link should we use to download the latest version? Why files dated by year 2008?! Why in your demos you use bass 2.4.0.1 instead 2.4.5.0 ?

Code: [Select]
chan:= BASS_DSHOW_OpenMovie(opendialog1.Files[0]);
  BASS_DSHOW_PLAY;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
BASS_INIT(-1,44100,0,handle,0);
BASS_DSHOW_Init(handle);

Mean it's still does not work like bass plugin  ;D

Code: [Select]
BASS_DSHOW_PLAY; I do not need
Code: [Select]
play I need
Code: [Select]
Bass_StreamCreateFile(FALSE, pchar(FilePath), 0, 0, Bass_Stream_Decode or BASS_UNICODE); to just get sound from movie and save it into wav/mp3wma or any other format...
« Last Edit: 16 Jan '10 - 10:28 by Erazer »

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #189 on: 16 Jan '10 - 10:58 »
Wow...what link did you used? Check the first post for downloading.

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #190 on: 16 Jan '10 - 11:01 »
I' not so stupid  ;) I checked BOTH links (x32) from the first page of topic.

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #191 on: 16 Jan '10 - 11:04 »
 Did you try with demo or demo2 examples?

PS: in the delphi example is never called BASS_DSHOW functions like: BASS_DSHOW_Init(handle);
BASS_DSHOW_PLAY;

BASS_DSHOW_OpenMovie-is not longer a function of BASS_DSHOW since the first time i've begin work at this plugin.
« Last Edit: 16 Jan '10 - 11:07 by Sharky08 »

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #192 on: 16 Jan '10 - 11:08 »
What exactly you mean? Your demos, really play and produce sound, I just tryed to add your dll to my project, and it say can't play.. It seems because of it is not initialized.. But you said it works like bass plugin  ::)

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #193 on: 16 Jan '10 - 11:09 »

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #194 on: 16 Jan '10 - 11:10 »
Ohh,i see.you have downloaded the first version of BASS_DSHOW ???

Download BASS_DSHOW from the first link or this: http://filezone.ro/public.php?action=viewfile&file_id=22752

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #195 on: 16 Jan '10 - 11:18 »
Could you make simple thing... If you say, it works like bass plugin could you make checks if your plugin works with writewav sample ? I just add your dll, select avi file (which is played by your demos) and try to get wav file from it. But do not get anything :)

http://my.jetscreenshot.com/11/20100116-dnqe-150kb

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #196 on: 16 Jan '10 - 11:21 »
No BASS_DSHOW can't create a stream with DECODE flag yet. For now you can use BASS_DSHOW as a bass plugin except extracting audio.

Cheers, Sharky.

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #197 on: 16 Jan '10 - 11:24 »
I will wait, with pleasure  ;)

Ionut Cristea

  • Posts: 1559
Re: BASS_DSHOW
« Reply #198 on: 17 Jan '10 - 08:33 »
 Some new functions to BASS_DSHOW has been implemented. Check the first post for detailes.

Erazer

  • Posts: 441
Re: BASS_DSHOW
« Reply #199 on: 17 Jan '10 - 09:36 »
Please do not forget to inform when it would work like usual bass plugin...  ;)