|
GygaMan
Posts: 9
|
 |
« Reply #760 on: 4 May '09 - 04:01 » |
Quote
|
Hi' I just like to ask if any one has a little sample on how to load a DVD and play the DVD and would share the code. I don't have any problems on playing MP3, and any other video formats but I just don't get DVD to load or do any think at all  . The sample can be in VB6, C# or VB.Net. Any help is appreciated Thanks Gyga
|
|
|
|
|
Logged
|
|
|
|
|
quickmic
Posts: 251
|
 |
« Reply #761 on: 6 May '09 - 19:14 » |
Quote
|
I could give you the DVD-code, but bassvideo have big problems with audio/video-sync. So it does not make sense for now (I tested only with the "plugin-mode"). If you want it anyway, tell me.
|
|
|
|
|
Logged
|
|
|
|
|
quickmic
Posts: 251
|
 |
« Reply #762 on: 6 May '09 - 19:19 » |
Quote
|
Any progress on BassVideo project?
I also hope so, but kenshin1101's "last active" was on 16th April. So I think he his very busy at the moment.
|
|
|
|
|
Logged
|
|
|
|
|
GygaMan
Posts: 9
|
 |
« Reply #763 on: 6 May '09 - 22:18 » |
Quote
|
Hi quickmic,
Anything that would just give me a view on how to use it would be OK. Hopefully ones all the problems are solve then it would be easy to correct the code.
So yes if you can give any code I appreciated.
Thanks
Gyga
|
|
|
|
|
Logged
|
|
|
|
|
quickmic
Posts: 251
|
 |
« Reply #764 on: 7 May '09 - 08:01 » |
Quote
|
Ok, here is the easiest way to play a DVD: Dim Path As String Call BASS_Init(-1, 48000, 0, Form1.hWnd, 0) 'Init Bass Call BASS_SetConfig(BASS_CONFIG_BUFFER, 1000) PluginHandle = BASS_PluginLoad("bassvideo.dll", 0) Path = "d:\DVD\Shining\" StreamHandle = BASS_StreamCreateFile64(0, Path & "video_ts\VIDEO_TS.IFO", 0, 0, 0, 0, BASS_STREAM_PRESCAN) Call BASS_ChannelPlay(StreamHandle, 0) In case the DVD has a menu, you see it after that routine. Than you can readout the chapters, languages... with BassVideo_DVD_GetAudioLanguage and so on. If the DVD has no menu, the movie starts directly. DVD-Codec is nessesary! And I use this bass-video-version... http://www.un4seen.com/filez/6/bassvideo.dll... but should also work with the "latest stuff"
|
|
|
|
|
Logged
|
|
|
|
|
GygaMan
Posts: 9
|
 |
« Reply #765 on: 7 May '09 - 09:37 » |
Quote
|
Thanks m8.
Now I can star playing with it and see what can be done.
I really appreciated.
Thanks
Gyga
|
|
|
|
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #766 on: 7 May '09 - 09:44 » |
Quote
|
Hello everyone, Sorry. BassVideo project will continue no matter what  Just because i was too tired when back home There something i want to tell is make BassVideo work as "Bass" plugin is work not good & i'm think of make something different: Bass will no more provide the output but still process audio data before it send to the output, i'll lock in to the BassFX to provide all dsp left like tempo,pitch and Beat detect. That will make the BassVideo work correctly. and last thing is i will rewrite write in C++
|
|
|
|
|
Logged
|
|
|
|
|
RevG
Posts: 453
|
 |
« Reply #767 on: 7 May '09 - 14:47 » |
Quote
|
Hello everyone, Sorry. BassVideo project will continue no matter what  Just because i was too tired when back home There something i want to tell is make BassVideo work as "Bass" plugin is work not good & i'm think of make something different: Bass will no more provide the output but still process audio data before it send to the output, i'll lock in to the BassFX to provide all dsp left like tempo,pitch and Beat detect. That will make the BassVideo work correctly. and last thing is i will rewrite write in C++ If you need any help with the C++ side of things just PM me. I will be happy to send you what I have created for my DirectShow Video/BASS filter so far. It's not complete, but it's a start and might help you out.
|
|
|
|
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #768 on: 8 May '09 - 03:58 » |
Quote
|
Thanks RevG 
|
|
|
|
|
Logged
|
|
|
|
|
Latch
Posts: 89
|
 |
« Reply #769 on: 11 May '09 - 15:39 » |
Quote
|
Kenshin,
From now on, when you make a new release, can you take an extra minute and make a second compile for 64 bit as well?
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #770 on: 11 May '09 - 15:46 » |
Quote
|
Kenshin,
From now on, when you make a new release, can you take an extra minute and make a second compile for 64 bit as well?
Thanks
oki  the main reason i rewrite to C++ is x64 & delphi directshow header is not complete
|
|
|
|
|
Logged
|
|
|
|
|
GambitKZ
Posts: 9
|
 |
« Reply #771 on: 16 May '09 - 19:02 » |
Quote
|
I wrote it early, but nobody have answered, and I'm asking again: I ask about analog "BassVideo_EncoderAudio" in Bass.Net, and radio42 wrote The function "BassVideo_EncoderAudio" has actually been removed from the latest BassVideo version - that's why it has also been removed from the BASS.NET API....
And what method to use now for Extract Audio?
|
|
|
|
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #772 on: 16 May '09 - 20:57 » |
Quote
|
I wrote it early, but nobody have answered, and I'm asking again: I ask about analog "BassVideo_EncoderAudio" in Bass.Net, and radio42 wrote The function "BassVideo_EncoderAudio" has actually been removed from the latest BassVideo version - that's why it has also been removed from the BASS.NET API....
And what method to use now for Extract Audio? current version is support to work as bass plugin , you can do like bass write wav example
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #773 on: 17 May '09 - 19:55 » |
Quote
|
HI,Kenshin; You say that you'll translate the bass_video in C++, so now can you post some source code of the library maybe someone will be interesting for developing some new application with your source? Cheers, Sharky.
|
|
|
|
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #774 on: 18 May '09 - 15:51 » |
Quote
|
HI,Kenshin; You say that you'll translate the bass_video in C++, so now can you post some source code of the library maybe someone will be interesting for developing some new application with your source? Cheers, Sharky.
hello, the source is cannot public because C++ code base on Delphi code too much  but i will thinking of give user had buy the bassvideo code, just think 
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #775 on: 19 May '09 - 12:32 » |
Quote
|
Ok. I understand. But can you modify(for me or sameone who think about this) bassvideo.dll(plugin for bass) in this way: remove the lines that show active movie window(use the bassvideo just for audio) because I want to make my own video rendering. I know...i can use the bassvideo(not as a plugin) but that version use more CPU usage than the version "plugin for bass"; I hope that i was clear enough(sorry for my bad english). Thanks in advance and I hope that you will help me in this problem.
|
|
|
|
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #776 on: 21 May '09 - 04:55 » |
Quote
|
Ok. I understand. But can you modify(for me or sameone who think about this) bassvideo.dll(plugin for bass) in this way: remove the lines that show active movie window(use the bassvideo just for audio) because I want to make my own video rendering. I know...i can use the bassvideo(not as a plugin) but that version use more CPU usage than the version "plugin for bass"; I hope that i was clear enough(sorry for my bad english). Thanks in advance and I hope that you will help me in this problem.
you can config to use NULL Renderer, read the documents to know how to config 
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #777 on: 22 May '09 - 17:36 » |
Quote
|
Thanks a lot,kenshin. It works.
|
|
|
|
|
Logged
|
|
|
|
|
GygaMan
Posts: 9
|
 |
« Reply #778 on: 24 May '09 - 05:01 » |
Quote
|
Hi, I just finish a internet radio player with over 3000 Radio channels all over the world and would like to add Video to it by using Bassvideo and BassNet and Bassvideo.BASS_Video_StreamCreateURL, I have spend a while with it but no success. Would be there a small sample in .Net that could get me started? Here is what I', using: ' Bass ConfigBass.BASS_SetConfig(BASSConfig.BASS_CONFIG_BUFFER, 1000) ' Bass InitializationBass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, pnlTV.Handle, Nothing) ' Bass Stream_Stream = BassVideo.BASS_Video_StreamCreateURL("mms://194.158.91.91/Atv", BASSVIDEOFlag.BASSVIDEO_AUTO_RESIZE, BASSFlag.BASS_DEFAULT, Nothing, IntPtr.Zero) ' Check if we have a stream to playIf Not _Stream = Nothing Then Bass.BASS_ChannelPlay(_Stream, False) Else MsgBox("Could not create Stream!", MsgBoxStyle.Information) End IfThanks Gyga BTW. If any one would like to Test GT-iMedia (still beta 2) that I made for the Ipod, Touch and Iphone using Bass, BassVideo, BassCD and BassNet just visit my website @ http://www.gt-imedia.com/.
|
|
|
|
« Last Edit: 24 May '09 - 22:39 by GygaMan »
|
Logged
|
|
|
|
|
kenshin1101
Posts: 543
|
 |
« Reply #779 on: 25 May '09 - 08:44 » |
Quote
|
sorry, but i have no exp on .Net programming 
|
|
|
|
|
Logged
|
|
|
|
|