Log in

View Full Version : ffdshow tryout project : HD audio discussion


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

albain
27th January 2010, 09:27
I found a bug in TrueHD bitstream that is certainly the cause of the dropouts

Skinleech
27th January 2010, 09:44
Great news albain. I tested 3227 briefly last night, and it seems to work correctly. I only played a seconds of a movie, but I got clear & unbroken sound.

Sebastiii
27th January 2010, 10:49
@Albain :)
Great news :)

I didn't test last release, i'm testing it this evening :)
Can you add the audio delay too in main branch ?

I have also strange issue with sample DTS-MA, it plays too fast (Bitstream enable) play normally with no passthruth).
But like i didn't test with last version, maybe it's ok.

I use MPC Gabest Source Filter.

Big thx :)

SamuriHL
27th January 2010, 12:54
That's awesome! I hope it's a really easy fix for you. :)

SamuriHL
27th January 2010, 12:54
@Albain :)
Great news :)

I didn't test last release, i'm testing it this evening :)
Can you add the audio delay too in main branch ?

I have also strange issue with sample DTS-MA, it plays too fast (Bitstream enable) play normally with no passthruth).
But like i didn't test with last version, maybe it's ok.

I use MPC Gabest Source Filter.

Big thx :)

I think the DTS-HD MA issue is fixed in 3227.

cyrilp
27th January 2010, 14:04
ffdshow_rev3227_20100126 (http://www.mediafire.com/?ednmczggmmw)

Thank you

Sebastiii
27th January 2010, 14:34
I think the DTS-HD MA issue is fixed in 3227.

Yep :)

Thx, i'll try tonight :) and see :)
Seb ;)

albain
27th January 2010, 18:45
I have good news

I think I have fixed the TrueHD bug

I have also added an audio delay option in FFDShow audio (in output section). That should help to resolve lipsync issues.

It works in analog mode, I don't know about numeric streams (spdif & bitstream).

Here is a link to a test build (http://damienbt.free.fr/ffdshow_rev3231_20100127_dbt_.exe)

Note that this build integrates development code that has not been committed so it is intended for testing purposes.

Sebastiii
27th January 2010, 18:57
Hi Damien,

For the version that i tested for audio delay with spdif and bitstream works great :)
I download now this version and test it now :)
Big Thx :)
Seb.

Sebastiii
27th January 2010, 20:06
Greeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaatttttttttttttt :)
True HD works great here :) You fix it :) but a little test on TRUEHD 7.1 sample, when i seek, the sound doesn't comes.

I'll test Delay this evening with TrueHD and DD to see :)

I've issue on DTS-MA, MPC Gabest MPEG source with MPC Video and FFDshow Audio.
The sound is ok but when the sound is play (Video is SLOW SLOW lol)
When the sound is finish (the video accelerate to the normal play and is smooth).

This is the log with debugview : Debugview-MPC-GABEST-FFDshow-Directsound1&2 (http://sebinternet.free.fr/Debugview-MPC-GABEST-FFDshow-Directsound1&2.zip)

I use Realtek 2.39 HDMI drivers.

Thx :)
Seb.

SamuriHL
27th January 2010, 20:34
I'll test it out in a bit, as well. That's awesome. Thanks for fixing this!

tosehee
27th January 2010, 21:30
I am sorry for a noob question, but hopefully someone have a patience to answer me.

Is this new bitstream require any third party app like Slysoft's AnyDVD and such???

I am planning to add a internal BD Drive and ATI 5xxx VC, but I wasn't sure what else I need in order to play the BD titles and get the bitstream to my receiver too.

I currently use the MPC-HC (albeit somewhat outdated).

Sorry for noob question again, and thanks in advance for kind directions.

Regards

Sebastiii
27th January 2010, 21:37
Hi SamuriHL, yes good fixing :)

So i have retest it and also on 5.1 channel TrueHD when seek, audio is lost and sometime it works like 7.1
Bitstream audio delay works good :) on AC3/DTS and Truehd/DTS MA.
On DTS-MA if for example i set 10000 in delay, the video play good and when achieve to 10s the sound start but video comes slow.

It's closed to near perfect, but i have always DTS-MA 5.1 detect when i have DTS-HR 7.1(with PDVD it's ok).

Big thx :)

PatkIllA
27th January 2010, 22:05
@albain
did you have time to look into the issues with HD audio formats without bitstream. I seemed to happen when you merged the HD bitstream stuff.
I tested the latest build and I always get
"Access violation at address 6FD881B3 in module 'libavcodec.dll'. Write of address 00000014".

nightfly
27th January 2010, 22:12
Hi SamuriHL, yes good fixing :)

So i have retest it and also on 5.1 channel TrueHD when seek, audio is lost and sometime it works like 7.1
Bitstream audio delay works good :) on AC3/DTS and Truehd/DTS MA.
On DTS-MA if for example i set 10000 in delay, the video play good and when achieve to 10s the sound start but video comes slow.

It's closed to near perfect, but i have always DTS-MA 5.1 detect when i have DTS-HR 7.1(with PDVD it's ok).

Big thx :)

This may be related to the MPC splitter. Try using another (Haali) and see if that affects your result.

It does for me. When I use the Arcsoft Demuxer (splitter) I am able to jump around fine on THD titles where using the MPC splitter, I usually lost audio until I stopped and restarted the stream from the beginning.

nightfly
27th January 2010, 22:32
I have good news

I think I have fixed the TrueHD bug

.

Works Beautifully for me on StarTrek 09.:thanks: Watched about 5 minutes without one hiccup.

No issues moving around the title using the Arcsoft Demuxer/splitter; using the MPC splitter (Mpeg2 Gabest Splitter) the audio/video will easily get out of sync or the audio lost altogether when moving forward/backwards. So clearly a MPC issue (which they are having a lot of lately).

So to reiterate, I have perfect THD/DTS-MA bitstreaming using Albain's latest test build and no playback issues using the Arcsoft Demuxer/Arcsoft Audio Renderer - I can pause, ffwd/rewind without issue.

albain
27th January 2010, 23:01
@albain
did you have time to look into the issues with HD audio formats without bitstream. I seemed to happen when you merged the HD bitstream stuff.
I tested the latest build and I always get
"Access violation at address 6FD881B3 in module 'libavcodec.dll'. Write of address 00000014".

Tal fixed the problem, it is related to a ffmpeg recent update

I'll try to fix the seeking issue tomorrow.

Skinleech
27th January 2010, 23:06
Greeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaatttttttttttttt :)
True HD works great here :) You fix it :) but a little test on TRUEHD 7.1 sample, when i seek, the sound doesn't comes.

Strange. I still got a glitch in the position with your Star Trek thd sample. I tested 3227 and the test build above one after the other.

The test build sounded better, but there was still a dropout. It's like it sounded cleaner, the sound just stopped then came back. With 3227 (which works perfeclty for DTS-HD MA btw) ot was somewhat distorted when the dropout occured.

Sebastiii
28th January 2010, 07:11
Hi Guys,

@nightfly, i'll try this evening to see if i have the same result with arcsoft splitter/renderer, but my test is on ATI :) I hope you too :)
I have try with last standalone filter to see if happen, and yes sometime seeking work and sometime not :).

@Albain, you're a great man :) i didn't know if it's on FFDshow or MPC filter issue. :) (The THD Bug that you have fixed, can you explain what is it ? THX :) ) and Audio Delay perfect, i have just see a little thing lol the position of DTS case in output section is not at the same place of Beta without delay :) (it's very very not important lol )

@Skinleech, Strange, on mine, Short Sample or Long Sample of Startrek no issue (THD 5.1) and also on THD 7.1 sample :) works great :).

Thx for all :)
Seb.

clsid
28th January 2010, 15:20
I am sorry for a noob question, but hopefully someone have a patience to answer me.

Is this new bitstream require any third party app like Slysoft's AnyDVD and such???

I am planning to add a internal BD Drive and ATI 5xxx VC, but I wasn't sure what else I need in order to play the BD titles and get the bitstream to my receiver too.

I currently use the MPC-HC (albeit somewhat outdated).

Sorry for noob question again, and thanks in advance for kind directions.

Regards
You need AnyDVD HD to remove the content protections that are used on Blu-ray discs. After that all you need is MPC-HC and ffdshow. You can find specific settings by reading the first post of this topic and by reading this (huge) topic.

nightfly
28th January 2010, 16:59
Hi Guys,

@nightfly, i'll try this evening to see if i have the same result with arcsoft splitter/renderer, but my test is on ATI :) I hope you too :)
I have try with last standalone filter to see if happen, and yes sometime seeking work and sometime not :).


First off, thanks to you too Sebastiii (and SamuriHL), Albain is doing the heavy lifting, but you guys have helped a great deal as well.

And no, If you take a look at my sig, I am running Nvidia/Xonar setup (and I'll be moving to the Intel Clarksdale setup this year). But still, I think there's still a good chance that the splitter is involved in the THD seeking issue. I had no trouble seeking around with DTS-HD/MA using either splitter.

Sebastiii
28th January 2010, 18:46
Thx :)

Yep, so i'll try splitter and see the result, i think i've already try a couple of day but of memory not working with ATI.
Seb :)

albain
28th January 2010, 20:42
Hi,

any feedback on the new ATI 10.1 driver ?

Are the dropouts still there ?

The release notes do not mention them so I guess it is:confused:

Sebastiii
28th January 2010, 20:53
Hi Damien :)

On AVS some guys always dropout, and me i have setup profile.xml to disable Powerplay. So i must reset it to test lol.
i'm on Splitter Arcsoft to test lol :)
Thx
Seb.

SamuriHL
28th January 2010, 21:05
I refuse to touch 10.1. Too many problems.

David602
28th January 2010, 23:15
This may be related to the MPC splitter. Try using another (Haali) and see if that affects your result.

It does for me. When I use the Arcsoft Demuxer (splitter) I am able to jump around fine on THD titles where using the MPC splitter, I usually lost audio until I stopped and restarted the stream from the beginning.


Nightfly,

Can you explain how to obtain and install the Arcsoft filters? I've tried the pretty complicated instructions on AVSFORUM to no avail.

Are you using the TMT2 demo install for the filters or full TMT2 retail filters? I own a legal copy of TMT2 OEM and TMT3 retail but from what I understand, Arcsoft made a change a while back to prevent the filters from being used with anything but TMT.

nightfly
28th January 2010, 23:29
Nightfly,

Can you explain how to obtain and install the Arcsoft filters? I've tried the pretty complicated instructions on AVSFORUM to no avail.

Are you using the TMT2 demo install for the filters or full TMT2 retail filters? I own a legal copy of TMT2 OEM and TMT3 retail but from what I understand, Arcsoft made a change a while back to prevent the filters from being used with anything but TMT.

You can't mix OEM and retail and you can't upgrade OEM from Arcsoft updates. Sad but true.

So I use the retail versions. They made a change in the v2 .131 update to allow it to co-exist with TMT3.

I installed TMT2 126, upgraded it to .131. Did the steps on AVS but the initial attempt failed. I remember doing the some of the additional steps outlined there like setting folder permissions and adding the TMT2 codecs folder to the path and that allowed me to use the TMT2 filters in MPC.

Keep in mind that the above "trick" allows use of the Arcsoft Video filter which also enables the DXVA support by default. This fix was never needed to use their splitter or their audio filter or audio renderer. So I really don't see the need to do the hack.

On Win7 you have to update TMT2 to .130+ for get the AS vid filter to work.

And lastly, I use the TMT3 version of the audio renderer. Never tried the TMT2 as it never supported bitstreaming except for the OEM versions.

So my currently preferred setup:
MPC v1249 - newer versions I can't get any splitter other than MPC's to load via external filters. Also, newer versions have resizing issues.
TMT2 v.131 AS Demuxer
TMT2 v.131 AS Video Filter
ffdshow (latest Albain test build)
Customer EVR
TMT3 v.160 AS Audio Renderer

Only downside to this config is no subtitle support (forced or otherwise). I also get fewer video playback issues using the AS video filter over the MPC versions.

Andy o
28th January 2010, 23:55
Hi,

any feedback on the new ATI 10.1 driver ?

Are the dropouts still there ?

The release notes do not mention them so I guess it is:confused:

I haven't seen any significant changes. The dropouts seem to be worse, but that's just anecdotal and I didn't test thoroughly. Someone else said powerplay was also causing flickering, but I didn't experience that.

Skinleech
29th January 2010, 00:05
In addition to the dropout on the Star Trek sample, the latest beta does not play nice for DTS-HD MA titles either. The video plays back at super slow speed, and the audio is just fine.

Reverting to 3227 fixed the issue. I'll make logs of both DTS-HD & TrueHD on both 3227 and 3231 tomorrow.

Cheers

STaRGaZeR
29th January 2010, 00:31
Powerplay is just terrible in the 5800 series. It's way too agressive. I don't know about you guys, but at 120Hz doing anything with the desktop like open a folder, move it, close it, scroll down a text, etc. will trigger 3D clocks for miliseconds, then 2D again, then 3D, then 2D... play a video and it'll do it even faster. And each change causes a flicker. You can imagine the flickering mess I have when I allow the driver to do such things. The solution is simple: force clocks to remain the same all the time. I use ATT with profiles for games and stuff that really needs 3D power, and it works like a charm. People with audio issues should try it. But we shouldn't be doing this ATI...

andyvt
29th January 2010, 04:33
I had a chance to try out the new builds tonight and nothing after 3200 (clsid) bit streams TrueHD (playback can't start) on my Clarkdale. Testing was on x86 Windows 7 in GraphStudio. Let me know what information is required to help track it down.

Thanks

Skinleech
29th January 2010, 14:17
I had a chance to try out the new builds tonight and nothing after 3200 (clsid) bit streams TrueHD (playback can't start) on my Clarkdale. Testing was on x86 Windows 7 in GraphStudio. Let me know what information is required to help track it down.

Thanks

Best thing to do is get a log from debugview, and post it here to be checked by albain.

In order for the logs to work, you need need edit the registry entries for ffdshow, can't remember which one at present as I have .reg files set up, but I'm sure another forum member can point you to the right path in regedit.

Sebastiii
29th January 2010, 14:31
Hi,

You have to go on : HKEY_CURRENT_USER\Software\GNU\ffdshow
And add or set regkey DWORD allowDPRINTF and set value 1.

Good luck :)
Seb.

Sebastiii
29th January 2010, 19:45
Thx for ver 3238 :)
Seb.

albain
29th January 2010, 20:53
I am surprised, I've read earlier that most problems were fixed

I am a little confused with these feedbacks
The slow playback may come from the audio delay added in revision 3231 (and present in the last beta)

@Skinleech : can you be more precise about what works/worked and what does not in the revisions you tested ?

Sebastiii
29th January 2010, 21:09
Hi Albain,

I have the same issue too so i made log from debugview.

FFdshow 32XX LOG With Bug and No Bug Sound and Video when DTS-MA (http://sebinternet.free.fr/FFdshow 32XX LOG With Bug and No Bug Sound and Video when DTS-MA.zip)

Yes maybe it's when add Delay in Bitstream ! arf i didn't see that, because in THD/AC3/DTS it's OK.

I have try splitter Arcsoft and also the same issue. But with Xonar is ok.
Seb :)

Thx :)

albain
29th January 2010, 22:25
Here is a new debug build (http://damienbt.free.fr/ffdshow_rev3239_20100129_dbt_thd_fix_beta2.exe)

The audio delay is still operational but I changed the way the timestamps are set

Sebastiii
29th January 2010, 22:52
Hi Damien :)

It seems that exe is corrupt or not finish upload lol

Thx :)

albain
29th January 2010, 23:55
Sorry, same player shoot again

Same link

Sebastiii
30th January 2010, 00:10
:) Perfect Royal,
DTS-MA works perfect
THD 7.1, 5.1 too
Delay too

Only for me DTS-HR 7.1 not reconize and AVR display and play in DTS-MA 5.1.
May be issue with my AVR (PDVD9 works lol).

Great Great and Again you'r the best :)
Big Thx,
Seb.

Edit : when seeking the sound appear after few second on THD and DTS-MA and i have on short sample of startrek little dropout after seeking, but not in long sample. (for this test i have set 300ms in delay to catch my AVR synchro).

Edit2 : Also with arcsoft splitter the same issue for seeking but seeking is OK on DD and DTS, Enjoy :)

Skinleech
30th January 2010, 09:35
@Skinleech : can you be more precise about what works/worked and what does not in the revisions you tested ?

Hi albain - apologies if my posts have been too vague. Here is what I've discovered with the last 2 versions I have tried:

Rev 3227: DTS-HD MA is good, TrueHD has dropouts on Seb's Star Trek m2ts sample, always at the same place.

Rev 3231: DTS-HD MA audio plays fine, but the video is in slow motion. True HD still has the same dropout in the same place.

I will log these for you later on.

albain
30th January 2010, 18:25
Ok, now everything should be fixed in revision 3240 (I hope)

+ all the improvements/fixes on DXVA on revision 3246, I think that we are coming to a pretty stable release now

Now, we should all keep putting the pressure on ATI so that they fix those dropouts !
Let's post (and repost) bug reports on this

http://support.amd.com/us/contacts/Pages/GraphicsTechnicalSupport.aspx?LID=usenterpriseleftnav

Sebastiii
30th January 2010, 19:06
Great news :) Big thx :)

I've re wrote a ticket so i wait an answer.
But yes you're right all people must post in AMD to resolve issue of dropout in software mode and Powerplay issue.

Thx :)

dbone1026
30th January 2010, 20:14
Ok, now everything should be fixed in revision 3240 (I hope)

+ all the improvements/fixes on DXVA on revision 3246, I think that we are coming to a pretty stable release now

Now, we should all keep putting the pressure on ATI so that they fix those dropouts !
Let's post (and repost) bug reports on this

http://support.amd.com/us/contacts/Pages/GraphicsTechnicalSupport.aspx?LID=usenterpriseleftnav

Where would I find 3240 or 3246, on xvidvideo.ru it only goes up to r3237? Thanks

albain
30th January 2010, 21:32
Hi,

I have posted 32 & 64 bit builds of revision 3246 on sourceforge

Damien

Sebastiii
30th January 2010, 21:37
Thank you Damien :)

dbone1026
30th January 2010, 22:02
Thanks Damien

PatkIllA
30th January 2010, 22:28
I think that we are coming to a pretty stable release now
I upgraded to the latest version and the whole dts (normal and HD) part is not working for me at all since the HD bitstream stuff got into the code.
With decoding I only get crackling and or pitched sound, with SPDIF passthrough I get nothing at all.
I tested with graphstudio and Zoom Player and with the HDMI output of my Radeon 4850 and the SPDIF of my realtek onboard sound.
My OS is Windows 7 Professional 64 Bit.

Going back to 3154.
Does anyone else have this is problem or do you all have an Radeon 5xxx or Xonar and uses HD Bitstreaming only?

albain
30th January 2010, 23:19
The 64 bits build I submitted on sourceforge is not compiled correctly

This may be the cause

I removed it and will repost one soon

nightfly
31st January 2010, 07:46
:)
Only for me DTS-HR 7.1 not reconize and AVR display and play in DTS-MA 5.1.


DTS-HD MA 7.1 (Hellboy: Golden Army) is correctly configured as 7.1 in my xonar/denon 988 setup. In fact, I have had no issues with several previously problematic titles, seeking, chapter change, etc. Very happy camper. BTW Helloby has a very "energetic" sound track, very nice! If requested, I'll upload a sample.

Now my dreams can move on to LPCM bistreaming. :)