|
Xire
Posts: 234
|
 |
« Reply #20 on: 20 Jul '09 - 17:27 » |
Quote
|
Well, not that fine  I've got one .mov file. I decoded it and sound was just way to slow. INFO.Freq returned by BASS_DSHOW_GETINFO is 44100, however in reality it's 48000. Update: opening the same file with demo.exe it produces some strange noises 
|
|
|
|
« Last Edit: 20 Jul '09 - 17:32 by Xire »
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #21 on: 20 Jul '09 - 17:33 » |
Quote
|
Well, not that fine Wink I've got one .mov file. I decoded it and sound was just way to slow. INFO.Freq returned by BASS_DSHOW_GETINFO is 44100, however in reality it's 48000.
Update: opening the same file with demo.exe it produces some strange noises Wink I've not try yet mov files. Maybe you can upload that file and i will check it. Cheers, Sharky.
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #22 on: 20 Jul '09 - 18:05 » |
Quote
|
Well, not that fine Wink I've got one .mov file. I decoded it and sound was just way to slow. INFO.Freq returned by BASS_DSHOW_GETINFO is 44100, however in reality it's 48000.
Update: opening the same file with demo.exe it produces some strange noises Wink Yep...the freq that bass_Dshow returned was incorect. If fixed the bug. Try this update: http://filezone.ro/public.php?action=viewfile&file_id=14815Cheers, Sharky
|
|
|
|
|
Logged
|
|
|
|
|
Xire
Posts: 234
|
 |
« Reply #23 on: 20 Jul '09 - 20:47 » |
Quote
|
Huh. Now for some files sample rate is OK, for some not (11250 instead of 48000), for some files I get same exception as previous.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Xire
Posts: 234
|
 |
« Reply #25 on: 21 Jul '09 - 19:43 » |
Quote
|
Worked fine with that mov file. I updated to latest k-lite codec pack as well  As for those exceptions -I guess I'm getting them because directshow was unable to find proper decoder for the file - that's what demo.exe told me. Will continue testing.
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #26 on: 21 Jul '09 - 19:44 » |
Quote
|
Worked fine with that mov file. I updated to latest k-lite codec pack as well Wink As for those exceptions -I guess I'm getting them because directshow was unable to find proper decoder for the file - that's what demo.exe told me. Will continue testing. Thanks  PS: If anyone could translate the BASS_DSHOW header to Visual C++,BASIC or other programming language will be great.
|
|
|
|
|
Logged
|
|
|
|
|
Xire
Posts: 234
|
 |
« Reply #27 on: 21 Jul '09 - 19:47 » |
Quote
|
Btw, are you generating this exception (in case no decoder can be found)? Would be nice to get 0 as a return code, instead  And do you have plans about adding Unicode support? (change string to WideString) 
|
|
|
|
Logged
|
|
|
|
|
Xire
Posts: 234
|
 |
« Reply #28 on: 21 Jul '09 - 19:51 » |
Quote
|
PS: If anyone could translate the BASS_DSHOW header to Visual C++,BASIC or other programming language will be great.
For that you need to change calling method to stdcall, like: procedure BASS_DSHOW_Init(Win: HWND); stdcall; external dll; and change string to PAnsiChar (or PWideChar in case of Unicode)
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #29 on: 21 Jul '09 - 19:52 » |
Quote
|
For that you need to change calling method to stdcall, like:
procedure BASS_DSHOW_Init(Win: HWND); stdcall; external dll;
and change string to PAnsiChar (or PWideChar in case of Unicode) OK. I will do it right now
|
|
|
|
|
Logged
|
|
|
|
|
Xire
Posts: 234
|
 |
« Reply #30 on: 21 Jul '09 - 19:53 » |
Quote
|
Update: Instead of change string to PAnsiChar (or PWideChar in case of Unicode) change to pointer and treat it either as PAnsiChar (or PWideChar in case of Unicode) 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #32 on: 24 Jul '09 - 12:26 » |
Quote
|
GOOD JOB, Sharky.
PS: Can you code bass_dshow to play Youtube files. Will be great. Sorry for my bad english Grin
Yes. I found a way to play youtube files. But (for the moment) when you try to open a youtube, you must wait to download that file to begin playing. Cheers, Sharky.
|
|
|
|
|
Logged
|
|
|
|
|
w3k
Posts: 62
|
 |
« Reply #33 on: 24 Jul '09 - 12:40 » |
Quote
|
Hello! Sharky08 Can open source it? I would like to know how BASS_DSHOW.dll combination of work BASS.dll lcm5151@21cn.com
|
|
|
|
« Last Edit: 24 Jul '09 - 12:45 by w3k »
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #34 on: 24 Jul '09 - 19:05 » |
Quote
|
Hello! Sharky08 Can open source it?
I would like to know how BASS_DSHOW.dll combination of work BASS.dll Contact me at: sharky_boy_07@yahoo.com
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #35 on: 25 Jul '09 - 17:51 » |
Quote
|
Hi. New version of BASS_DSHOW released: +BASS_DSHOW_GetMediaType - function for getting media type +BASS_DSHOW_GETVERSION - to get DLL version Version Now is 2.4(like BASS  ) QUESTION: want somebody the BASS_DSHOW version(a beta version) that play youtube media type??Send me a PM. Remember. You must wait until BASS_DSHOW download youtube media file from internet. DOWNLOAD FROM: http://filezone.ro/public.php?action=viewfile&file_id=15096
|
|
|
|
|
Logged
|
|
|
|
|
Chris2009
Guest
|
 |
« Reply #36 on: 31 Jul '09 - 16:27 » |
Quote
|
QUESTION: want somebody the BASS_DSHOW version(a beta version) that play youtube media type??Send me a PM. Remember. You must wait until BASS_DSHOW download youtube media file from internet. Hi, Sharky. Do you think you can post the DLL here??
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1372
|
 |
« Reply #37 on: 31 Jul '09 - 16:30 » |
Quote
|
Not yet. Momentan i'm trying to make BASS_DSHOW play while downloading a youtube video (currently you must wait until download is finish). Soon it will be done(max. 1 week) 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|