|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2380 on: 9 Mar '12 - 13:40 » |
Quote
|
That's very strange. What video renderer you use?
|
|
|
|
|
Logged
|
|
|
|
|
Jens
Guest
|
 |
« Reply #2381 on: 9 Mar '12 - 16:43 » |
Quote
|
Hi,
i'm working with windows 7. I don't know about renderer, grahic card driver is GMA driver. Where can i look for it ? The multioutput.exe demo is also crashing. I'm worry to go on testing, because i have to repair windows after the blue screen. I'm working day by day with my computer and never have problems with it. The bassvideo for example makes no problem, but i cannot decode the audio data the way i want. any ideas ?
kind regards Jens
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2382 on: 14 Mar '12 - 10:55 » |
Quote
|
BASS_DSHOW is a fully BASS plugin, so you can use BASS function. For other functions like setting video use xVideo_ChannelSetWindow function
So if I understand this correctly, all I need to do now is load BASS_DSHOW with PLUGINLOAD and then my application should be able to play videos with normal bass_streamcreate? Is that correct?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2383 on: 14 Mar '12 - 11:48 » |
Quote
|
Yes that's correct. Also, with latest BASS_DSHOW uploaded here on site, you'll need bassmix.
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2384 on: 14 Mar '12 - 14:01 » |
Quote
|
Yes that's correct. Also, with latest BASS_DSHOW uploaded here on site, you'll need bassmix.
Ok, I did what you said (import bassmix and bass_dshow) and now the sound of the video plays with no video output window. So I guess there has to be done something more??? E.g. specify a video window somewhere??
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2385 on: 14 Mar '12 - 14:15 » |
Quote
|
Yep a video window should set.
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2386 on: 14 Mar '12 - 14:17 » |
Quote
|
Yep a video window should set.
How?? 'Un4seen.Bass.AddOn.DShow.BassDShow.BASS_DSHOW_Init(frmMain.Handle)' throws an exception (dshow_init not found in bass_dshow.dll).
|
|
|
|
|
Logged
|
|
|
|
|
|
|
bensam56
Posts: 65
|
 |
« Reply #2388 on: 15 Mar '12 - 11:20 » |
Quote
|
Hello Ionut, Check your inbox. Thanks!
Regards, Ben
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2389 on: 15 Mar '12 - 20:44 » |
Quote
|
Using Bass_Dshow from this link gives me a 'incorrect version of Bass_DSHOW loaded. Expected V2.4. This version 0.1'
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2390 on: 16 Mar '12 - 10:20 » |
Quote
|
Just bypass the version checking
|
|
|
|
|
Logged
|
|
|
|
|
DeadIsaac
Posts: 11
|
 |
« Reply #2391 on: 16 Mar '12 - 11:01 » |
Quote
|
@Ionut Cristea hej can you check your inbox i don't know how initalize the bass_dshow and how can i play a video can you help me please  in visual basic 2010 thanks DeadIsaac
|
|
|
|
|
Logged
|
|
|
|
|
ken
Posts: 630
|
 |
« Reply #2392 on: 16 Mar '12 - 20:35 » |
Quote
|
Hi, I cant get "xVideo_STREAM_LOOP" to work. I assume it will loop my video until I call stop. But it only play once and stop. I use like this (mix mode) _chanV1 = xVideo.Functions.xVideo_StreamCreateFile(@"C:\Videos\SD0058.wmv", 0, IntPtr.Zero, xVideo.xVideo_StreamFlags.xVideo_STREAM_MIX | xVideo.xVideo_StreamFlags.xVideo_UNICODE | xVideo.xVideo_StreamFlags.xVideo_STREAM_LOOP | xVideo.xVideo_StreamFlags.xVideo_NOAUDIO_PROC);
xVideo.Functions.xVideo_ChannelPlay(_chanV1);
Any suggerstions? /Ken
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2393 on: 17 Mar '12 - 12:23 » |
Quote
|
Ok, since noone is going to put 5 lines of code together, I am struggling with this for over 2 years now, and there still is no documentation/basic example of how to play a video the right way in vb.net I'm going to post the code I have so far here.
Maybe someone would be so kind to tell me why it is not working?
----------------- Imports Un4seen.Bass Imports Un4seen.Bass.AddOn.Fx
Public class FrmMain
Private Sub FrmMain_Load
initbass 'I put the init in a sub
Bass.BASS_PluginLoad("bass_aac.dll") Bass.BASS_PluginLoad("basswma.dll") Bass.BASS_PluginLoad("bass_fx.dll") Bass.BASS_PluginLoad("bass_ac3.dll") Bass.BASS_PluginLoad("bassmix.dll") Bass.BASS_PluginLoad("bass_dshow.dll")
Un4seen.Bass.AddOn.DShow.BassDShow.BASS_DSHOW_Init(FrmMain.Handle, _ AddOn.DShow.BASSDSHOWInit.BASS_DSHOW_Default) End Sub
Public Sub PlayVideo handles button1.click
PL1 = Bass.BASS_StreamCreateFile("c:\test.m4v", 0, 0, _ BASSFlag.BASS_STREAM_AUTOFREE Or OUTPUT)
Bass.BASS_ChannelPlay(PL1, False) End Class ----------------------------------------------------------------------
I hear sound but see no video.
Please... someone?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2394 on: 17 Mar '12 - 15:16 » |
Quote
|
Those calls seems right. Anyway, for some files you need the right codec, and to be sure that video from mp4/wmv/m4v load BASS_DSHOW before bass_aac/bass_wma addons
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2395 on: 17 Mar '12 - 15:21 » |
Quote
|
Of course I have the right codecs. I can play the files fine with any other solution on my system. I'll give it a try with changing the order.
But what should really happen? Should there be a videowindow popup, or does the video paint to the main form?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2396 on: 17 Mar '12 - 15:24 » |
Quote
|
By default video will play on the form you specified in the BASS_DSHOW_Init, else will play in the video specified with BASS_DSHOW_ChannelSetWindow.
Anyway, in your code , bass_aac will be used first, that's why you hear only audio
|
|
|
|
|
Logged
|
|
|
|
|
smoodilo
Guest
|
 |
« Reply #2397 on: 17 Mar '12 - 16:07 » |
Quote
|
You're right, Putting DSHOW on top of the plugins works. I FINALLY see an image,  yeay!  Now for the next question: Channelsetwindow is not available (anymore) in the bassdshow namespace. It was before. Where can I find it? (Or is this a question for Bernd maybe?)
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #2398 on: 17 Mar '12 - 17:08 » |
Quote
|
(Or is this a question for Bernd maybe?)
I believe it is.
|
|
|
|
|
Logged
|
|
|
|
|
DeadIsaac
Posts: 11
|
 |
« Reply #2399 on: 19 Mar '12 - 18:15 » |
Quote
|
[VB.NET] I have a little problem when i debug my porgramm i got a error incorrect BASSDSHOW version was loaded has anyone a solution.  Thanks DeadIsaac
|
|
|
|
|
Logged
|
|
|
|
|