View Full Version : ffdshow tryouts project: Discussion & Development
whurlston
3rd December 2009, 17:01
Yea, thanks a lot! :p I have the same problems now thanks to you! :D
Um... Merry Christmas??? :D
SamuriHL
3rd December 2009, 17:05
Um... Merry Christmas??? :D
Gee, uhhhh, thanks. :) So, Default DS plays it back in sync for me. Waveout never makes a connection at all. Any of the ATI ones are either out of sync or crash MPC-HC. I'm of the opinion....fix DS for TrueHD and call it good. :D
SamuriHL
3rd December 2009, 17:14
So, I thought I'd share my new laziness story with you. :D I've discovered that I can bitstream while on a remote desktop session to my HTPC without having to have the tv on. So I can control it all from my laptop. As long as the receiver is set to the HDMI port of my HTPC, it'll bitstream(or not as the case may end up being). In short....NICE :)
albain
3rd December 2009, 17:31
Man, so many posts, so much information ... :rolleyes:
Here is a new build (http://www.mediafire.com/file/2y31lzyyzhm/ffdshow_rev3140_20091203_dbt_bitstream_beta45.exe)
Changes :
For xonar : DTS HD structure changed. I hope that it will work (with arcsoft renderer or other). From the logs I got from liquidskin only mkvs seem not to strip off DTS HD block. I still believe that something is wrong on your MPC or m2ts filter.
ATI 5xxx TrueHD : added a new structure to try in the list (changed channels mask). Which is weird is that on some samples directsound won't work unlike waveout. So I changed the only field that is different between working and non working samples
SamuriHL
3rd December 2009, 17:39
Default DS still doesn't work for TrueHD. Getting decoded LPCM instead. Will post logs in a bit.
Waveout still won't lock for DTS-HD MA, either. It just sits there trying to identify the stream.
whurlston
3rd December 2009, 17:46
Beta 45: TrueHD 6 ch decoded to PCM using DirectSound.
http://www.oshinetworks.com/DirectShow/ffdshow/beta45TrueHD6ch.txt
Are you ready for a vacation yet albain? You deserve one.
albain
3rd December 2009, 18:04
Sorry, beta45 is incomplete for the ati & thd
whurlston
3rd December 2009, 18:25
No problem. Just reporting.
blackEyEz
3rd December 2009, 18:55
Awesome work guys, i been following this thread for some months on HD bitstreaming. I am not as technical could someone recap what has been achieved and what hardware you need to bitstream truehd and dts-ma? And could someone say if (and when) i can bitstream truehd/dts-ma within MediaPortal?
Thank you
albain
3rd December 2009, 19:14
Here is an updated build (http://damienbt.free.fr/ffdshow_rev3140_20091203_dbt_bitstream_beta46.exe) for both xonar and ATI 5xxx
SamuriHL
3rd December 2009, 19:20
Oh thank God man! You fixed Default DirectSound! :D Now we got the best of all worlds because that was in sync for DTS-HD MA and now it works for TrueHD, as well. HURRAY! I'm gonna uninstall the MPC audio renderer now and just use DS for all my testing. Thank you!!!!
SamuriHL
3rd December 2009, 19:21
@whurlston
Use Default DirectSound on Watchmen. I bet it works fine. And kick some TrueHD tracks through it that would only play as LPCM before. Those should now play correctly as TrueHD. WOO HOO!
albain
3rd December 2009, 19:38
great !
Now what about regular formats : AC3/DTS & analogs streams encoded to AC3 in output section, are they still okay ?
This works fine on my side but I would like to be sure
Two others thing to test :
1/ Audio & video synchronisation : is it okay on HD formats ?
2/ when you do some jump to another part of the video, do you still have audio & video in sync (especially for TrueHD) ?
The last beta I have made is taken from the last revision of the bitstreamHD branch that I merged from the trunk so this one is a good build for non regressions testing.
I wait for these last feedbacks (and for the xonar too) and for clsid's go to perform the merge to the trunk
SamuriHL
3rd December 2009, 20:11
Audio sync is good now from what I can see. Even moving around in the video is good. I just tested an AC3 file, that seems fine. I haven't tested a DTS file yet. Don't have one handy.
whurlston
3rd December 2009, 20:57
Audio still loses sync for me. Happening on all sources actually if I let them play longer than 5 minutes. Audio is playing faster than the video. I think that is a separate issue though and not related to ffdshow. Possibly the renderer, maybe this is the reason for the glitches in WinDVD?
As for bitstreaming, both DTS-HD and TrueHD work great with the DSound renderer. Even 96/24 5.1 TrueHD.
@albain: :thanks::thanks::thanks:
albain
3rd December 2009, 21:05
Can what whurlston says be confirmed ?
Do you all have lost of sync on THD, DTSHD ?
With all the renderers ? directsound, waveout, MPC wasapi ?
Why do you say that this is not related to ffdshow ? Is powerdvd having glitches or lost of sync too ? Means that this is a bug in the ATI driver but I doubt it
whurlston
3rd December 2009, 21:19
Definitely not an ffdshow issue!!! I forgot to set the clock on the audio renderer. I'll blame it on lack of sleep. DTS-HD and TrueHD 48/16 as well as TrueHD 96/24 (everything I tested) all in sync now. I'll try to find a DTS file to test.
:o
SamuriHL
3rd December 2009, 21:21
Watchmen is still sync screwed. I'm watching a TrueHD movie right now and it's fine so far. I think watchmen is just not a happy freaking movie to be playing in MPC-HC in general. I mean, I watched an entire DTS-HD MA movie last night with this and had ZERO sync problems.
SamuriHL
3rd December 2009, 21:22
Definitely not an ffdshow issue!!! I forgot to set the clock on the audio renderer. I'll blame it on lack of sleep. DTS-HD and TrueHD 48/16 as well as TrueHD 96/24 (everything I tested) all in sync now. I'll try to find a DTS file to test.
:o
Play watchmen. I can't get it to stay in sync.
whurlston
3rd December 2009, 21:24
That was one of the ones I tested and it works up to 5 minutes (which was out of sync without the clock set). I'll let it play longer and report back.
SamuriHL
3rd December 2009, 21:25
That was one of the ones I tested and it works up to 5 minutes (which was out of sync without the clock set). I'll let it play longer and report back.
Try skipping around after that, too. But, the audio quickly went out of sync for me. Playing off the disc as I didn't like that movie enough to make an ISO of it.
whurlston
3rd December 2009, 21:35
It stays in sync with the DSound renderer if I set the clock before I start playback. I skipped backwards and forwards throught the whole movie. Let me see if I can find where my wife put the disc. (She's been on a cleaning and packing spree.)
Are you using MPC or GraphStudio?
albain
3rd December 2009, 21:35
So TrueHD loss of sync to be confirmed... That would not surprise me as I remember that arcsoft performs additional steps when a seek is detected
Concerning DTSHD, I don't think we may have this issue because the buffers have fixed size, as well as EAC3
SamuriHL
3rd December 2009, 21:37
It stays in sync with the DSound renderer if I set the clock before I start playback. I skipped backwards and forwards throught the whole movie. Let me see if I can find where my wife put the disc. (She's been on a cleaning and packing spree.)
Are you using MPC or GraphStudio?
MPC for everything. I'm playing another DTS-HD MA movie right now and having zero issues. I think it's just watchmen that hates me. Which is fine cause I'm not particularly fond of it, either. :D TrueHD stayed in sync, and I went all over the freaking place in that movie.
SamuriHL
3rd December 2009, 21:39
So TrueHD loss of sync to be confirmed... That would not surprise me as I remember that arcsoft performs additional steps when a seek is detected
Concerning DTSHD, I don't think we may have this issue because the buffers have fixed size, as well as EAC3
TrueHD is fine. I haven't seen any sync issues with TrueHD. I watched an entire DTS-HD movie last night start to finish with no sync issue, as well. I truly feel Watchmen just blows in MPC. EAC3 I can't do. For whatever reason the driver refuses it and ffdshow then decodes it to LPCM.
SamuriHL
3rd December 2009, 21:40
P.S. Using Default DS for renderer on all of this.
whurlston
3rd December 2009, 21:43
Ah, I was testing in GraphStudio. I had to manually enable the clock (is this something ffdhow can activate automatically?). Once I remember to do that, everything stays in sync for me.
SamuriHL
3rd December 2009, 21:45
Ah, I was testing in GraphStudio. I had to manually enable the clock (is this something ffdhow can activate automatically?). Once I remember to do that, everything stays in sync for me.
I'm not sure what you mean by enable the clock. :confused: And I would rather test where I'm going to actually use it. GraphStudio is fine and all, but, I want to watch movies not graph them. :D
whurlston
3rd December 2009, 21:47
I'm downloading MPC now. I just use the standalone filters in another app which is why I test with GraphStudio.
albain
3rd December 2009, 21:48
Yes I know what you mean : when you add a renderer, there is a clock on it and you can click on it to enable
I don't know why this is not managed automatically
I guess that this is enabled by default by MPC
Concerning EAC3, it should not be difficult to fix
SamuriHL
3rd December 2009, 21:49
I'm downloading MPC now. I just use the standalone filters in another app which is why I test with GraphStudio.
I think MPC doesn't deal with Watchmen correctly which is why the issue with audio sync is creeping in. All other discs I've tried are fine.
SamuriHL
3rd December 2009, 21:53
Yes I know what you mean : when you add a renderer, there is a clock on it and you can click on it to enable
I don't know why this is not managed automatically
I guess that this is enabled by default by MPC
Concerning EAC3, it should not be difficult to fix
Do you want a log from eac3? I have a file with eac3 that I can use for debugging.
gametiger
3rd December 2009, 22:05
Kudos to albain and everybody else who's helping with this, great job!
I'm planning to build a new HTPC and the progress you guys made right here is surely gonna influence my hardware choice.
As I understood it, the Xonar sound card and the ATI 5xxx series are the only cards that currently "support" HD audio bitstreaming.
So what would you recommend? Go for a Xonar sound card + a ATI/Nvidia video card combo or a video card out of the ATI 5xxx series?
What I'm looking for is a solidly working solution. Important criteria are reliability, quality and low heat/noise levels.
What would you guys go for?
Thanks in advance :)
sub24ox7
3rd December 2009, 22:08
Hello albain and samuriHL I know you samuriHL from your moderating postion at slysoft forum and i am a loyal customer of anydvd hd anyway to the point. I have been following this thread for some time and anything great i say about it would be an understatement in the most true since of the word, this to say the least is a GODSEND!.
I haven't posted yet becuase i didn't want to take up anyones time but i have decided to try to bitstream with my xonar in light of the recent accomplishments. I have but one question at this time, I can't find the arcsoft renderer in mpc-hc where you can add external filters i have arcsoft totalmedia theater 3 installed on this vista x64 machine so i thought i could find it in the list of external mpc-hc filters. do i need to use greaphstudio to acomplish this or can i just use the new beta 46 of ffdshow from albain and use mpc-hc and then ffdshow and finally arcsoft renderer?
whurlston
3rd December 2009, 22:10
I think MPC doesn't deal with Watchmen correctly which is why the issue with audio sync is creeping in. All other discs I've tried are fine.
I have to wait for my wife to get home to get the disc but playing from the HDD, it stays in sync for me. I tested with the latest MPC SVN build. I have 16 and 24 bit checked in ffdshow (don't know if it's relevant).
Regarding EAC3: DD+ does not show up in the supported formats in the Windows audio device, so we may not even be able to get it to work for the 5xxx series.
sub24ox7
3rd December 2009, 22:12
NEVERmind i figured it out thank you anyways!(a big duh to me) should have known better i need to register it
SamuriHL
3rd December 2009, 22:38
I have to wait for my wife to get home to get the disc but playing from the HDD, it stays in sync for me. I tested with the latest MPC SVN build. I have 16 and 24 bit checked in ffdshow (don't know if it's relevant).
Regarding EAC3: DD+ does not show up in the supported formats in the Windows audio device, so we may not even be able to get it to work for the 5xxx series.
That was my thought on EAC3, too, was that the driver simply refuses it. So I don't know how albain plans on fixing that.
As for Watchmen I'm not terribly concerned but I'd like to see if you get the same results off the disc when you get a chance.
SamuriHL
3rd December 2009, 22:39
NEVERmind i figured it out thank you anyways!(a big duh to me) should have known better i need to register it
Glad you got it. :)
SamuriHL
3rd December 2009, 22:41
@albain
Monsters Inc crashes MPC-HC with both DS and waveout renderers. I have no idea what's on this disc for codecs yet. This is one I rented and just stuck the disc in to see how it'd go. So far, not well. :)
sub24ox7
3rd December 2009, 22:44
Hello again does anyone know why i can't register from CMD ASAudioRenderer.dll It keeps telling me to make sure the path is NOT correct where the binary is stored and i am sure i have it right (rgsvr32 C:\Windows\Program Files (86)Arcsoft\TotalMedia Theatre 3\Codec\ASAudioRenderer.dll)
SamuriHL
3rd December 2009, 22:49
Um, no C:\Windows there. ;)
SamuriHL
3rd December 2009, 22:50
Monsters Inc works with MPC Audio Renderer. I'll log it up as soon as I can get a chance. Not sure how to log the crash.
albain
3rd December 2009, 23:03
Hello again does anyone know why i can't register from CMD ASAudioRenderer.dll It keeps telling me to make sure the path is correct where the binary is stored and i am sure i have it right (rgsvr32 C:\Windows\Program Files (86)Arcsoft\TotalMedia Theatre 3\Codec\ASAudioRenderer.dll)
Try to add quotes around the path : regsvr32 "c:\..."
sub24ox7
3rd December 2009, 23:08
so i should leave out Windows and make it C:\program files\arcsoft and so on, I am sorry if this is taking up to much of your time this is the reason i haven't posted before but i am not computer illiterate and have manually registered .ax, .ocx, and .dll files from the command promt before because of fussy installers or should i say fussy vista. anyway thanks for the help samurihl i obviously have the path incorrect because that is what it is telling me. also should i manually move ASAudioRenderer.dll to C:\windows\system32 directory
albain
3rd December 2009, 23:08
Monsters Inc works with MPC Audio Renderer. I'll log it up as soon as I can get a chance. Not sure how to log the crash.
Hard to tell indeed. You don't have visual studio installed ?
It will be able to tell you which module if faulty : MPCHC.exe, ffdshow.ax
I don't know if there is another way : when there are crashes windows store the dump with call stack and faulty module somewhere but I don't know if this can be extracted easily
Otherwise there is dbgview that can will give you traces before it crash and I can make my idea about it.
For EAC3, I am interested in logs too, just to see if the media structure is accepted by the ATI
We already know that EAC3 works with FFDShow and the xonar, and indeed the ATI may not support EAC3 for now but I don't see why it wouldn't
so i should leave out Windows and make it C:\program files\arcsoft and so on, I am sorry if this is taking up to much of your time this is the reason i haven't posted before but i am not computer illiterate and have manually registered .ax, .ocx, and .dll files from the command promt before because of fussy installers or should i say fussy vista. anyway thanks for the help samurihl i obviously have the path incorrect because tha is what it is telling me. also should i manually move ASAudioRenderer.dll to C:\windows\system32 directory
Just leave the file where it is and open a dos windows in administrator mode and type
regsvr32 "c:\program files\arcsoft....\asaudiorenderer.dll"
rica
3rd December 2009, 23:09
46 is working for me very well with DTSHD and THD.
Thanks albain :)
SamuriHL
3rd December 2009, 23:11
so i should leave out Windows and make it C:\program files\arcsoft and so on, I am sorry if this is taking up to much of your time this is the reason i haven't posted before but i am not computer illiterate and have manually registered .ax, .ocx, and .dll files from the command promt before because of fussy installers or should i say fussy vista. anyway thanks for the help samurihl i obviously have the path incorrect because tha is what it is telling me. also should i manually move ASAudioRenderer.dll to C:\windows\system32 directory
Personally I'd cd to the directory and just regsvr32 ASAudioRenderer.dll in that directory. Also make sure you're using an admin command prompt. A regular command prompt won't do it.
SamuriHL
3rd December 2009, 23:14
Hard to tell indeed. You don't have visual studio installed ?
It will be able to tell you which module if faulty : MPCHC.exe, ffdshow.ax
I don't know if there is another way : when there are crashes windows store the dump with call stack and faulty module somewhere but I don't know if this can be extracted easily
Otherwise there is dbgview that can will give you traces before it crash and I can make my idea about it.
For EAC3, I am interested in logs too, just to see if the media structure is accepted by the ATI
We already know that EAC3 works with FFDShow and the xonar, and indeed the ATI may not support EAC3 for now but I don't see why it wouldn't
Yea I can get a stack trace of the crash. Can't right now...my son saw me messing with Monsters Inc and uh, well, we're watching that now. :) Might be tomorrow before I get back to it. We'll see.
As for EAC3, I don't get why it's not supported either. It should be.
rica
3rd December 2009, 23:17
I don't have any expectation on eac3 support since it's not mandatory format for the blu , so i don't care :)
(And haven't seen any eac3 on any Blu.)
stinman
3rd December 2009, 23:21
Is there ever a chance,this might work on the ATI 4870 or 4850 cards?It will bitstream DTS at 1536 at least.It would be nice!
stin
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.