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

SamuriHL
18th June 2010, 14:55
@albain

Need some help understanding something.



00000516 0.50900584 [4972] WAVEFORMATEXTENSIBLE :
00000517 0.50900584 [4972] subFormat : KSDATAFORMAT_SUBTYPE_IEC61937_DTS_HD
00000518 0.50900584 [4972]
00000519 0.50900584 [4972] wSamplesPerBlock : 16
00000520 0.50900584 [4972] Valid bits per sample : 16
00000521 0.50900584 [4972] dwChannelMask : 255
00000522 0.50900584 [4972]
00000523 0.50900584 [4972] WAVEFORMATEX :
00000524 0.50900584 [4972] wFormatTag : WAVE_FORMAT_EXTENSIBLE
00000525 0.50900584 [4972] Channels : 8
00000526 0.50900584 [4972] Bits per sample : 16
00000527 0.50900584 [4972] Samples per second : 192000
00000528 0.50900584 [4972] nBlockAlign : 16
00000529 0.50900584 [4972] nAvgBytesPerSec : 3072000
00000530 0.50900584 [4972]
00000531 0.57470566 [4972] no picture
00000532 0.57473069 [4972] TffdshowDecAudio::deliverSampleBistream Delivering IEC sample format type 1041 - sample size 2468 - buffer length 32768
00000533 0.57481670 [4972] TDXVADecoder::PostProcessFrame 0
00000534 0.57980877 [4972] Media Type Structure
00000535 0.57980877 [4972] Format type : FORMAT_WaveFormatEx
00000536 0.57980877 [4972] Sub type : MEDIASUBTYPE_PCM
00000537 0.57980877 [4972]


vs


00000514 0.28720888 [1324] WAVEFORMATEXTENSIBLE :
00000515 0.28720888 [1324] subFormat : KSDATAFORMAT_SUBTYPE_IEC61937_DTS_HD
00000516 0.28720888 [1324]
00000517 0.28720888 [1324] wSamplesPerBlock : 16
00000518 0.28720888 [1324] Valid bits per sample : 16
00000519 0.28720888 [1324] dwChannelMask : 255
00000520 0.28720888 [1324]
00000521 0.28720888 [1324] WAVEFORMATEX :
00000522 0.28720888 [1324] wFormatTag : WAVE_FORMAT_EXTENSIBLE
00000523 0.28720888 [1324] Channels : 8
00000524 0.28720888 [1324] Bits per sample : 16
00000525 0.28720888 [1324] Samples per second : 192000
00000526 0.28720888 [1324] nBlockAlign : 16
00000527 0.28720888 [1324] nAvgBytesPerSec : 3072000
00000528 0.28720888 [1324]
00000529 0.28730148 [1324] TffdshowDecAudio::deliverSampleBistream Delivering IEC sample format type 1041 - sample size 2468 - buffer length 32768
00000530 0.28738225 [1324] Media Type Structure
00000531 0.28738225 [1324] Format type : FORMAT_WaveFormatEx
00000532 0.28738225 [1324] Sub type : MEDIASUBTYPE_PCM
00000533 0.28738225 [1324]


See in the first one is say "No picture"? What does that mean?

clsid
18th June 2010, 15:11
That's probably video related.

SamuriHL
18th June 2010, 15:16
I agree. But the interesting part is that's the difference between the mkvmerge created file (bottom log) that breaks up and doesn't play and the makemkv made file (top log) that works flawlessly. They SHOULD be identical because I took the makemkv made file and used that as input for mkvmerge. Using haali, the mkvmerge file doesn't work. Just trying to figure out why.

liquidskin76
18th June 2010, 20:05
I was thinking a month or so ago... I could have sworn haali worked during the beta testing for ffdshow HD audio bitstreaming.

Do you remember samuri, seb, rica?

I've tested old builds of haali and ffdshow (right back to the first release of HD audio bitstreaming) however no luck.

SamuriHL
18th June 2010, 20:08
No, it never worked. For DTS-HD MA anyway. It works fine for TrueHD. And it works fine for DTS-HD MA MKV's made with MakeMKV. I can't get Haali to split DTS-HD MA m2ts/ts files so I can't test that. :rolleyes: Honestly, at this point, I'd be SUPER FREAKING PSYCHED if the MPC splitter was updated to handle PGS subs in MKV's. I'm seriously.

SeeMoreDigital
19th June 2010, 07:23
Honestly, at this point, I'd be SUPER FREAKING PSYCHED if the MPC splitter was updated to handle PGS subs in MKV's. I'm seriously.Indeed...

When was MPC's splitter (or splitters) last updated? I ask because PGS subs in .M2TS files appear to work!

dbone1026
19th June 2010, 11:50
Indeed...

When was MPC's splitter (or splitters) last updated? I ask because PGS subs in .M2TS files appear to work!

I submitted a feature request on the MPC HC thread regarding adding support for PGS with the MPC splitter. Hopefully someone is listening!!!

SamuriHL
19th June 2010, 14:30
Yea, it supports PGS in m2ts, just not MKV, so, "in theory" it shouldn't be too difficult to add it.

DrNein
19th June 2010, 21:43
What can cause LPCM to playback slow while video is normal speed? It is happening with both ffdshow and MPC-HC internal transform filter. HD bitstream is normal.

Sebastiii
20th June 2010, 21:44
I submitted a feature request on the MPC HC thread regarding adding support for PGS with the MPC splitter. Hopefully someone is listening!!!

Hi,

Casimir666 has added support for MPC Matroska Splitter for PGS sub today

Thanks to him
And it's working great
Seb.

SamuriHL
20th June 2010, 22:27
I'm about to try it momentarily. This is great. However, Seb, is this 32 bit only? Is there a 64 bit version? I'd actually need both in my setup. Thanks!

Sebastiii
20th June 2010, 22:39
It's only 32bit, i have only compil 32bit.
I don't know how compil x64 :(
Sorry :(
Seb.

Edit : MatroskaSplitter_x64 (http://sebinternet.free.fr/mediaportal/MatroskaSplitter_x64.rar)
Cool, it's simple to compil x64, but i don't know if it's work lol :)

SamuriHL
20th June 2010, 22:43
No worries. I'll take care of setting up a build when I get home next weekend if I need to. I'm having a couple issues with it but nothing major. It's not acknowledging the default. So if I have the subs NOT set to default it still picks the first one. Not sure who's issue that is (ffdshow or the splitter). And ffdshow isn't showing me any text on the subs (the labels for the sub aka "eng") but so far, it's working! SO KUEL!

Sebastiii
20th June 2010, 22:48
Look my edit :)

I have change in FFDshow code dansk to danisk to make it work when we set danisk in mediaportal.
It's maybe not related but maybe :)
If any text on sub it's maybe ffdshow that didn't know infoo parse by splitter or splitter that not parsing the name.
I hope x64 works for you :)

SamuriHL
20th June 2010, 22:52
I need to request something of albain. Albain, buddy, if you're listening this would be helpful and I know what you're going to tell me. But I think this would be useful. :) First, I'm not sure who's not following the defaults properly. If I set NO subs to default, then I don't want subs playing. Now, here's my small request...can we have a "NONE" option on the actual subtitle menu? I know what you're going to say...just disable subtitles. That's not necessarily what I want, either. I just maybe want to turn them off for that one movie and not have to worry about enabling it again for the next movie. As for the text parsing, it's not parsing the ones done in MKVMerge, so, that's probably my fault for not setting the title. I'll fix it later. It's parsing the MakeMKV made ones just fine.

liquidskin76
20th June 2010, 23:35
Samuri,

Not sure if you tested this but i've tried the dts-ma sample provided by rica (http://forum.doom9.org/showthread.php?p=1408828#post1408828), that was muxed using the new smm mkv muxer (http://forum.doom9.org/showthread.php?t=154055&highlight=smm).

Got the same result as a mkvmerge created mkv, using haali. So it's not just a mkvmerge issue. Gotta be either a haali issue or ffdshow issue i guess? Did you have any luck with getting in touch with mike@haali or albain?

Cheers

SamuriHL
21st June 2010, 01:57
I haven't tested it, but, that sucks. Well, sort of sucks. That at least shows the issue is with Haali. And maybe Haali will fix it. The splitter Seb posted mostly works quite well. Not sure where the issues lie on that but overall PGS subs are detected. I have one MakeMKV created file that won't play with it. At all. It has 2 audio tracks and 2 subs. No idea why it refuses to play with that splitter.

rica
25th June 2010, 02:00
Got the same result as a mkvmerge created mkv, using haali. So it's not just a mkvmerge issue. Gotta be either a haali issue or ffdshow issue i guess? Did you have any luck with getting in touch with mike@haali or albain?


No mate, it's not albain's job since solveig mkv can be splitted by solveig splitter ( ffdshow is being used)
So the issue comes from haali definitely.

Please check this section of http://forum.doom9.org/showthread.php?t=155221:


Splitting mkv merge mkv files with:

1)haali:dtshd-ma doesn't work, thd -no ac3 core- works (haali splitter > ffdshow > d.direct sound)

2)gabest:both dtshd-ma and thd-no ac3 core- works (MPC matroska source(gabest) ffdshow > d.direct sound)

3)solveig: both dtshd-ma and thd-no ac3 core- works (file source(async) > Solveig matroska splitter > ffdshow > d.direct sound


Splitting solveig mkv files with:

1)haali:dtshd-ma doesn't work, thd works (haali splitter > ffdshow > d.direct sound)
2)gabest:doesn't work.
3)solveig: both dtshd-ma and thd works (file source(async) > Solveig matroska splitter > ffdshow > d.direct sound

SamuriHL
25th June 2010, 14:50
So get PGS subs in solveig and we're in business. ;)

Skinleech
26th June 2010, 00:22
Ok, so I finally got round to installing the Realtek HDMI driver and uninstalling the Xonar - all works fine ffdshow.

TMT3 v.180 however is horrendous. Dolby Digital tracks don't light up on my AVR but the audio runds at 3 or 4 times speed. TrueHD does light up on the AVR but the video is a slideshow. In both cases I get no audio. This was with the physical disk Star Trek BD.

Any ideas on the compatibility between Realtek 2.49 and TMT3? TMT ise set up to use the ATI card, and I've not a fresh install, including the removal of all reg entries. I'd really like to have both playing ball together otherwise it's back to Xonar for audio and the ATI for video.

Thanks.

SamuriHL
26th June 2010, 04:52
There is no compatibility. At all. You'll be waiting for a future patch from ArcSoft to fix that. It won't even decode to PCM properly. It's insane.

Skinleech
26th June 2010, 09:00
Bugger, I thought you'd say that.

So, is that it then - I need the Realtek driver to bitstream using ffdshow, but I need the ATI driver to bitstream in TMT?

Lame.

SamuriHL
26th June 2010, 15:38
No no no no. You can bitstream with EVERYTHING using the ATI driver. There's NO NEED to use the realtek driver at all.

liquidskin76
26th June 2010, 16:36
Bugger, I thought you'd say that.

So, is that it then - I need the Realtek driver to bitstream using ffdshow, but I need the ATI driver to bitstream in TMT?

Lame.

That was early days! The ATI drivers all good now!!

Cheers

Skinleech
27th June 2010, 10:11
Oh, hooray.

My bad - an earlier post metioned the Realtek drivers were the ones to use. Will sort that out later in that case.

Thanks for the good new fellas!

SamuriHL
27th June 2010, 14:06
If you need a fix for the silent stream bug, check out the anti-pop thread at SlySoft in the ReClock forum. That, IMO, is the only real issue left with the ATI driver and with that work around the ATI driver, for me, is clearly the best thing to use.

Skinleech
27th June 2010, 17:50
Awesome, thanks. Been out all day so will try it in an hour or so before we wit down to watch something.

Cheers for the help as always...

SamuriHL
27th June 2010, 17:57
If you have any problems, let me know. I've got it working great. I've got some stuff to do this week with MKV's. I've been gone for a week so we'll see how much things have improved.

Skinleech
27th June 2010, 20:26
Did it earlier, works like a charm - I have some Iron Maiden in DTS-HD MA pumping out of the speakers as I type.

Ffdshow works perfectly too, though the first file I tried took about 20 seconds to lock on to the audio stream, but the video was playing the whole time, so it pasued for another 20 to catch up. Other than that it all seems fine.

Huzzah, and bye bye Xonar!

SamuriHL
27th June 2010, 20:32
Check your settings in ffdshow. The compatibility options. Also check what renderer you're using. I have the connect as pcm first unchecked and try all formats as the option I use. I'm just using the "system default" renderer in MPC-HC.

Skinleech
28th June 2010, 11:54
Good point, I'll check that later.

What's the deal with ffdhsow revisions as well, I'm using quite an old one which was mentioned as working best with the Xonar. Is there any particular revision I should go for, or is the newest one fine?

Thanks again.

nevcairiel
28th June 2010, 14:10
The newest one is fine for me and my Xonar.

Only thing i can recommend is getting the "official" builds by clsid from sourceforge. I had some weird crashes with the builds from xvidvideo.ru

SamuriHL
28th June 2010, 15:24
Holy snikes! Yea, get the latest one. :) I currently am using the ones from xvidvideo.ru and don't seem to have any problems. I have both 32 and 64 bit builds so I can play MKV's in both WMP and 7MC. :)

SamuriHL
30th June 2010, 01:47
I need to request something of albain. Albain, buddy, if you're listening this would be helpful and I know what you're going to tell me. But I think this would be useful. :) First, I'm not sure who's not following the defaults properly. If I set NO subs to default, then I don't want subs playing. Now, here's my small request...can we have a "NONE" option on the actual subtitle menu? I know what you're going to say...just disable subtitles. That's not necessarily what I want, either. I just maybe want to turn them off for that one movie and not have to worry about enabling it again for the next movie. As for the text parsing, it's not parsing the ones done in MKVMerge, so, that's probably my fault for not setting the title. I'll fix it later. It's parsing the MakeMKV made ones just fine.

albain,

Did you get a chance to look at this post? I'm more concerned about following the default subtitle than I am anything else. ffdshow doesn't seem to respect the default setting. If no default subtitle track is set, ffdshow should set subs to "none". Otherwise it should honor whatever track is set to default. (I always set forced subs to default if there are any and none if there aren't, for example). Is this something that's possible? Thanks!

cge
1st July 2010, 13:56
Hi,
Another note about PGS subs, how to only display the forced subtitles which are in the normal PGS ?
Regards
Christophe

SamuriHL
1st July 2010, 13:59
The way I do it is to split them out into their own track and set that track to default. However, if ffdshow doesn't honor the default flag (or the splitter isn't...either way) then it doesn't work well. But when you make your MKV, create a separate forced track and set it to default.

cge
5th July 2010, 11:22
Hi Samuri,
Thanks for the hint, I'm using Blurip to do it, it's also able to mux nativ PGS and split into 2 tracks if there are forced sub !
Regarding the default sub track, I'm experiencing the same problem when I use Gabest splitter but that works fine with Haali which have a "No subtitles" choise (Visible when you right click on its tray icon) selected by default when no other tracks are set to default, unfortunately Haali doesn't work with DTS HD at least for me... So far I haven't found a good solution to be able to bitstream HD audio and correctly managed subs in 7MC, I guess it's more like a splitter issue than a sub renderer one !
Regards
Christophe

SamuriHL
5th July 2010, 21:31
I'm not sure yet. But, a new version of a new splitter just got posted and I just got back from my annual camping trip so I'll give that a try. I should have some time this week. We'll find out for sure where the issue with default subs happens to be. The reason it works with Haali is because there's an interface to be able to select it, and none is an option. The only way to get none with ffdshow is to turn off subs. Anyway, we'll see what we can come up with.

jasonwc
11th July 2010, 16:38
I found a weird issue after remuxing the Nordic Black Hawk Down BD which includes a DTS-HD MA 7.1 track. When I attempt to playback the video in Mediaportal or MPC-HC using ffdshow as the DTS decoder, it displays 8 channel DTS. However, the core DTS track is only 5.1. The audio is sped up to what seems to be 1.5x speed, and sounds like Alvin & the Chipmunks. The core plays fine in the MPC-HC internal DTS decoder.

This is what eac3to 3.22 displays about the track:

2: DTS Master Audio, 7.1 (strange setup) channels, 16 bits, 48kHz
(core: DTS, 5.1 channels, 16 bits, 1509kbps, 48kHz)
"DTS 5.1 @ 1509 Kbps"

It appears the issue is only with libavcodec. libdts works fine. No issues with MPC-HC's DTS decoder, either.

SamuriHL
17th July 2010, 03:57
FYI, the nVidia GTX 460 is apparently working with ffdshow according to reports from users on AVSForum. Albain, your bitstreaming code rocks man. :)

jasonwc
18th July 2010, 00:54
I have found some FLAC files that do not play properly with the ffdshow FLAC decoder. When merged into an MKV, they cause playback to stall in MPC-HC SVN rev. 2099. MPC-HC stalls at 1 frame rendered, at 0 fps.

The MKV plays without issue when using the MPC-HC FLAC decoder or MadFLAC.

Both FLACs were sourced from Blu-Rays (DTS-HD MA and LPCM, respectively)

Samples:

Everlasting Moments Sample w/ FLAC 5.1 Track :http://www.mediafire.com/?htglad3iozbdt2d

Close-Up Sample w/ FLAC 1.0 Track: http://www.mediafire.com/?goulfu8ylc6ycds

Tested with MPC-HC SVN rev. 2099, Haali 05/20/2010, ffdshow build 3488, and madFLAC 1.8

rica
21st July 2010, 02:16
albain,

when i want to use PCM streaming feature of ffdshow, i have to untick all the bitstream boxes and just leave "connect as PCM first" box ticked.
Reverse, when i want to use bitstreaming feature of ffdshow, this time i have to tick all the bitstream boxes and untick " connect as PCM first" box.

Please, i need a handy solution: what about just switching to:
"bitstream only" or "PCM only" boxes? Just two boxes?

Thanks in advance.

EDIT: Another request: Pls make ffdshow to select 16 or 24 bithdepth automatically by its own for PCM streaming.


_ _ _ _

Skinleech
23rd July 2010, 11:06
albain,

when i want to use PCM streaming feature of ffdshow, i have to untick all the bitstream boxes and just leave "connect as PCM first" box ticked.
Reverse, when i want to use bitstreaming feature of ffdshow, this time i have to tick all the bitstream boxes and untick " connect as PCM first" box.

Please, i need a handy solution: what about just switching to:
"bitstream only" or "PCM only" boxes? Just two boxes?

Thanks in advance.

EDIT: Another request: Pls make ffdshow to select 16 or 24 bithdepth automatically by its own for PCM streaming.


_ _ _ _

I've noticed similar, though it's only DD2.0 tracks that I have an issue with when bitstreaming with Connect as PCM ticked. Everything else is ok, but MPC tried to load conflicting audio filters, which results in the file not playing. As soon as connect as PCM is unticked the file plays fine.

mata7
23rd July 2010, 22:31
i use last version of ffdshow and bitstream everything fine, but can someone please tell me why FFDshow shows Input 96000 Hz, 8 Channels 1536kbps DTS(bitsream)? DTS-MA suppose have higher bitrates right? , is this a bug or something

my receiver denon 4310 display DTS-MA on the GUI but i wonder why ffdshow show 1536 bitrates

thanks in advance

SamuriHL
23rd July 2010, 22:47
Yes, it's a bug. Ignore it.

mata7
24th July 2010, 00:10
great, thanks samurihl

rica
25th July 2010, 00:57
Hi guys, i just gave it a go with my nVidia 460.

Results:

With mpc-hc.

bitstreaming is OK with Direct Sound Device.
PCM streaming is OK without downsampling via ReClock.


With Corel WinDVD 10.

bitstreaming is OK.
PCM streaming downsamples to 48/16 as expected.

SamuriHL
25th July 2010, 01:19
Very nice results. It may influence my decision when I replace the card in my bedroom HTPC.

rica
25th July 2010, 01:27
So it's time to get rid of my hybrid system :)

PS: Anyway neither intel Clarkdale nor nVidia has any override issues with my Denon 1910.
Hi AMD/Ati :) You still need our friend tulli.

SamuriHL
25th July 2010, 01:31
Still? I thought 10.6 fixed all that crap? Anyway, I don't have bitstreaming capability in my bedroom just yet. However, I may be getting a sound system upgrade in a month or two for the bedroom. If I do, then I'm going to want a new card and may seriously look into the nVidia cards. Especially since that machine is connected to a 24hz capable LCD screen.