22 May '13 - 03:21 *
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 ... 122 123 [124] 125 126 ... 135
  Reply  |  Print  
Author Topic: BASS_DSHOW Video Library  (Read 271448 times)
quickmic
Posts: 248


« Reply #2460 on: 14 May '12 - 07:18 »
Reply with quoteQuote

Thx for removing the buffer-settings
Logged
smoodilo
Guest
« Reply #2461 on: 14 May '12 - 09:58 »
Reply with quoteQuote

With this DLL I get an enormous latency between audio and video (of up to a second or more).

... and 2 more issues:

1.
I am trying to detect the ending of a video so I can properly dispose off all resources and start a new one.
Since AutoFree is not supported by DSHOW (errror) I am trying to set a SyncProc with BASSSync.BASS_SYNC_END. But this also doesn't work with DSHOW. The sync is never called.


2.
If I do this:
.....
Bass_ChannelCreate
Bass_ChannelPlay
.....
the video doesn't start most of the time. This is because ChannelCreate returns before the video is properly created.

So if I do it like this:
-----
Bass_ChannelCreate
sleep(1000)
Bass_ChannelPlay
-----
then it works.

This is also the problem with IsChannelActive. If I call it too soon after ChannelCreate the returned state is not correct.
Isn't it possible to make ChannelCreate check if the video is created properly, before returning?









Logged
subh
Posts: 153


« Reply #2462 on: 16 May '12 - 05:02 »
Reply with quoteQuote

hello
Ionut, I told you how to change color control in xVideo.dll Huh but you not responce Sad
please update xVideo vb6 module, need your help

yours ever subh
thank you Smiley
Logged
subh
Posts: 153


« Reply #2463 on: 20 May '12 - 15:55 »
Reply with quoteQuote

hello
      All my xVideo friends, need xVideo module for xVideo.dll(vb6) please download link.
and visulalization plug-ins. thank you Smiley

regards subh
Logged
subh
Posts: 153


« Reply #2464 on: 20 May '12 - 16:14 »
Reply with quoteQuote

Hi
   Ionut,
xVideoVis is a xVideo addon that will allow loading audio visualization plugins. For the
moment only sonique visualizations for my xVideo player.


need your help Ionut
thanks,

xVideoVis Addon
Logged
Ionut Cristea
Posts: 1374


« Reply #2465 on: 20 May '12 - 20:27 »
Reply with quoteQuote

 I will make a xVideoVis VB6 wrapper and send you over email Smiley
Logged
bensam56
Posts: 65


« Reply #2466 on: 22 May '12 - 04:28 »
Reply with quoteQuote

Hello Ionut, waiting for your reply. Plz check ur inbox.
Logged
HarryHar
Posts: 135


« Reply #2467 on: 30 May '12 - 22:53 »
Reply with quoteQuote

Hi,

I tried the .Net Demo on a Windows 7 machine and I don't hear any audio, the video is playing. When I try the Demo on a Windows XP machine all is working fine. Am I doing something wrong?
Logged
Astro29
Posts: 179


« Reply #2468 on: 30 May '12 - 23:53 »
Reply with quoteQuote

Probably audio codecs on the Windows 7 machine
Logged
swakke
Posts: 5


« Reply #2469 on: 31 May '12 - 07:21 »
Reply with quoteQuote

What about playing a video on a second monitor?
This is still not working with bassdshow
Logged
smoodilo
Guest
« Reply #2470 on: 31 May '12 - 08:16 »
Reply with quoteQuote

What about playing a video on a second monitor?
This is still not working with bassdshow

Yes, that's working. Create a second stream with ChannelAddWindow.

But caution:
You can NOT drag a window from one monitor tot another. BassDshow will hang.



Logged
smoodilo
Guest
« Reply #2471 on: 31 May '12 - 08:18 »
Reply with quoteQuote

Can anybody show me a code-example on StreamCreateUrl with DSHOW?
I am not able to stream a video.
Logged
swakke
Posts: 5


« Reply #2472 on: 31 May '12 - 09:28 »
Reply with quoteQuote

ChannelAddWindow always gives me a result of Zero

Dim bs As New System.IntPtr(Form1.pb1.Handle.ToInt32)   --the handle for the main form with preview picturebox on first monitor
Dim bsFullScreen As New System.IntPtr(FullScreen.pb1.Handle.ToInt32)  --the handle for the fullscreen form with full picturebox on second monitor
Dim a As Integer
StreamHandle = BassDShow.BASS_DSHOW_StreamCreateFile(filename, 0, bs, BASSFlag.BASS_DEFAULT)  --stream creates perfect and works on first monitor
a = BassDShow.BASS_DSHOW_ChannelAddWindow(StreamHandle, bsFullScreen)   --a gives zero, so no output on second screen

what's wrong?Huh
Logged
smoodilo
Guest
« Reply #2473 on: 31 May '12 - 09:41 »
Reply with quoteQuote

ChannelAddWindow always gives me a result of Zero

Dim bs As New System.IntPtr(Form1.pb1.Handle.ToInt32)   --the handle for the main form with preview picturebox on first monitor
Dim bsFullScreen As New System.IntPtr(FullScreen.pb1.Handle.ToInt32)  --the handle for the fullscreen form with full picturebox on second monitor
Dim a As Integer
StreamHandle = BassDShow.BASS_DSHOW_StreamCreateFile(filename, 0, bs, BASSFlag.BASS_DEFAULT)  --stream creates perfect and works on first monitor
a = BassDShow.BASS_DSHOW_ChannelAddWindow(StreamHandle, bsFullScreen)   --a gives zero, so no output on second screen

what's wrong?Huh


I do it like this (In .NET):

'in the Form_Load event:
BassDShow.BASS_DSHOW_Init(FrmMain.preview.Handle, AddOn.DShow.BASSDSHOWInit.BASS_DSHOW_Default)


..And when I create a stream:

STREAM1 = BASS_StreamCreateFile(videofile, 0, 0, OUTPUT)
BassDShow.BASS_DSHOW_ChannelAddWindow(STREAM1, frmVideo.Stream1Video.Handle)



So in my case the preview window is set-up in the INIT, and the output video on the second monitor is added when creating the stream.



Logged
swakke
Posts: 5


« Reply #2474 on: 31 May '12 - 13:38 »
Reply with quoteQuote

Tried your solution, but still no output the FullScreen form
If i do it reverse (INIT on second form and channeladdwindow on preview form) I got video to second form but no output to the preview form.
Logged
smoodilo
Guest
« Reply #2475 on: 31 May '12 - 14:38 »
Reply with quoteQuote

Tried your solution, but still no output the FullScreen form
If i do it reverse (INIT on second form and channeladdwindow on preview form) I got video to second form but no output to the preview form.


Do you have audio but a black screen?

I have that same issue when using ChannelSetWindow. The only thing that works for me is ChannelAddWindow.

I have reported this to Ionut 2 or 3 weeks ago and am waiting for an answer.


Logged
swakke
Posts: 5


« Reply #2476 on: 1 Jun '12 - 07:20 »
Reply with quoteQuote


smoodilo

STREAM1 = BASS_StreamCreateFile(videofile, 0, 0, OUTPUT)
what is the OUTPUT parameter???
Logged
smoodilo
Guest
« Reply #2477 on: 1 Jun '12 - 10:00 »
Reply with quoteQuote


smoodilo

STREAM1 = BASS_StreamCreateFile(videofile, 0, 0, OUTPUT)
what is the OUTPUT parameter???

That's just the speaker assignment flag.
Logged
swakke
Posts: 5


« Reply #2478 on: 1 Jun '12 - 12:44 »
Reply with quoteQuote

Ionut,

a question about registration.
You have sended me the registration code and the dll attached.
Registration works and no popup is shown.
This new dll however have a delay with the sound.
If I go to a previous version and try to register with my registration code, it still give's me the popup.
Is the registration related to the dll that you have sended?
Logged
smoodilo
Guest
« Reply #2479 on: 4 Jun '12 - 13:38 »
Reply with quoteQuote

Can anybody please explain to me how to stream a video with StreamCreateUrl?
Thanks!
Logged
Pages: 1 ... 122 123 [124] 125 126 ... 135
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines