24 May '13 - 02:11 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 ... 6 7 [8] 9 10 ... 135
  Reply  |  Print  
Author Topic: BASS_DSHOW Video Library  (Read 271878 times)
radio42
Posts: 4012


« Reply #140 on: 5 Dec '09 - 13:12 »
Reply with quoteQuote

@Sharky08:
Let me know when your add-on is ready and a real bass plugin, so that I can add it to BASS.NET.
THX
Logged
Latch
Posts: 89


« Reply #141 on: 5 Dec '09 - 18:27 »
Reply with quoteQuote


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


You got it....

1. Most importantly make it a true bass plugin so that videos can be opened and played with the same bass routines as all other audio files.  We're currently using BassVideo, and for every single call (open, play, pause, setposition, getposition, etc..) we have to compensate for video by making separate routines for every single function.  Basically concentrate on the making the audio work, and then simply add automatic routines to keep the video in synch (such as when tempo is changed).  Once you truly integrate the audio into Bass, you won't ever have to worry about making any additional audio functions as they're all included with bass and its long list of plugins.  The only bass effect that would affect the video would be changing the tempo because obviously you'd need to keep the video in synch).

2. Once it acts like a bass plugin, add other properties to enable 2 separate windows for video as most DJ/KJ apps need one on the main console and one on the secondary display for all to see

3.  For each video (1 and 2), we'd need these properties
   - VideoParentHandle  (can be the handle of a form or a control on a form)
   - DisplaySize (or have it autosize to its parent control)
   - Stretch (when true stretch to fill parent and when false have it keep the original proportions but still fill the parent rectangle and blackout the sides or top and bottom depending on the videos original aspect ratio)
   - VideoSynch (set to zero uses original synch.  setting to negative numbers places video behind audio and positive values set video to be ahead of the audio).  This is needed as some videos don't have the audio and video in perfect synch and allowing the end user to adjust this would be great.  If the value could be in seconds that would be perfect (use single or double values allowing fractions of a second).  No sense in making this property separate for each video as you'd want to do the same to both.  If you truly separate the video from the audio this should be pretty easy at that point.

Planning ahead, you should first map out all the properties and methods you're going to have in the final product and even if you haven't got them all working, and at least send them to radio42 so he can get routines for Bass.Net written.  That way, those of us in the .Net world can at least start playing with it as you're getting the bugs out of it.  Its important not to change the calling methods because everytime you do, he needs to rewrite the Bass.Net to work with it and it creates quite a headache for us who have to then wait for his update as well.  Once you get it working as a true bass plugin and add the properties I mentioned, it really shouldn't be an issue.

I'm sure people could list a hundred little nifty functions but these are the truly needed functions.  If you can get these few basic functions to work perfectly, you could start charging for licensing this plugin and we'd be more than happy to pay it!  AND all of us who were extremely let down by the BassVideo plugin would speak your praises for a long time to come Smiley  Make some money AND be our hero!  ....no pressure Smiley



« Last Edit: 5 Dec '09 - 21:02 by Latch » Logged
SoundMike
Posts: 252


« Reply #142 on: 5 Dec '09 - 22:47 »
Reply with quoteQuote

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

Do you need to recompile and reissue demo.exe? I find that with the new BASS_DSHOW.dll, demo.exe crashes as soon as I start playing a video.

With my test program, recompiled and using the new BASS_DSHOW.dll, I still get crashes on closing a video after the 3rd or 4th video - although sometimes I can run several more videos before a crash occurs. btw, in these tests I always close the video before it ends as they would otherwise run for a couple of minutes or more. Regarding these crashes, a colleague of mine said "it sounds like a resource is being called after it has been closed". Is there a possibility that some playback or buffering callback in the dll is trying to use a resource after the resource has been closed?
Logged
Ionut Cristea
Posts: 1376


« Reply #143 on: 6 Dec '09 - 08:00 »
Reply with quoteQuote

Quote
@Sharky08:
Let me know when your add-on is ready and a real bass plugin, so that I can add it to BASS.NET.
THX


OK
Logged
Ionut Cristea
Posts: 1376


« Reply #144 on: 6 Dec '09 - 08:03 »
Reply with quoteQuote

  Thanks,Latch. I will implement your ideas to BASS_DSHOW.

Quote
Do you need to recompile and reissue demo.exe? I find that with the new BASS_DSHOW.dll, demo.exe crashes as soon as I start playing a video.

With my test program, recompiled and using the new BASS_DSHOW.dll, I still get crashes on closing a video after the 3rd or 4th video - although sometimes I can run several more videos before a crash occurs. btw, in these tests I always close the video before it ends as they would otherwise run for a couple of minutes or more. Regarding these crashes, a colleague of mine said "it sounds like a resource is being called after it has been closed". Is there a possibility that some playback or buffering callback in the dll is trying to use a resource after the resource has been closed?

I've changed some functions so that demo gives errors. I will release new demos today.

Cheers, Sharky.
Logged
Chris2009
Guest
« Reply #145 on: 15 Dec '09 - 16:17 »
Reply with quoteQuote

 Hi Sharky...any news?
Logged
Ionut Cristea
Posts: 1376


« Reply #146 on: 17 Dec '09 - 10:00 »
Reply with quoteQuote

Hi all. BASS_DSHOW X64 version is available. Grin


* BASS_DSHOW X64.zip (33.12 KB - downloaded 11 times.)
Logged
Erazer
Posts: 435


« Reply #147 on: 17 Dec '09 - 10:17 »
Reply with quoteQuote

Cool, but x32 working like a bass plugin is everything I need   Grin
Waht about this  Wink
Logged
Ionut Cristea
Posts: 1376


« Reply #148 on: 17 Dec '09 - 10:29 »
Reply with quoteQuote

Working on it Grin
Logged
frozzie
Posts: 24


« Reply #149 on: 17 Dec '09 - 10:31 »
Reply with quoteQuote

Great!
I'm also waiting for it.

TIA!
Logged
Erazer
Posts: 435


« Reply #150 on: 17 Dec '09 - 10:32 »
Reply with quoteQuote

It seems to me I read that somewhere...  Grin
Logged
Ionut Cristea
Posts: 1376


« Reply #151 on: 17 Dec '09 - 11:03 »
Reply with quoteQuote

 Grin  Yes you did...but i have some problems...
I hope in a week finish it.

Cheers, Sharky.
Logged
SoundMike
Posts: 252


« Reply #152 on: 17 Dec '09 - 12:17 »
Reply with quoteQuote


I hope in a week finish it.

All I want for Christmas...

Grin Kiss Roll Eyes Wink
Logged
Ionut Cristea
Posts: 1376


« Reply #153 on: 17 Dec '09 - 12:19 »
Reply with quoteQuote

  Until then:

New version released:
+New function for A/V sync in realtime Grin
+Some bugs fixed

* BASS_DSHOW.zip (435.59 KB - downloaded 76 times.)
Logged
Ionut Cristea
Posts: 1376


« Reply #154 on: 17 Dec '09 - 12:40 »
Reply with quoteQuote

I've forgot to mention: syncs(position,end etc) can be implemented normally, like to a normal stream.

Cheers, Sharky.
Logged
transporter08
Posts: 1


« Reply #155 on: 20 Dec '09 - 09:37 »
Reply with quoteQuote

Nice work !

But i have 2 questions:
1) Is it possible to process the video stream data before it is sent to the output device (e.g. decrypt a crypted mpg) ?
2) is there a event or something like this which tells the application that video is finished ?

Thanks in advance.
Logged
radio42
Posts: 4012


« Reply #156 on: 20 Dec '09 - 11:09 »
Reply with quoteQuote

@Sharky08:
please check your PM! THX.
Logged
Ionut Cristea
Posts: 1376


« Reply #157 on: 22 Dec '09 - 09:38 »
Reply with quoteQuote

Quote
@Sharky08:
please check your PM! THX.

I've sent to you a PM

Quote
1) Is it possible to process the video stream data before it is sent to the output device (e.g. decrypt a crypted mpg) ?

Currently not.

Quote
2) is there a event or something like this which tells the application that video is finished ?

You can use a sync(set it like a regular BASS stream)
Logged
xtremex_x
Posts: 10


« Reply #158 on: 22 Dec '09 - 21:05 »
Reply with quoteQuote

how to set video window display ratio ?
it would be nice to add a Fucntion and a Flag
like BASS_DSHOW_AUTOSIZE
Logged
Ionut Cristea
Posts: 1376


« Reply #159 on: 23 Dec '09 - 08:38 »
Reply with quoteQuote

Quote
how to set video window display ratio ?
it would be nice to add a Fucntion and a Flag
like BASS_DSHOW_AUTOSIZE

I'll add a function that user can set display ratio.
Logged
Pages: 1 ... 6 7 [8] 9 10 ... 135
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines