View Full Version : ffdshow tryouts project: Discussion & Development
Sebastiii
19th November 2009, 10:09
Hi, it's the same sample i use, in MPC it crash too.
I must use Graphstudio - MPC source gabest - ffdshow audio - arcsoft rendere on Xonar.
I didn't use video only sound but both works too :)
Seb.
Sebastiii
19th November 2009, 10:12
Hi again,
a new build (http://www.mediafire.com/file/jzu2gyzget4/ffdshow_rev3128_20091119_dbt_bitstream_beta39.exe) with a fix on the time periods.
Seb, I will also send you an updated version of the dumper with traces of the timestamps.
With this I will be able to correct those timestamps if this new build does not fix them
Hi and Great :) i will try it :)
I no receive new dumper for now, but i hope i will receive it quickly lol :)
Seb.
Skinleech
19th November 2009, 10:31
Hi, it's the same sample i use, in MPC it crash too.
I must use Graphstudio - MPC source gabest - ffdshow audio - arcsoft rendere on Xonar.
I didn't use video only sound but both works too :)
Seb.
Ah, thanks Seb. That will no use to me then seeing as i can't get the Arcsoft renderer to show up in Graphstudio. Great to know that sound works, I might kust try and make my own m2ts sample from an HD-DVD and see if that works.
Looking forward to the new build albain - efficient work as always. Thank you.
albain
19th November 2009, 10:55
Hi and Great :) i will try it :)
I no receive new dumper for now, but i hope i will receive it quickly lol :)
Seb.
I have sent it to you by email. I have just PM too
Sebastiii
19th November 2009, 11:09
Yes, i have receive it just after my post lol and i send you log :)
Big Thx :)
Seb.
Gleb Egorych
19th November 2009, 12:26
Just for info: new ForceWare 195.55 broke NV12 support for some files. Output using NV12 is wrong with different codecs including ffdshow.
rudiev
19th November 2009, 12:38
You need to enable VC-1 in ffdshow first (on the Codecs page in the settings).
Win7DSFilterTweaker only shows ffdshow as an option when ffdshow is configured to decode that a/v format.
This is it, nog graphstudio shows that the ffdshow is used.
:thanks::thanks:
I can't reboot now to test, megui is busy for the rest of the day, but allthought graphstudio shows that ffdshow is used with that VC-1 movie, i still can't get it to load in avisynth, i still got the error "Avisynth script error: DirectShowSource: Timeout waiting for graph to start.".
Maybe this is solved after a reboot, or is this an other problem? As far as i know avisynth should be able to open vc-1 movies, right? I only use the following line in the avs script:
DirectShowSource("X:\directory\file001.m2ts", fps=23.976, audio=false, convertfps=true)
*Post edited to meet forum rules.*
madshi
19th November 2009, 13:51
To Madshi : it seems that the extra bytes we discussed about between the IEC header and the DTS-HD stream are fixed but different between DTS-HD HR and DTS-HD MA
So how to make the distinction between a MA and a HR stream ?
I'd suggest to check out the BDInfo source code. The BDInfo author got help from me to identify MA vs. HR and his code is already C++, so his code should be the easiest way for you to solve this.
albain
19th November 2009, 15:14
@madshi : Great, thanks I will check this out
@All : here is an updated build (http://www.mediafire.com/file/mkzzvmjtymu/ffdshow_rev3128_20091119_dbt_bitstream_beta40.exe) with the correct timestamps
Sebastiii
19th November 2009, 15:21
:)
Great, i'll test it, what log you want to help you ?
I think i'll made graphstudio and dumper :)
Seb.
albain
19th November 2009, 15:24
:)
Great, i'll test it, what log you want to help you ?
I think i'll made graphstudio and dumper :)
Seb.
No log, just your "ears", because I have just changed the timestamps
rudiev
19th November 2009, 15:25
You need to enable VC-1 in ffdshow first (on the Codecs page in the settings).
Win7DSFilterTweaker only shows ffdshow as an option when ffdshow is configured to decode that a/v format.
This is it, nog graphstudio shows that the ffdshow is used.
:thanks::thanks:
, i still can't get it to load in avisynth, i still got the error "Avisynth script error: DirectShowSource: Timeout waiting for graph to start.".
Found the solution:
Change splitter for .m2ts files. Startmenu -> programs -> k-lite codec pack -> configuration -> manage preferred source filters -> scroll to .m2ts files and choose Haali.
Avisynth should now be able to .m2ts with VC-1 encoding fine. The avs script editor from megui worked fine now.
Sebastiii
19th November 2009, 15:47
Hi,
For Xonar.
Eac3 -> Ok on avr but i must confirm sound
DTSHR -> Ok on avr but i must confirm sound
DTSMA -> NOK on AVR
TrueHD -> NOK on AVR
I think it play better but i'm not @ home lol so i can more tonight :).
For ATI i must made test :)
Thx,
Seb.
SamuriHL
19th November 2009, 15:51
As soon as it downloads I'll give it a shot.
Skinleech
19th November 2009, 15:54
I'll be home early today, so will test this in about 30 mins.
It's very handy living a 10 mins walk from work :)
SamuriHL
19th November 2009, 16:15
DTS-HD MA lights are on with ATI renderer, but, no audio. Video was frozen. Eventually receiver switched to no audio signal and the video continued normally.
With DirectSound renderer, same with little pops of sound here and there.
ArcSoft renderer nothing. No audio to the receiver at all. Same as before.
Cyberlink renderer LPCM complete static.
Waveout pretty DTS-HD MA light, no audio.
Skinleech
19th November 2009, 16:36
My results were not good.
DTS-HD MA in m2ts: played as DTS
DTS-HD MA in mkv: DTS-HD MSTR lights came on, slow video, no sound.
TrueHD: Either light came on but no sound, light came on and video froze, or no lights, frozen video & my AVR read stereo (tried 3 different THD m2tst files).
Let me know if you need logs.
tetsuo55
19th November 2009, 16:42
assume logs are needed
albain
19th November 2009, 16:47
The problem is that the expected implementation on the xonar is probably different for the ATI.
The upcoming PDVD version will help to figure out what has to be done (hoping the dumper will work too). Does someone know the GUID of the PDVD renderer by the way ?
Sebastiii
19th November 2009, 17:26
I don't know if it's the good but Version 9 :
{1962C876-C8F7-4474-9C46-BCFB23BDB516}
Seb.
mrcorbo
19th November 2009, 20:38
The (current) PowerDVD 9 audio renderer seems quite content to accept bitstream input regardless of whether it is capable of making the hardware transmit it properly. It is quite happy to attempt to send bitsream data generated by ffdshow through the standard audio pathway (including the Windows mixer) on my system. The audible result is not pleasant....
buletti
19th November 2009, 20:49
I tested the recent build with my Xonar and the ArcSoft renderer. Results were:
Dolby True HD:
Video did not play at all and there was no sound output. During playback the receiver recognized a THD signal with wrong channel settings and volume offset values.
THD (http://img525.imageshack.us/img525/9140/thd.jpg)
Dolby Digital Plus:
Video played with half of the original frame rate (12 instead of 24 fps) and although the receiver recognized the stream correctly, there was no audio output.
DD+ (http://img405.imageshack.us/img405/9596/ddplus.jpg)
DTS HD HR:
Video and audio was fine but the receiver got the DTS core only.
albain
20th November 2009, 09:37
I a little stuck rigth now (but this is not the first time lol)
EAC3 work with the xonar with ffdshow+arcsoft renderer
I can make it work for DTSHD (HR or master audio) with the same config by analyzing the dumper logs of Sebastii
For TrueHD this is more complicated as I don't have the exact rule between TrueHD frames : each frame is separated by a variable number of zeros.
@Madshi : the docs I provided you explain that each MLP frame should be spaced by 15360 IEC 60958 frames (IEC 60958 frame = uncompressed frame), which means AFAIU that for all the compressed formats the docs think in uncompressed frames and that we have to translate the MLP frame rate in uncompressed frame rate). But which frame rate (each MLP frame has a different rate and non major frames don't hold any information about that I think.
Anyway it is said in the doc that frames should be spaced by 15360 frames between the middle of 2 consecutive MLP frames
If you have an idea of how to understand this doc (the MLP doc and the generic ones that explain IEC 60958) that will help me a lot
Otherwise the upcoming version of PowerDVD (compatible with radeon 5xxx) might help to solve this mess.
madshi
20th November 2009, 10:27
@Madshi : the docs I provided you explain that each MLP frame should be spaced by 15360 IEC 60958 frames (IEC 60958 frame = uncompressed frame), which means AFAIU that for all the compressed formats the docs think in uncompressed frames and that we have to translate the MLP frame rate in uncompressed frame rate). But which frame rate (each MLP frame has a different rate and non major frames don't hold any information about that I think.
Anyway it is said in the doc that frames should be spaced by 15360 frames between the middle of 2 consecutive MLP frames
If you have an idea of how to understand this doc (the MLP doc and the generic ones that explain IEC 60958) that will help me a lot
I don't have much time right now. But the "frame rate" should be identical for any major and non-major frame. Basically for 44.1khz and 48khz every frame (major and non-major) contains exactly 40 LPCM audio samples. For 88.2khz and 96khz every frame contains 80 LPCM audio samples. For 176.4khz and 192khz every frame contains 160 LPCM audio samples.
Sebastiii
20th November 2009, 10:29
Hi :)
If you want more log, i'm here :)
So yesterday, i have tested this (but i want to reconfirm) if i uncheck AC3 DTS-HD DD+ in ffdshow etc. and i play the stream, the result is not good (sound cut) maybe timing ?
But i must remake test in front of my AVR lol.
Thx,
Seb.
SamuriHL
20th November 2009, 15:26
The 9.11 driver really screwed up my machine. Probably to the point where I'm going to have to reinstall windows. To say I'm a bit unhappy is putting it mildly. I'm going to attempt to go back to 9.10 first, but, I'm not exactly hopeful. This is just not a good week.
Jeff Flowerday
20th November 2009, 15:52
The 9.11 driver really screwed up my machine. Probably to the point where I'm going to have to reinstall windows. To say I'm a bit unhappy is putting it mildly. I'm going to attempt to go back to 9.10 first, but, I'm not exactly hopeful. This is just not a good week.
How? 9.11 has been a god send for my 5750.
SamuriHL
20th November 2009, 16:06
How? 9.11 has been a god send for my 5750.
On my main HTPC, when installing 9.11 the driver crashes and windows is forced to reload the driver in memory. At that point, after rebooting, CCC no longer works at all. I've tried several times to reinstall it and it fails. Someone else I know is NEVER able to update the Cat drivers at all. He always has to reinstall windows in order to get a new driver version installed. To say I'm not impressed with the driver installation quality is a severe understatement.
mrcorbo
20th November 2009, 16:40
On my main HTPC, when installing 9.11 the driver crashes and windows is forced to reload the driver in memory. At that point, after rebooting, CCC no longer works at all. I've tried several times to reinstall it and it fails. Someone else I know is NEVER able to update the Cat drivers at all. He always has to reinstall windows in order to get a new driver version installed. To say I'm not impressed with the driver installation quality is a severe understatement.
Try DriverSweeper (http://www.guru3d.com/category/driversweeper/) before going as far as re-installing windows.
Boot into safe-mode (assuming you can), uninstall the drivers through the Windows add/remove programs control panel and then run DriverSweeper to clean out the rest of the junk. After a re-boot, you should then be able to re-install the 9.11 drivers and hopefully everything is back to normal.
SamuriHL
20th November 2009, 16:59
I'm trying it now. We'll see how well this goes. Definitely not the best of weeks for me.
SamuriHL
20th November 2009, 17:05
And it did not help at all. But thanks for the suggestion. I'm convinced the 9.11 driver just plain sucks.
Cheesegeezer
20th November 2009, 17:13
On my main HTPC, when installing 9.11 the driver crashes and windows is forced to reload the driver in memory. At that point, after rebooting, CCC no longer works at all. I've tried several times to reinstall it and it fails. Someone else I know is NEVER able to update the Cat drivers at all. He always has to reinstall windows in order to get a new driver version installed. To say I'm not impressed with the driver installation quality is a severe understatement.
I have had similar issue, my work around was to extract the .exe using 7zip and install the audio driver thru the device manager. Worked a treat.
albain
20th November 2009, 17:16
I don't have much time right now. But the "frame rate" should be identical for any major and non-major frame. Basically for 44.1khz and 48khz every frame (major and non-major) contains exactly 40 LPCM audio samples. For 88.2khz and 96khz every frame contains 80 LPCM audio samples. For 176.4khz and 192khz every frame contains 160 LPCM audio samples.
Okay I have found (man I hate assembler code...)
The number of zeros are added according to : the system time, the input time, and the length of the mat frame
So one should know the time duration of a MAT block and add IEC 60958 frame (so a given number of zeros, but how many ?) so that it matches the duration. So this is totally dynamic
SamuriHL
20th November 2009, 17:23
I have had similar issue, my work around was to extract the .exe using 7zip and install the audio driver thru the device manager. Worked a treat.
Yea, well, I'm done screwing around now. 9.10 won't work now, either. So whatever 9.11 did, dirversweeper can't undo. Time for a hybrid upgrade/migration install. Don't ask. You don't want to know what I'm about to do to that poor machine. :)
albain, any progress at all? Clearly I'm going to be down for a while today so no testing from me. EDIT: Uh, nevermind. Just saw your post.
Sebastiii
20th November 2009, 17:24
oupps :) it was difficult to implemente :( right ?
hard hard,
Seb.
SamuriHL
20th November 2009, 17:29
Okay I have found (man I hate assembler code...)
The number of zeros are added according to : the system time, the input time, and the length of the mat frame
So one should know the time duration of a MAT block and add IEC 60958 frame (so a given number of zeros, but how many ?) so that it matches the duration. So this is totally dynamic
Good Lord. That's insane!
Thunderbolt8
20th November 2009, 18:51
Try DriverSweeper (http://www.guru3d.com/category/driversweeper/) before going as far as re-installing windows.
Boot into safe-mode (assuming you can), uninstall the drivers through the Windows add/remove programs control panel and then run DriverSweeper to clean out the rest of the junk. After a re-boot, you should then be able to re-install the 9.11 drivers and hopefully everything is back to normal.perhaps drive cleaner .NET works
SamuriHL
20th November 2009, 18:54
Nothing worked. I just finally broke down and reinstalled windows. It's not a clean install but the method I use has been tested by someone with worse Cat driver install problems than I have an it always works. Once my settings are restored (momentarily) I'll reinstall the Cat 9.11 driver and go from there. So not happy. Also, still no confirmation that new users are getting an updated PDVD9 build yet, so, who knows if that made it out the door or not. The patch for existing users is scheduled for next Friday...hopefully.
SamuriHL
20th November 2009, 19:11
I'll try to restrain myself. I just spent all that time reinstalling windows. And I have the same problem. ATI is not making me happy. At all. Until I get this straightened out I don't think I'll be testing anything. :(
SamuriHL
20th November 2009, 19:44
From Tom on AVSForum:
As of today, new PowerDVD 9 Ultra customers will receive build 2320, which includes support for HDMI bitstreaming of undecoded (full quality) audio with ATI Radeon 5000 series graphics cards, and the Auzentech X-Fi Hometheater HD sound card. An update patch for current owners of PowerDVD 9 Ultra is scheduled to be available next Friday (11/27).
Tom
Cyberlink
So, for those of us that own PDVD9 already, we'll get the patch next week.
albain
20th November 2009, 20:26
Great news, the dumper is ready
SamuriHL
20th November 2009, 20:30
Awesome. I think I got my machine back together and working again with 9.11, so, I should be able to test once a new build is ready.
Thunderbolt8
20th November 2009, 22:36
so what was the problem with 9.11, now I don't dare to update :D
rica
20th November 2009, 22:56
Vista 32 SP2; no problem here.
Browncoat
20th November 2009, 23:10
Well, I finaly have my Auzen HT HD.
I made clean install of Windows Vista SP2 and Seven (both x86). Both fully updated, with latest drivers.
Minimum installed software: only PowerDVD 9 Ultra build 2227 and Virtual Clone Drive. Daemon tools doesn't mount my test bluray iso well (powerdvd just hang) but with Virtual Clone drive bitstriming works well (in both Vista and Seven).
I have two .iso (made them with tsremux) one with DTS-HD MA, other DD TrueHD. And also these files:
test_5.1_dd (AC3).avi
test_5.1_truehd.m2ts
test_7.1_ddplus (EAC3).m2ts
test_7.1_dts-hd_hr.m2ts
test_7.1_lpcm_hd.m2ts
test_7.1_truehd.m2ts
So i'm ready for some test. I need a dumper tool and instructions :)
SamuriHL
20th November 2009, 23:12
so what was the problem with 9.11, now I don't dare to update :D
Like I have any idea? The stupid driver crashes on install even when it installs correctly. That instills great confidence. When it didn't work, the CCC would hang in memory and never come up. Ever.
albain
21st November 2009, 10:58
A good thing to bring to FFDShow : http://forum.doom9.org/showthread.php?p=1159859#post1159859
There is a MLP encoder, I imagine that we could add it to ffdshow next to AC3 encode mode in the output section of FFDShow
Typically for uncompressed HD multichannel streams and if there is a HDMI 1.3 output and a TrueHD receiver
Of course, when the bitstream support will be operational
madshi
21st November 2009, 11:54
A good thing to bring to FFDShow : http://forum.doom9.org/showthread.php?p=1159859#post1159859
There is a MLP encoder, I imagine that we could add it to ffdshow next to AC3 encode mode in the output section of FFDShow
Typically for uncompressed HD multichannel streams and if there is a HDMI 1.3 output and a TrueHD receiver
Of course, when the bitstream support will be operational
FWIW, Blu-Rays use TrueHD and not MLP. I don't know if bitstreaming works with MLP. And yes, TrueHD and MLP are different (slightly). Also I think the first target of the libav MLP encoder was to encode stereo, only. I don't know the current state. Last time I checked, even stereo encoding didn't work reliably yet. But maybe things have improved since then. I hope!
albain
21st November 2009, 17:38
Hi, I am not going to say to much but the MLP encoding is much more complicated than I thought. I am doing the necessary analysis to build the exact code
DTS-HD and EAC3 are different and should be working right now which means that the problems are probably due to wrong timings
Sebastiii
21st November 2009, 18:07
hi :)
Yes it's very closed to work perfectly :)
I hope that you can succeed :) very thx and good luck :)
Seb.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.