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

imel6
13th March 2010, 03:35
Don't know what component is the problem here but I figured I should ask.
One of the biggest problems I have is that after I stop playback or if I open a new file it seems the last played file connection to the receiver is maintained. So, for example, if I bitstream a dts-ma file my receiver will light up 'dts-ma'. Now even if I stop playback, my receiver still says 'dts-ma'. Even closing the software sometimes it persists. Now when I open a new file playback may begin but the receiver says 'dts-ma' and i get no sound (new file can be flac, truhd etc....) Only after resetting the receiver or changing speaker output in windows is everything reset.

I am not sure what component causes this. Is it the audio decoder (or bitstreamer), the splitter, renderer? I have used a variety of players including kmplayer but primarily use MPC-HC. I use the latest builds of MPC-HC and FFDShow along with realtek audio driver. I use the ATI 5750 with Windows 7 64bit.

thx

rica
13th March 2010, 03:38
@imel6, do not use Realtek drivers.

imel6
13th March 2010, 06:59
@imel6, do not use Realtek drivers.

Thanks Rica. Turns out I had a combo of problems
1. Realtek drivers
2. MPC Audio Renderer

Things are almost perfect now. My best results bitstreaming this evening was with Reclock's latest driver.

Thanks again!!

nightfly
13th March 2010, 20:08
Just wanted to report that build 3316 from xvideo.ru works as well as my "tried and true" v3239. So it would seem that the current builds works as well my old stable test build.

The only issue is that still get lost audio on THD titles while seeking either when paused or when "live". Invariably, I am able to get audio back by seeking "back" in the title. It has to be back of "sufficient" amount of time.

Update: the current build is better than my old test build. I have the "remember file/dvd position" option enabled in MPC and that caused me issues with loss of audio in the older builds. I would have to seek back to regain audio. But in build 3316, that is no longer the case for some previously problematic titles: Dark Knight, Iron Man, and Brave One. So a definite improvement.

Did a clarksdale test the other day and ffdshow worked great, didn't notice any issues. Soon my xonar setup will be on ebay.

Thanks as always Albain.

David602
14th March 2010, 00:37
Thanks Rica. Turns out I had a combo of problems
1. Realtek drivers
2. MPC Audio Renderer

Things are almost perfect now. My best results bitstreaming this evening was with Reclock's latest driver.

Thanks again!!

I thought reclock broke bitstreaming through FFDSHOW? Does the new driver allow bitstreaming of TrueHD/DTS HD MA now?

SamuriHL
14th March 2010, 00:47
The latest version of ReClock allows HD audio passthrough.

rica
14th March 2010, 01:43
The latest version of ReClock allows HD audio passthrough.

I would expect to connect MPC Splitter directly to ReClock renderer (1.6.4) or via ffdshow.
But i always see default directsound device as renderer instead of ReClock.
BTW, PCM and Bitstream selected as WASAPI on ReClock config.
And Reclock audio renderer is selected under "Output" option of MPC-HC.
What am i missing?
Would you give me an SS of the graph?

SamuriHL
14th March 2010, 06:06
I would expect to connect MPC Splitter directly to ReClock renderer (1.6.4) or via ffdshow.
But i always see default directsound device as renderer instead of ReClock.
BTW, PCM and Bitstream selected as WASAPI on ReClock config.
And Reclock audio renderer is selected under "Output" option of MPC-HC.
What am i missing?
Would you give me an SS of the graph?

I don't have it running with MPC-HC. I've not tried it yet at all. I've been using it with TMT3 and have had great success with it. If I get a chance I might be able to try with MPC-HC tomorrow with ffdshow. I've been just been crazy busy lately. I don't even have the latest installed at the moment.

sub24ox7
14th March 2010, 20:56
Hello, everyone I havn't posted in this thread in a while I am guessing most people have gotten rid of there xonar's. I unfortunately still have mine and was wondering the state of the xonar right now with bitstreaming from mkv files.
I have a problematic file at the moment, it is terminator 2 skynet edition that i have remuxed the extended version into mkv and it will play fine for 3 or 4 seconds but then goes out and it and so on. If i skip ahead it does the same thing resumes playback for 3 or 4 seconds and then the audio goes in and out. Should I give up on the xonar and are there any specific builds that are better for the xonar? This specific dts-hd track has a dts-es core and i don't know if that is giving me the trouble or what but i would love to be able to get playback without the audio dropping in and out. :-( You guys are great for all that you have done especially Albain, Thank you for all you have done. :-)
I can upload a little sample if needed, oh and this is using every build of ffdshow i have ehich is quite a few including the newest. I am using the newest haali matroska splitter.

Sebastiii
15th March 2010, 15:13
Hi sub24ox7,

Can you try with MPC standalone filtre Mastroka in place of Haali ?
And yes it would be great if you can upload a sample :)
Seb.

Sebastiii
15th March 2010, 16:05
Hi Damien,

I know that you are very busy :)

Is it possible that you can look into MpegSplitter source standalone filter for .m2ts file ?

There are somes issues about this like, it didn't find subtitle on some .m2ts (TMT find it and mediainfo too).

Somes issues also about detection from mediaportal about stream audio.

But it maybe related :)

A sample to test :

Bug in .m2ts with MPC Mpeg source and splitter sample N°1 (via free) (http://sebinternet.free.fr/M2TS_0001_Multisubs(not_working).rar)

Bug in .m2ts with MPC Mpeg source and splitter sample N°1 (via mediafire) (http://www.mediafire.com/download.php?jjng4q0tocz)

Bug in .m2ts with MPC Mpeg source and splitter sample N°2 (via mediafire) (http://www.mediafire.com/download.php?tmmymmzlwga)

Thanks a lot :)
Seb.

sub24ox7
15th March 2010, 18:55
Thank you Sebastiii! Using the internal mpc mkv splitter alleviated the problem, no more audio dropouts!
thanks again,
sub24ox7

tonyZ3C
15th March 2010, 19:37
hi

As sub24ox7 mentioned, i'am also unfortunately :-) a xonar owner and i'am trying to make it works under 7 X64

Actually except TM3 version provided with the sound card
and mpchc 32 setuped with Arcoft audio renderer + ( internal mkv splitter or gabest splitter ), i can't make it work

Does someone in the same confiiguration has already make it work under Media center X64 player ?
I would like to continue using this nice Media Browser plugin.

I don't think there is a 64 bits versions of arsoft software so i can't use their audio render under X64 software

One additional question : Is this normal that when i choose MPC audio renderer , and then close/open the software, when i have a look at the filters used
i still have Default Direct Sound device
I have the same problem using graphstudio, it is the only audio renderer that i can't add

regards

albain
15th March 2010, 20:37
Hi Damien,

I know that you are very busy :)

Is it possible that you can look into MpegSplitter source standalone filter for .m2ts file ?

There are somes issues about this like, it didn't find subtitle on some .m2ts (TMT find it and mediainfo too).

Somes issues also about detection from mediaportal about stream audio.

But it maybe related :)

A sample to test :

Bug in .m2ts with MPC Mpeg source and splitter sample N°1 (via free) (http://sebinternet.free.fr/M2TS_0001_Multisubs(not_working).rar)

Bug in .m2ts with MPC Mpeg source and splitter sample N°1 (via mediafire) (http://www.mediafire.com/download.php?jjng4q0tocz)

Bug in .m2ts with MPC Mpeg source and splitter sample N°2 (via mediafire) (http://www.mediafire.com/download.php?tmmymmzlwga)

Thanks a lot :)
Seb.

Yes I experience such issues too : actually it seems that the streams are not detected until a packet holding the subtitles occurs, which is a few seconds before the (first) subtitles are displayed. Then if you right click again you see the streams

You confirm ?

About dumper tests : tu as pu récupérer les traces du dumper avec FFDShow + TrueHD + perte de son en seeking ? De quoi as tu besoin sinon ?

Sebastiii
15th March 2010, 22:04
Salut Damien :)

Yes i confirm and when i split the m2ts in several file, sometime i can obtain the sub (on few split file).

For the dumper, je n'ai pas pu récupérer de dump, ca crash dans le kernelbase si je passe par l'ATI, je suis pas a la maison, je rentre mercredi soir, la perte de son arrive un peu n'importe qd après avoir seek.
Donc ce que je vais faire c'est de faire un dump avec la Xonar sans l'ATI et de passer les LOGs, quoique je peux le faire à distance, mais je ne sais pas qd je perdrai le son.
Sinon pour que cela marche ptet une modif du dump pour qu'il fonctionne avec l'ATI mais ca va etre chaud :)
Merci en tout les cas, je vais qd meme te faire des logs et tu nous dira si tu trouve qqchose.Ps: J'ai un peu discuté avec Haali sur IRC, peut etre que tu peux venir et voir avec lui pour que son splitter fonctionne aussi avec le bitstream :)

Sorry about the HS french ;)

Sebastiii
15th March 2010, 22:18
Hi :)

So one shot log :)

Log N°1 FFDshow via MPC Arcsoft Audio renderer seeking (http://sebinternet.free.fr/bitstreamseekthd1.rar)

I hope that is good :)
Thanks,
Seb.

albain
15th March 2010, 23:32
Great, thanks:thanks:

Can you upload the sample too ? thx

Sebastiii
15th March 2010, 23:45
:)

TEST_7.1_TRUEHD.m2ts (http://sebinternet.free.fr/TEST_7.1_TRUEHD.m2ts)

:thanks:

GaBBa-Gandalf
16th March 2010, 18:13
Hello guys...

I haven't been here for a while... :)
I think you did a great job here!

I just got an ATI 5670 for my htpc...
It is connected with the denon avr 2309

OS: Windows 7
Player: MPC-HC 1752.x86
FFDShow: ffdshow tryouts project, svn 3317
MKV-Splitter: Haali Media Splitter (newest Version)
other Player: PowerDVD9 + last patch

I installed the denon display driver for the correct EDID data...

Test 1: BluRay @ PowerDVD = TrueHD & DTS-HD works fine -> blue light is up
Test 2: Testfile (TS) with TrueHD @ HPC-HC = works fine -> blue light is up

but Test 3: MKV with DTS-HD @ HPC-HC = blue light is flickering (avr) and the tone / pictures is juddering (lots of drop-outs in video and audio.) :(

Normal mkv with dts or ac3 just work fine...

What could be the issue?


EDIT: I tried now this version: ffdshow_rev3181_20100104_dbt_dxva_beta5

Here was the same problem. Than i just deactivated the Haali Media Splitter and now it is working, but the audio-tracks aren't changeable ?!?

SamuriHL
16th March 2010, 18:45
Haali most likely.

GaBBa-Gandalf
16th March 2010, 18:48
Is there an other / better mkv splitter where i can use hd-sound and can switch the audio tracks (e.q. for double language...)

SamuriHL
16th March 2010, 18:58
MPC-HC has a built in splitter that seems to work. If you're not using MPC-HC, then I'm not sure.

GaBBa-Gandalf
16th March 2010, 19:14
Thx u!

I just installed ffdshow_rev3299_20100303_xxl and deinstalled tha haali splitter and use the built in (hpc-hc) and the switching works fine (but just with the context-menu)

TrueHD & DTS-MA @ mkv = works fine now!

SamuriHL
16th March 2010, 19:18
Glad I could help. :) Hopefully haali will get fixed one of these days. Not sure what's causing that issue.

Sebastiii
16th March 2010, 20:29
Hi :)

Again log :) with rev3318

Log N°2 FFDshow via MPC Arcsoft Audio renderer seeking (http://sebinternet.free.fr/bitstreamseekthd2_3318.rar)

I hope that is good :)
Thanks,
Seb.

GaBBa-Gandalf
16th March 2010, 23:03
Hi Guys...

Here my results ;)

http://www.abload.de/thumb/img_0029au7p.jpg (http://www.abload.de/image.php?img=img_0029au7p.jpg) http://www.abload.de/thumb/img_0027hu15.jpg (http://www.abload.de/image.php?img=img_0027hu15.jpg) http://www.abload.de/thumb/img_0031n5cn.jpg (http://www.abload.de/image.php?img=img_0031n5cn.jpg)

PS Sorry because the quality ... just had the iphone here ;)

Sebastiii
17th March 2010, 23:48
Hi Damien :)

I have just try, and for now seeking works great (i have just add a little strange bug like the sound speak like an Helium but just seek again and sound ok).
I think you have make a very good fix :) for the Part1 :)
Big Thx,
Seb.

EDIT :
I have tested this sample : Being.There.1979.sample.m2ts (http://sebinternet.free.fr/Being.There.1979.sample.m2ts) THD 2.0 -> No sound -> and if i seek i have a noisy sound (bzzzzzzzzzzzzzzz).
The log : bitstreamFFDshow3318_THB20 (http://sebinternet.free.fr/bitstreamFFDshow3318_THB20.rar)

EDIT2 : : Strange this sample works if i select Realtek HDMI Output, but if i left this output renderer, i can't play other THD sample (it play very very slow and no sound).
So if you need somes others log (Dump or debugview) let me know :)
Strange again : TrueHD 7.1ch 96KHz.m2ts works other don't even DTS-MA with this renderer.

Thanks :)

liquidskin76
18th March 2010, 14:27
Hey Damien,

On the tests i've done so far, build 3318 is working great for TrueHD seeking. Haven't had one instance of lost audio yet.

Thanks!

STaRGaZeR
18th March 2010, 14:43
Hey Damien,

On the tests i've done so far, build 3318 is working great for TrueHD seeking. Haven't had one instance of lost audio yet.

Thanks!

I still get silence sometimes when seeking in m2ts files with TrueHD tracks, I'm not bitstreaming, with r3318.

notnyt
18th March 2010, 15:07
Hi All,

I've been reading this thread since it started, and the previous discussion in the main thread. I finally upgraded my HTPC from an nVidia setup to a Clarkdale setup. Everything worked great right away without any troubles. I have it hooked up to a Denon 5308 so HD audio was a welcome addition. I'll make sure to post a report if I run into any issues.

Thanks for all your hard work and testing. It is most appreciated.

I have one question though. The only thing that keeps this from being a perfect integration (mediaportal), is that the Stream Switcher will pick the first language in the file, which is often not my native language. Is it possible to add a field to FFDShow so the user can specify a language of choice?

albain
18th March 2010, 15:29
This is good news because I have analyzed the logs and didn't find anything unnormal, so "part1 of THD seeking fix" in rev 3318 becomes just "THD seeking fix"

About THD 2.0 : I am sure that the problems comes from the media structure that is passed to the renderer.

Seb, can you get some dump trace using TMT and ATI and a THD 2.0 file ?

Thank you

Sebastiii
18th March 2010, 16:03
Hi Albain :)

Great news :) you are the best.
For dump it doesn't work with TMT .170 :( i must use this version for bitstream with ATI. And with PDVD, it's crash :(.
So how i can made more help ? i'll try this evening other possibiliy :)

Thanks again,
Seb.

Sebastiii
18th March 2010, 16:24
Hi All,

I've been reading this thread since it started, and the previous discussion in the main thread. I finally upgraded my HTPC from an nVidia setup to a Clarkdale setup. Everything worked great right away without any troubles. I have it hooked up to a Denon 5308 so HD audio was a welcome addition. I'll make sure to post a report if I run into any issues.

Thanks for all your hard work and testing. It is most appreciated.

I have one question though. The only thing that keeps this from being a perfect integration (mediaportal), is that the Stream Switcher will pick the first language in the file, which is often not my native language. Is it possible to add a field to FFDShow so the user can specify a language of choice?

Hi, Nyt :)
Yes it's great idea, i saw albain have add this option in beta test, so i will try this evening too.
Normally (but maybe some code to change for MP) like ffdshow use fonction IAMStreamSelect, it would be work :)
Seb.

SamuriHL
18th March 2010, 16:43
Seb, add ReClock to the mix and see if that helps at all with TMT3 170.

Sebastiii
18th March 2010, 17:11
Hi SamuriHL :)
I will try ;)
Thanks :)

SamuriHL
18th March 2010, 17:39
No promises that it'll help but it's a thought anyway. :)

David602
18th March 2010, 18:37
Hi Damien :)

I have just try, and for now seeking works great (i have just add a little strange bug like the sound speak like an Helium but just seek again and sound ok).
I think you have make a very good fix :) for the Part1 :)
Big Thx,
Seb.

Thanks :)

So the latest build eliminates the audio dropout/silence when seeking in TrueHD (.mkv) but sometimes the people talking sounds like they are on helium?

So is it better or worse now?

Sebastiii
18th March 2010, 19:34
Hi David602,

It appends only once, i can't reproduce it, but i seek very very quicly when it appear :) but for now seeking works great :)
Seb.

notnyt
19th March 2010, 09:25
Hi, Nyt :)
Yes it's great idea, i saw albain have add this option in beta test, so i will try this evening too.
Normally (but maybe some code to change for MP) like ffdshow use fonction IAMStreamSelect, it would be work :)
Seb.

What's the URL to the beta?

Being able to select the default language will be great.

Sebastiii
19th March 2010, 09:45
Hi :)

the link http://forum.doom9.org/showthread.php?p=1384129#post1384129

But not option for now.
Also i have made some test and in MP you can't select sub like Audio, i think but i'm not sure that the sub selection must be coded with IAMStreamSelect.

Maybe not or it's in MP must be code differently lol.

Thx to albain :)

Damien : : i didn't success to made log with TMT even with Reclock :( (all working good in TMT with ATI).

Maybe i can try to log TMT + Xonar, but i must reinstall old version of TMT to try.

Do you think it's possible to add selection of SUB like Selection of Audio (stream switcher) ?.

Big Thx :)
Seb.

albain
19th March 2010, 11:58
Hi :)

the link http://forum.doom9.org/showthread.php?p=1384129#post1384129

But not option for now.
Also i have made some test and in MP you can't select sub like Audio, i think but i'm not sure that the sub selection must be coded with IAMStreamSelect.

Maybe not or it's in MP must be code differently lol.

Thx to albain :)

Damien : : i didn't success to made log with TMT even with Reclock :( (all working good in TMT with ATI).

Maybe i can try to log TMT + Xonar, but i must reinstall old version of TMT to try.

Unfortunately I need ATI logs : TMT + ATI or PowerDVD + ATI (if THD2.0 works with powerDVD)


Do you think it's possible to add selection of SUB like Selection of Audio (stream switcher) ?.

Yes, this is something that I am thinking about since a while. The only problem is that FFDShow audio is really acting as a splitter whereas FFDShow video this is different :
- With MPC splitter we should see all the subtitle streams if I am correct because it produces several output pins
- With Haali's there is only one output pin and the splitting is done inside it (with IAMStreamSelect interface).

So I must study this

EDIT : I am wrong, in both cases embedded subs are not displayed (only one is)

Sebastiii
19th March 2010, 17:05
Hi :)

Thanks you to study this.

But for now, i think issue about mpegsplitter must be corrected, i'm dreaming that i'm a good DEV :) but i see the code and hard hard for me.
For Mpeg Splitter output pin is like Haali (IAMStreamSelect works, i can see in MP).
For MPC Matroska, Outpin pin is for each stream, (Always in MP, cpp2005 have make a code to select sub not ffdshow but with MPC sub) and for Audio (Stream selection works with FFDshow and maybe audioswitcher (With Graphstudio it's works) but not in MP).

It would be great if Haali can make improvement, normally it work on it :) but when the version is released ? i don't know.

Damien, j'arrive pas a obtenir les mêmes polices, positions des subs etc. avec FFDshow qu'avec MPC sub or Directvobsub :(
I must be wrong on it.

Is it possible to interface dumptool with Reclock ? like Reclock have source and change renderer for TMT, maybe we can dump it ?.
Or it's the famous Unlock PID we have to make.
Thx :)

SamuriHL
19th March 2010, 17:11
The problem is ReClock is only doing passthrough on bitstream. So, I'm not sure that's going to help. This kinda blows.

albain
19th March 2010, 18:38
Check this out (http://damienbt.free.fr/ffdshow_rev3322_20100319_dbt_newlibs_beta8.exe) !

(ffdshow video context menu while playing multiple audio/subtitle streams medias)

rsd78
19th March 2010, 20:29
Check this out (http://damienbt.free.fr/ffdshow_rev3322_20100319_dbt_newlibs_beta8.exe) !

(ffdshow video context menu while playing multiple audio/subtitle streams medias)

albain, can you explain what you mean? Is this similar to the context menu in Media Control?

albain
19th March 2010, 20:40
Yes this is the same menu, but not everybody uses windows media center

The context menu of FFDShow video was buggy : the embedded subtitle streams weren't retrieved correctly

Also there is an audio streams submenu in order to be able to select all the streams in one place

Sebastiii
19th March 2010, 22:55
Great menu :)
Thank you :)

nightfly
20th March 2010, 01:20
rev3318 works wonderfully for me in my Xonar setup - no dropouts or other issues on THD (ST09, IronMan, BraveOne) seeking or anything. Tested some DTS-HD MA titles and as before, perfect.
:p

sub24ox7
20th March 2010, 07:25
nightfly have you tried dolby digital plus? It seems to go in and out for me from mkv container, I havn't tried it from a mt2s though.

Skinleech
20th March 2010, 08:17
rev3318 works wonderfully for me in my Xonar setup - no dropouts or other issues on THD (ST09, IronMan, BraveOne) seeking or anything. Tested some DTS-HD MA titles and as before, perfect.
:p

Great, thanks for th info.

Was any progress made on the new Arcsoft Audio renderer from their last patch? Or is it a case of using an old version of the renderer for ffdshow & upgrading TMT3 separately?

I've been away for over 3 weeks so haven't been able to catch up on the whole thread...