Log in

View Full Version : tsMuxeR and Truehd


Pages : [1] 2

m1ke486837
13th September 2011, 11:17
I'm having issues muxing truehd audio streams with h264 streams using tsMuxeR 1.10.6. Resulting .m2ts file, or bluray/avchd structures, stutters and jumps every few seconds. Heard early versions of tsMuxeR had issues with truehd streams. Is this still a problem? Any alternatives? I'd like to keep untouched audio.

Roger1972
13th September 2011, 21:08
http://www.dvd-logic.com/easybd/

EasyBD Lite

m1ke486837
14th September 2011, 04:21
Thanks for the suggestion. EasyBD lite allows me to input raw h264 video streams, but doesn't allow truehd+ac3 audio streams. Supported audio streams include: .ac3, .dts, .dtshd, .ec3, .wav, and .mlp. I understand truehd uses and expands on mlp technology, but I'd like to include untouched truehd audio with as little overhead as possible.

Here is what I have:

1. Video.264 (re-encoded video with "mediacoder" straight from BD source)
2. Audio.thd+ac3 (Audio extracted with "eac3to" from BD source)
3. Subtitle.sup (subtitle extracted with "eac3to" from BD source)

I want to create avchd or bd folder structure using these 3 streams. tsMuxeR accomplishes this, but with the stuttering mentioned earlier.

Anyone else having similar problems? Any help is greatly appreciated.

QBhd
14th September 2011, 06:21
What media are you using to burn the encoded files? What are you trying to play back the files on (stand-alone BD? PC? PS3?) Is .mkv an option?

QB

Roger1972
14th September 2011, 08:18
What would you do exactly?

With this tool, you have many options.
BDRebuilder is a software to shrink a Blu-ray with all menus and extras using the x264 Encoder(H264 video). Backup Blu-ray to a DVDR(also called BD5 and BD9) or a BDR. Remove unwanted audio tracks, extra material or just keep the main movie. Backup Blu-ray to a single MP4 file(profiles for iPad and iPod) or a MKV file or a DVD-Video(movie only, no menus and extras). Requires ffdshow, Haali Media Splitter and avisynth. This is NOT a decrypter, use AnyDVD or DVDFab for Blu-ray decryption.
http://www.videohelp.com/tools/BD_Rebuilder

m1ke486837
14th September 2011, 19:39
The goal is to burn structure as BD9 so I can play on stand-alone BD players including ps3 (many of which do not support .mkv at this time). I've used BDRebuilder in the past, but like the control I have for x264 settings using mediacoder.

Can I specify x264 settings using BDRebuilder? Does BDRebuilder use tsMuxeR for muxing streams together? ..If so, are there inherent problems with truehd signals with resulting structure?

I'll check out BDRebuilder again... thanks for any continued support

QBhd
14th September 2011, 23:42
There are very specific encoder settings for BD9. I make these discs myself (have yet to do TrueHD though) but maybe mediacoder is not doing things quite right. These are the x264 settings I use:

--level 4.1 --bluray-compat --preset veryslow --tune film --pass 2 --bitrate xxxxx --stats ".stats" --keyint 48 --slices 4 --vbv-bufsize 15000 --vbv-maxrate 15000 --open-gop --sar 1:1

preset veryslow, tune film and bitrate can all be changed depending on time constraints, movie type and length of movie. If vbv-bufsize and vbv-maxrate are not set properly your disc may have playback issues... same goes for keyint.

I use these settings, make a Blu-Ray with TSMuxer, delete AUXDATA folder (Samsung standalone precaution) and then apply the AVCHD Patcher. These discs have yet to be un-playable on the standalones I have tried and they also work on the PS3.

Now I am not saying the TrueHD is NOT your problem, but I would make sure your encodes follow the BD9/5 guidelines found here:
Encoding Video for Blu-Ray using H264/AVC (http://forum.doom9.org/showthread.php?t=154533)

QB

m1ke486837
15th September 2011, 05:29
QB, thank you for the link regarding BD9 specs. I will keep this in mind for future encodes; although I thought avchd specs were 18000 maxrate, not 15000. Fairly new at this stuff, so I could be way off.

Stupidity alert -
All previous attempts at playing BD9 structure with truehd have been done with my computer using mpc-hc. Somewhere along the line, I must have modified preferred decoders or changed settings with them. I removed all codecs and installed lav filters 0.35, essentially starting from scratch. BD9 now plays smoothly with graphstudio showing lav filters handling both audio and video.

I will burn this to dvd-dl with imgburn, and try on standalone panasonic player. Will report back shortly.

Side note: I've heard avchd-patcher is no longer required. Anyone confirm?

m1ke486837
15th September 2011, 06:34
Update:

BD9 disc panasonic stand-alone results:

Video quickly stutters regularly. Audio has a slight static sound, and pops on occasion. Receiver shows HD signal coming through. Unwatchable.

Same BD9 disc played with mpc-hc on computer with only lav filters installed:

No problems with either video or audio. mpc-hc shows audio stream as being truehd 7.1, as it should.

Obviously the lav filters and codecs can properly handle the muxed data. Could it be a panasonic issue? Maybe a setting within imgburn, where the computer can handle, but stand-alone cannot? Any thoughts?

QB, do you have a truehd Bluray disc you can try to transcode to BD9? I will also try on ps3, and hopefully other stand-alones soon.

Ghitulescu
15th September 2011, 10:19
The optical drives used in standalones do not have the same specs as the PC drives, even if they are PC drives. They are not always capable of reading at the needed speed, especially from DVDR DLs. Maybe keeping the audio untouched, combined with a certain video bitrate, is the cause, it requires too much bandwidth and the drive is not able to get it from the disc. Try a better DL if you can, lower the writing speed, lower the total bitrate etc.

m1ke486837
15th September 2011, 17:51
Ghitulescu, good point on the bandwidth issue. I use verbatim discs, and burn at the slowest speed possible. My max bitrate setting within x264 was 40 Mbps, which theoretically could/should be a problem. However, I just tried identical settings for a movie with dtshd-ma rather than truehd, and it played perfect on panasonic.

Maybe truehd has more overhead, and combined with max bitrate of 40 Mbps, disc can't keep up? Definitely something going on with truehd.

I will try to rencode with avchd specs (lower max bitrate, etc) and see what happens. Encode takes awhile on my dinosaur machine, but I will update when I can. Any other thoughts/suggestions always welcome. Thanks all for input.

Ghitulescu
15th September 2011, 18:14
40Mbps could pose a problem even to the BDRs, not only to DVDRs, and even more for DVDR DLs.

m1ke486837
15th September 2011, 20:21
Mediainfo of source BD shows:

Overall bit rate : 35.1 Mbps
Maximum Overall bit rate : 48.0 Mbps

Mediainfo of my transcode shows:

Bit rate mode : Variable
Nominal bit rate : 6 350 Kbps (this is what I set in mediacoder, 2-pass)
Maximum bit rate : 40.0 Mbps

I am now trying:

Nominal bit rate: 6600 Kbps (had some room to spare on dvd-dl)
Maximum bit rate: 17000 Kbps (approx 16.6 Mbps)

Will keep posted

shon3i
16th September 2011, 00:36
lover -bufsize to 8000, and maxrate to 12000.

m1ke486837
16th September 2011, 04:17
shon3i,

definitely willing to try lowering buffer and max bitrate even more if I need to. Is there an explicit reason for these numbers, rather than the 18000 that avchd spec mentions? Have you tried creating BD9 with truehd audio? Just trying to nail this thing down...somewhat frustrating. Thanks for your suggestions.

QBhd
16th September 2011, 05:18
The reason is the media cannot supply the needed bandwidth to support bitrates above 15,000. Media spins at a certain speed and has a certain data density... DVD's have a much much lower density and thus info can only be pulled off at rates based on the media's limitations. Hence the 15,000 bufsize and maxrate.

QB

Midzuki
16th September 2011, 05:44
The reason is the media cannot supply the needed bandwidth to support bitrates above 15,000. Media spins at a certain speed and has a certain data density... DVD's have a much much lower density and thus info can only be pulled off at rates based on the media's limitations. Hence the 15,000 bufsize and maxrate.

Actually, the limitation is on the reading hardware, not on the DVD-media itself --- please read again what Ghitulescu said, 7 posts ago (http://forum.doom9.org/showthread.php?p=1526355#post1526355).

m1ke486837
16th September 2011, 11:33
I will try lower bitrate and buffer sizes, and see what happens. I guess more of my confusion comes from why dtshd-ma audio works with my BD9, and not truehd...regardless of bitrate and buffer settings.

QBhd
16th September 2011, 12:05
Actually, the limitation is on the reading hardware, not on the DVD-media itself --- please read again what Ghitulescu said, 7 posts ago (http://forum.doom9.org/showthread.php?p=1526355#post1526355).

You are correct of course, however I was not talking PC optical drive vs standalone optical drive specs. I was talking about DVD media vs BluRay media and why there is a need for lower bitrates on the encodes. On the same standalone optical drive, the BluRay media is able to sustain higher bitrates due to it's greater density compared to DVD media.

As a side note... is the OP sure his BluRay can decode TrueHD? Just curious since I came across this (http://en.wikipedia.org/wiki/Blu-ray_Disc):
For audio, BD-ROM players are required to support Dolby Digital (AC-3), DTS, and linear PCM. Players may optionally support Dolby Digital Plus and DTS-HD High Resolution Audio as well as lossless formats Dolby TrueHD and DTS-HD Master Audio.[97] BD-ROM titles must use one of the mandatory schemes for the primary soundtrack. A secondary audiotrack, if present, may use any of the mandatory or optional codecs.

Long shot I know, but...

QB

Ghitulescu
16th September 2011, 14:02
You are correct of course, however I was not talking PC optical drive vs standalone optical drive specs. I was talking about DVD media vs BluRay media and why there is a need for lower bitrates on the encodes. On the same standalone optical drive, the BluRay media is able to sustain higher bitrates due to it's greater density compared to DVD media.

You're correct, the BD/R/ROM/RE can support a higher bitrate than its DVD counterpart.
On the other hand, the reading speed is different from one disc to another, with DL being the lowest (not only because it has to focus differently than SL, but also because DL usually have a higher amount of errors).

Midzuki
16th September 2011, 15:16
On the same standalone optical drive, the BluRay media is able to sustain higher bitrates due to it's greater density compared to DVD media.

Assuming that the reading device «doesn't want» :devil: to spin the DVDs @ 4/6/8 X, of course.

JMNSHO, but I keep seeing no essential difference from the OLD cheap excuses for most DVD-players not to support cDVDs (aka "VIDEO_TS on a Compact Disc").

[end of OT-ness]

m1ke486837
16th September 2011, 20:47
Update:

Completed rencode of video with the following settings as displayed via mediainfo:

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 27
Duration : 1h 33mn
Bit rate mode : Variable
Nominal bit rate : 6 600 Kbps
Maximum bit rate : 17.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.133
Writing library : x264 core 116 r2057 0ba8a9c
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=40 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=1 / keyint=48 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=48 / rc=2pass / mbtree=1 / bitrate=6600 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=17000 / vbv_bufsize=17000 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00

Result is the same when playing on stand-alone panasonic bluray player. As mentioned before, exact settings have been used on movies containing dtshd-ma audio, rather than truehd, and have played flawlessly.

Tested source BD on the panasonic, and it too plays without issue. I have an LG WH10LS30 bluray burner that I have been ripping movie to hard drive with. I can lower the bitrate settings more, but I feel that may not be the issue. Truehd is doing something. I am at a loss.

QBhd
17th September 2011, 03:25
I see a few problem with the encode right off the bat.

vbv_maxrate=17000 (Should be 15000)
vbv_bufsize=17000 (should be 15000)
keyint_min=24 (should be 25 as per this "The maximum allowed value for min-keyint is --keyint/2+1 (http://mewiki.project357.com/wiki/X264_Settings#min-keyint)"

There are also these two that are different from my BD9 encodes: fast_pskip=1 / b_adapt=2 / ... and I don't think these would have much effect.

QB

m1ke486837
17th September 2011, 05:25
I will lower bitrate and buffer to 15000, but I don't think that is the issue, as even higher rates work with encodes containing dtshd-ma streams.

As for keyint_min=24, it says recommended is default or 1x your framerate. My framerate for movies are 23.976.

I will change the fast_pskip to 1, and b_adapt to 2. These are included with the very slow preset, and think they will be beneficial for my encodes.

Just curious if you have done BD9's with truehd audio. This seems to be the only problem I am having, and if you have successfully done it, I want the secret :D

Thanks for your continued input to this frustrating problem.

iSeries
17th September 2011, 06:03
In order to have keyint=48 you need to set vbv_maxrate and vbv_bufsize to 15000. If you go higher, you need to set keyint=24. Don't manually specify keyint_min, use the x264 default. If you post your encoding command line instead of MediaInfo details it would be easier to see where the problems lie.

As previously indicated, all you need to know regarding Bluray / AVCHD encoding settings is here: http://forum.doom9.org/showthread.php?t=154533.

Also remember an AVCHD disc with a TrueHD audio track is not part of the AVCHD spec so this could be another reason why it won't play properly. Have you tested the same encode with an AC3 track?

m1ke486837
17th September 2011, 06:34
iSeries, thank you for the info. Looks as though you are correct in the limit of avchd of playing either ac3 or linear pcm audio. Strangely I've made several discs using dtshd-ma that play without problem, despite being out of spec. Have not tried ac3. Could be that truehd pushes the limit?

Another thought: I've been using eac3to to extract the audio stream from the source BD. Is it possible there is a problem of eac3to to correctly extract truehd? I find this doubtful.

I will modify the encoder settings more, and continue to test. After encode, I will try and post command lines used.

Would love to get this nailed down. Although may become a moot point, as BD-RE discs continue to drop in price.

iSeries
17th September 2011, 06:39
I do seem to remember reading something about eac3to not being able to correct any overlaps when extracting TrueHD, could be wrong though - you might want to search the eac3to thread.

Personally I wouldn't sacrifice video quality in order to accomodate TrueHD / DTS-MA on a BD9 anyway ;)

Also remember even though your BD9's with DTS-MA play fine on your current player, it is out of spec and may not play on other players.

m1ke486837
17th September 2011, 06:48
I will ask around on the eac3to threads.

Good point on wasting space for truehd :D Some movies I feel deserve high def audio, and I suppose I've found a workaround if I must have it. Used eac3to to extract wav files for each channel (my case it was 7.1) From there, I used dts-hd master audio suite to create dtshd-ma track from the wavs. That seemed to work. A little ridiculous, and I would prefer to get this truehd issue down if possible.

QBhd
17th September 2011, 08:06
As for keyint_min=24, it says recommended is default or 1x your framerate. My framerate for movies are 23.976.


You did not read the crucial part of the the info. The part I quoted above... "The maximum allowed value for min-keyint is --keyint/2+1 " See the "+1", that's nothing to ignore. It just so happens that default is 25 as well as (48/2)+1 :)

As a side note regarding video quality sacrifices to accommodate HD audio... I will make a two disc BD9 to maintain bitrates above 10k :)

QB

m1ke486837
17th September 2011, 15:42
QB, --keyint/2+1 noted... thank you. Making a little more sense now.

Interesting development. Was able to test my last BD9 that failed on my panasonic with a ps3, and it played without problems. Don't know much about the ps3 hardware, but I believe audio streams are decoded by the ps3 rather than passed through untouched to the receiver. Maybe that has something to do with it? I will try to test on other stand-alones. In the mean time I am performing another encode.

Any thoughts on why ps3 plays disc with no problems, but my panasonic cannot?

nixo
17th September 2011, 16:42
In order to have keyint=48 you need to set vbv_maxrate and vbv_bufsize to 15000. If you go higher, you need to set keyint=24. Don't manually specify keyint_min, use the x264 default.

iSeries is right. There is no need to maximize keyint_min. Keep it at 1, 2 or unspecified. The default is "auto":
http://forum.doom9.org/showthread.php?p=1390444#post1390444

The recommendation of 1x your framerate is not meant for short GOP material(Blu-ray/AVCHD).

--
Nikolaj

iSeries
17th September 2011, 19:08
Thanks nixo, I should have expanded to say that. The default keyint_min for 23.976 / 24 fps material and blu-ray encoding settings will be 2.

iSeries
18th September 2011, 08:54
Hi again,

I'm not sure what you're using to encode but this the command line I would use for BD9 output:

"input.file" --fps 24000/1001 --force-cfr --pass 1 --bitrate ***** --stats "X:\Temp\x264_2pass.log" --preset slow --bluray-compat --level 4.0 --tune film --keyint 48 --open-gop --pic-struct --sar 1:1 --partitions all --qpfile "X:\Temp\Qpfile.txt" --vbv-maxrate 15000 --vbv-bufsize 15000 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output "X:\Temp\video.264"

"input.file" --fps 24000/1001 --force-cfr --pass 2 --bitrate ***** --stats "X:\Temp\x264_2pass.log" --preset slow --bluray-compat --level 4.0 --tune film --keyint 48 --open-gop --pic-struct --sar 1:1 --partitions all --qpfile "X:\Temp\Qpfile.txt" --vbv-maxrate 15000 --vbv-bufsize 15000 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output "X:\Temp\video.264"

Not sure what you're using to enode but if you're using some kind of GUI I expect it will make some of these settings for you so you don't have to.

m1ke486837
19th September 2011, 20:59
I use mediacoder to do my encoding, and unfortunately have not figured a way of viewing x264 command line. I just finished another encoding with the following settings shown with mediainfo:

x264 core 116 r2057 0ba8a9c
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=40 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=1 / keyint=48 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=48 / rc=2pass / mbtree=1 / bitrate=6700 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=15000 / vbv_bufsize=15000 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00

This BD9 again failed to run smoothly on my panasonic, but as previously mentioned, ran great with ps3. What is the ps3 doing that my panasonic is not?

iSeries
19th September 2011, 23:03
It could be that the Panasonic is pickier about what it plays and doesn't like TrueHD on AVCHD.

Or it could be your settings, ie using keyint_min=25 instead of the x264 default of keyint_min=2 with 23.976 fps material and blu ray settings.

You could always try BD Rebuilder or BDtoAVCHD, either will give you a BD9 that will play on your Panasonic with minimal effort on your part.

m1ke486837
20th September 2011, 04:58
iSeries, thanks for the suggestion. I've used bd rebuilder in the past for BD25 creation, and was pleased with it. I'm giving BDtoAVCHD a shot for BD9 with the very slow preset, and untouched audio to see if it plays on my panasonic. I'll update when its done.

m1ke486837
21st September 2011, 05:55
Using BDtoAVCHD with "very slow" preset is accurate, as this encode is taking forever. Will be done in about 14 hrs, with a total running time of nearly 40 hrs. Desperately need an upgrade to my computer.

Let's hope this encode can play properly on my panasonic with truehd audio. If not, I may have to chalk it up as a loss, and assume my player does not handle truehd with avchd specs very well. I'll try to find other players, other than the ps3, that can play these discs.

iSeries
21st September 2011, 09:35
I personally think its madness going beyond preset slow :D

m1ke486837
21st September 2011, 19:01
I believe you are right regarding the very slow setting. Not sure I can tell the difference anyway.

My encode completed, but unfortunately I cannot burn to disc, as it is approx 4 mb too big. Frustrating. I figured I could overburn the disc, but imgburn says something about zone capacity exceeded. Despite hitting continue, it ultimately fails. So much for testing that disc.

I like BDtoAVCHD for its simplicity, however I wish it could more accurately determine bitrate so it would fit properly on the selected media (BD5/9, BD25)

setarip_old
21st September 2011, 20:12
Although I don't know if this will impact you directly, IIRC, multiAVCHD has special settings specifically related to Panasonic products:

http://webcache.googleusercontent.com/search?q=cache:42WFJVnmWckJ:multiavchd.deanbg.com/version_history.txt+panasonic%2BmultiAVCHD&cd=3&hl=en&ct=clnk&gl=us

iSeries
22nd September 2011, 17:31
Hi,

Sorry I really should have mentioned, encodes with BDtoAVCHD always seem to come out a tiny bit too big for me as well with the preset sizes! Use a custom target size and reduce it a bit from the preset BD9 size, say 95%. I think it can determine accurately the bitrate needed to hit a particular target size, I just think the preset target sizes are too big.

You could use the medium preset if you are just doing a test, no need to wait for slow or veryslow.

m1ke486837
22nd September 2011, 22:44
No worries iSeries...I can adjust in the future.

I have basically decided that my panasonic player has issues playing avchd BD9 discs containing truehd audio. I may give multiavchd a try (thanks setarip_old), as it has specific outputs for panasonic players.

However, at some point I am going to build a htpc, and will no longer need to create BD9 discs. In addition, 25gb bluray discs are becoming cheaper. As such, I will create hd backups onto bluray discs, and create more reasonable sized mkv backups for use with my htpc.

Thanks everybody for your efforts in trying to solve this problem. I've learned quite a bit, and if I happen to find a solution, I will update all.

IanD
24th September 2011, 06:14
TrueHD audio tracks usually contain an interleaved AC3 track for legacy playback. I'm wondering if this combo track causes issues when processed into other structures with certain players.

Have you tried extracting just the TrueHD track without the interleaved AC3 and using that instead?

IIRC DVD media used to host HD-DVD material was often referred to as "3x HD-DVD", presumably because the disc needed to be played back at 3x normal speed to achieve the required data throughput rates. Bluray is probably more onerous, so I wouldn't be surprised if DVD media are required to spin at more than 3x continuously when hosting this material and this could stress playback capability. I also understand that the innermost tracks of DVD media have the lowest data rate on the disc: when you rip a DVD, the best speed it usually starts off with is about 2x, so it wouldn't surprise me if DVD media does exhibit playback issues at the beginning of a title if it actually requires more than 3x spin speed. I vaguely recall suggestions about placing dummy files at the beginning of DVD media used for HD playback, to ensure that those slow innermost tracks would not get used for playing back the HD files, but I don't remember how big those dummy files needed to be.

Quality 25GB BD media is now around the same price per GB as quality DVD media, so there is really no point in using DVD for HD storage: Panasonic 25GB can be purchased for around $2/disc from Japan via ebay in cake boxes of 30.

m1ke486837
24th September 2011, 07:02
IanD, interesting point you bring up about dvd read speeds, and while I can't rule this out entirely, I find it odd that the same video stream (encoding settings) used with dtshd-ma plays fine, where those with truehd do not.

This brings me to your other point about using strictly the truehd part of the audio. I was under the impression that both dtshd and truehd needed a "core" (dts core and ac3 respectively) track to function properly. The "HD" aspect is extra information added to these core streams. I may be off base though.

If you are right about the interleaved ac3 track being the problem, and truehd can function without it, the next question is how do I incorporate it. tsMuxeR will not recognize a truehd stream without its ac3 core. Are there any programs that can achieve this?

Also, you are absolutely right regarding the price of bluray discs, which is why my days of BD5/9 creation are numbered :D

nixo
26th September 2011, 14:12
This brings me to your other point about using strictly the truehd part of the audio. I was under the impression that both dtshd and truehd needed a "core" (dts core and ac3 respectively) track to function properly. The "HD" aspect is extra information added to these core streams. I may be off base though.


This is the case for DTS-HD. TrueHD works perfectly well without the embedded ac3 track, but such a track is not legal for BD. Neither DTS-HD nor TrueHD is allowed for AVCHD without breaking spec.

--
Nikolaj

m1ke486837
27th September 2011, 23:18
Thanks nixo for the info. If I can find a program that can handle just the truehd stream (one without the interleaved ac3 portion) I will give it a shot. As you mentioned, dtshd and truehd are both out of spec for avchd, so I will not hold my breath.

bmcelvan
8th January 2015, 19:43
Thanks nixo for the info. If I can find a program that can handle just the truehd stream (one without the interleaved ac3 portion) I will give it a shot. As you mentioned, dtshd and truehd are both out of spec for avchd, so I will not hold my breath.

It has been a long ass time...did you ever get this resolved?

I can tell you how to convert TrueHD to both interweave and then back out of it again if you need to know how.

Oh and tsmuxer will only accept the interweave with the ac3 core. It will not see the TrueHD stand alone however mkvmerge will.

bmcelvan
8th January 2015, 19:45
On a different note, does anyone know software that will give true specs of TrueHD, whether it is 16 or 24 bit. Or is bluray TrueHD ALWAYS 24 bit?

Looking to encode to FLAC and want to know if I need to use FLAC16 or FLAC24 to not lose any fidelity. Tsmuxer doesn't display this info, nor does mediainfo, dvdfab or eac3 properly as far as I can tell...only ever shows 16bit.

Emulgator
8th January 2015, 20:47
mediainfo 0.7.71 does it. (Ha ! Not.) Just checked it with BD Life of Brian.
Audio #2 and #3 are shown as Dolby TrueHD/AC3 5.1 with 48kHz/16 bit for the lossless part.

P.S. Hm, you seem to be right, just checked "Matrix Revolutions"
and where MediaInfo claims 16bit, LAV Audio sees 24bit integer.

Moreover, LAV Video sees 2 video streams (angles)
VC-1 @ L3 1920x1080 + VC-1 @ L2 720x480,
(which is what I see when using a standalone)
Mediainfo reports...MPEG-2 Main@Main 720x480 + VC-1 @L2 720x480.

Curious about MPC-HC + LAV for "Life of Brian ?
Also 24bit integer for 3 tracks of Dolby TrueHD audio...

So playing and analysing it with MPC-HC and LAV seems to be your best bet.
After all, a player has to know what he has in hands ;-}

Worth reporting to zenitram.

bmcelvan
8th January 2015, 21:20
Thanks for the reply. I had no idea what you were talking about...so I just downloaded the newest klite pack and now it makes perfect sense. I never knew you could have the LAV filters displayed on the statusbar and just open them up to see "active" data. That's awesome!!

Is zenitram the author of mediainfo?

Cheers!

Ben