|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1240 on: 26 Nov '10 - 09:15 » |
Quote
|
Another thing with DSHOW is that the screen capture
BassDShow.BASS_DSHOW_ChannelSetOption(stream, BASSDSHOWOption.DSHOW_GETBITMAP, Filename)
the filename just outputs "E" as the filename in the directory folder, rather than "test.bmp" as I specified lol, unless im doing something wrong of course Did you set BASS_UNICODE flag?
|
|
|
|
|
Logged
|
|
|
|
|
smodilo
Posts: 46
|
 |
« Reply #1241 on: 26 Nov '10 - 09:48 » |
Quote
|
xVideo is fully rewritten version of BASS_DSHOW, and also have many improvements. The new BASS_DSHOW it will be based on xVideo and it will have same functionalities as xVideo and also it will work with BASS.
Sounds promising. Can't wait!! But please focus on stability over added functionality this time.
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1242 on: 26 Nov '10 - 10:05 » |
Quote
|
Sounds promising. Can't wait!! But please focus on stability over added functionality this time. All new functionalities from xVideo work great. You may test it and if you found any bug please report it 
|
|
|
|
|
Logged
|
|
|
|
|
smodilo
Posts: 46
|
 |
« Reply #1243 on: 26 Nov '10 - 10:57 » |
Quote
|
All new functionalities from xVideo work great. You may test it and if you found any bug please report it  I need to test it with bass of course. So I have to wait for the dll. What is your plan? Will it be called Xvideo from now on? Or will you rename it? Can I use the xvideo.dll supplied in the sample? Or maybe rename it to dshow.dll?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1244 on: 26 Nov '10 - 11:16 » |
Quote
|
I need to test it with bass of course. So I have to wait for the dll. What is your plan? Will it be called Xvideo from now on? Or will you rename it? Can I use the xvideo.dll supplied in the sample? Or maybe rename it to dshow.dll? No,no xVideo and BASS_DSHOW it will be 2 separate libraries. Of course the BASS_DSHOW it will rely on xVideo(that it will be linked statically on BASS_DSHOW). Meaning whenever a new version of xVideo appear BASS_DSHOW it will have same functionality like xVideo.
|
|
|
|
|
Logged
|
|
|
|
|
smodilo
Posts: 46
|
 |
« Reply #1245 on: 26 Nov '10 - 12:32 » |
Quote
|
No,no
xVideo and BASS_DSHOW it will be 2 separate libraries. Of course the BASS_DSHOW it will rely on xVideo(that it will be linked statically on BASS_DSHOW). Meaning whenever a new version of xVideo appear BASS_DSHOW it will have same functionality like xVideo.
I see, guess I just have to be patient then...
|
|
|
|
|
Logged
|
|
|
|
|
Alpha_
Posts: 70
|
 |
« Reply #1246 on: 26 Nov '10 - 16:11 » |
Quote
|
Hello,
xVideo is very good. So I can propose to start a new topic for it and keep this one for bass_dshow.
can you provide the API documentation for xVideo ?
Thank
|
|
|
|
|
Logged
|
|
|
|
|
Astro29
Posts: 179
|
 |
« Reply #1247 on: 27 Nov '10 - 01:07 » |
Quote
|
Another thing with DSHOW is that the screen capture
BassDShow.BASS_DSHOW_ChannelSetOption(stream, BASSDSHOWOption.DSHOW_GETBITMAP, Filename)
the filename just outputs "E" as the filename in the directory folder, rather than "test.bmp" as I specified lol, unless im doing something wrong of course Did you set BASS_UNICODE flag? no, but even with the flag it is just returning the first letter of the filename string in the current directory the dll resides in
|
|
|
|
|
Logged
|
|
|
|
|
Astro29
Posts: 179
|
 |
« Reply #1248 on: 27 Nov '10 - 01:12 » |
Quote
|
but, doesn't matter, if you're making the new BASS_DSHOW, i will wait for the DLL  cant wait and I'm not criticising your work sharky either, you're doing a great job 
|
|
|
|
|
Logged
|
|
|
|
|
Astro29
Posts: 179
|
 |
« Reply #1249 on: 1 Dec '10 - 12:27 » |
Quote
|
Any developments? lol. A new BASS_DSHOW would make a great christmas present 
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1250 on: 1 Dec '10 - 13:12 » |
Quote
|
Any developments? lol. A new BASS_DSHOW would make a great christmas present Wink I think i can give a such a Christmas present 
|
|
|
|
|
Logged
|
|
|
|
|
Astro29
Posts: 179
|
 |
« Reply #1251 on: 1 Dec '10 - 22:58 » |
Quote
|
I think i can give a such a Christmas present  o0o0oo nice lol 
|
|
|
|
|
Logged
|
|
|
|
|
fmcoder
Posts: 386
|
 |
« Reply #1252 on: 2 Dec '10 - 13:37 » |
Quote
|
Sharky, why don't you use EVR renderer in your xVideo library? It provides much better quality than VMR9. Another question, if I set renderer to "VMR9" and it's not supported by system, will it fall back to VMR7 and below? Or, playback will just fail?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1253 on: 2 Dec '10 - 13:46 » |
Quote
|
Sharky, why don't you use EVR renderer in your xVideo library? It provides much better quality than VMR9. Another question, if I set renderer to "VMR9" and it's not supported by system, will it fall back to VMR7 and below? Or, playback will just fail? EVR renderer it will be supported soon in xVideo. If for example VMR9 renderer is not supported by system, the answer is yes...it will fallback to VMR7 and if the last one is not available also it will use the Default Video renderer. Also xVideo will be able to use the new Media Foundation Framework.
|
|
|
|
« Last Edit: 3 Dec '10 - 13:00 by Sharky08 »
|
Logged
|
|
|
|
|
Ghosty
Guest
|
 |
« Reply #1254 on: 3 Dec '10 - 13:00 » |
Quote
|
EVR renderer it will be supported soon in xVideo. If for example VMR9 renderer is not supported by system, the answer is yes...it will fallback to VMR7 and if the last one is not available also it will use the Default Video renderer. Also xVideo will be able to use the new Media Foundation Framework. What is media foundation ?
|
|
|
|
|
Logged
|
|
|
|
|
smodilo
Posts: 46
|
 |
« Reply #1255 on: 3 Dec '10 - 14:36 » |
Quote
|
... Please help me out with the .NET code:
in the Form_load event I do:
BassDShow.LoadMe("BASS_DSHOW.dll") BassDShow.BASS_DSHOW_Init(VideoScreen1.VideoBoxClips1.Handle)
Then the user selects a file and when he pressses play I do:
BassDShow.BASS_DSHOW_SetConfig(BASSDSHOWConfig.BASS_DSHOW_USEVMR, False) STREAM_MAIN2 = BassDShow.BASS_DSHOW_StreamCreateFile(filename, BASSFlag.BASS_DEFAULT) BassDShow.BASS_DSHOW_ChannelSetWindow(STREAM_MAIN2, VideoScreen1.VideoBoxClips2.Handle)
...and then of course "play". I have two videowindows. So I have to choose the window during streamcreate (not in the init during startup)
is this the correct way? Because I get a strange "corruption of the heap space" error
Everything worked (sort of) a few months ago.
Am I overlooking something?
|
|
|
|
« Last Edit: 3 Dec '10 - 14:51 by smodilo »
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1256 on: 4 Dec '10 - 12:16 » |
Quote
|
... Please help me out with the .NET code:
in the Form_load event I do:
BassDShow.LoadMe("BASS_DSHOW.dll") BassDShow.BASS_DSHOW_Init(VideoScreen1.VideoBoxClips1.Handle)
Then the user selects a file and when he pressses play I do:
BassDShow.BASS_DSHOW_SetConfig(BASSDSHOWConfig.BASS_DSHOW_USEVMR, False) STREAM_MAIN2 = BassDShow.BASS_DSHOW_StreamCreateFile(filename, BASSFlag.BASS_DEFAULT) BassDShow.BASS_DSHOW_ChannelSetWindow(STREAM_MAIN2, VideoScreen1.VideoBoxClips2.Handle)
...and then of course "play". I have two videowindows. So I have to choose the window during streamcreate (not in the init during startup)
is this the correct way? Because I get a strange "corruption of the heap space" error
Everything worked (sort of) a few months ago.
Am I overlooking something?
Sorry but i don't understand, can be more specific please. What is media foundation ? Media foundation is the successor of DirectShow framework. You can read more here: http://msdn.microsoft.com/en-us/library/ms694197%28VS.85%29.aspx
|
|
|
|
|
Logged
|
|
|
|
|
smodilo
Posts: 46
|
 |
« Reply #1257 on: 6 Dec '10 - 19:03 » |
Quote
|
Sorry but i don't understand, can be more specific please.
Never mind I'll wait for the new release. It's christmas soon, isn't it  Just wanted to play a video but I can't get it to work anymore. I just read that Media Foundation is not compatible with vb.net. Please keep your new dll compatible.
|
|
|
|
|
Logged
|
|
|
|
|
Astro29
Posts: 179
|
 |
« Reply #1258 on: 6 Dec '10 - 22:26 » |
Quote
|
I also read it isn't compatible 
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1374
|
 |
« Reply #1259 on: 7 Dec '10 - 07:26 » |
Quote
|
Quote Sorry but i don't understand, can be more specific please. Never mind I'll wait for the new release. It's christmas soon, isn't it Grin Just wanted to play a video but I can't get it to work anymore. Quote Media foundation is the successor of DirectShow framework. You can read more here: http://msdn.microsoft.com/en-us/library/ms694197%28VS.85%29.aspxI just read that Media Foundation is not compatible with vb.net. Please keep your new dll compatible. Why is not compatible with VB.NET? Note that i will integrate in BASS_DSHOW(written in C++), and then i will provide the necesary API.
|
|
|
|
|
Logged
|
|
|
|
|