DolbyTrueHD 7.1 to AC3 7.1 results in AC3 5.1

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

DolbyTrueHD 7.1 to AC3 7.1 results in AC3 5.1

Post by N!ghtW4lk3r »

Topic says everything :)
Known? Bug? Limited by format/codec? Or user problem?

I know that DolbyTrueHD passthrough is causing trouble... converting too?

Handbrake 0.10.5.0 @ Win7 (x64)
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: DolbyTrueHD 7.1 to AC3 7.1 results in AC3 5.1

Post by rollin_eng »

Could you please post your logs, instructions can be found here:

viewtopic.php?f=6&t=31236
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

Re: DolbyTrueHD 7.1 to AC3 7.1 results in AC3 5.1

Post by N!ghtW4lk3r »

Yeah. I know that. But i can't. I converted the file some days ago and since nothing went visible 'wrong' i deleted the logs.
EDIT:
I see that handbrake itself keeps logs in the user directory. nice. so here is the log:

Code: Select all

HandBrake 0.10.5.0 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Ram: 16210 MB, 
GPU Information:
  Intel(R) HD Graphics 4000 - 10.18.10.4226
  NVIDIA GeForce GTX 650 Ti  - 10.18.13.6175
Screen: 1920x1080

-------------------------------------------

CLI Query:  -i "q:\SOURCE" -t 7 --angle 1 -c 1-13 -o "q:\movie.mkv"  -f mkv  -w 1280 --crop 0:0:0:0 --loose-anamorphic  --modulus 4 -e x264 -q 18 --vfr -a 3,2 -E ac3,copy -6 7point1,none -R 48,Auto -B 640,0 -D 0,0 --gain 0,0 --audio-copy-mask ac3,mp3 --audio-fallback ac3 --subtitle 2 --markers="chapters.csv" --encoder-preset=veryslow  --encoder-tune="film"  --encoder-level="4.1"  --encoder-profile=high  --verbose=1 --disable-qsv-decoding -U 

[23:19:48] hb_init: starting libhb thread
HandBrake 0.10.5 (2016021100) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening q:\SOURCE...
[23:19:48] CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[23:19:48]  - Intel microarchitecture Ivy Bridge
[23:19:48]  - logical processor count: 8
[23:19:48] OpenCL device #1: NVIDIA Corporation GeForce GTX 650 Ti
[23:19:48]  - OpenCL version: 1.2 CUDA
[23:19:48]  - driver version: 361.75
[23:19:48]  - device type:    GPU
[23:19:48]  - supported:      no
[23:19:48] Intel Quick Sync Video support: yes
[23:19:48]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[23:19:48]  - H.264 encoder: yes
[23:19:48]     - preferred implementation: hardware (any)
[23:19:48]  - H.265 encoder: no
[23:19:48] hb_scan: path=q:\SOURCE, title_index=7
[23:19:48] scan: BD has 49 title(s)
[23:19:48] bd: scanning title 7
[23:19:48] bd: playlist 00100.MPLS
[23:19:48] bd: duration is 02:01:43 (7303296 ms)
[23:19:48] bd: video id=0x1011, stream type=H.264, format 1080p
[23:19:48] bd: aspect = 1.77778
[23:19:48] bd: audio id=0x1100, lang=English (E-AC3), 3cc=eng
[23:19:48] bd: audio id=0x761101, lang=Deutsch (AC3), 3cc=deu
[23:19:48] bd: audio id=0x721101, lang=Deutsch (TrueHD), 3cc=deu
[23:19:48] bd: subtitle id=0x1200, lang=English, 3cc=eng
[23:19:48] bd: subtitle id=0x1201, lang=Deutsch, 3cc=deu
[23:19:48] bd: subtitle id=0x1202, lang=Deutsch, 3cc=deu
[23:19:48] bd: chap 1 packet=768, 727518 ms
[23:19:48] bd: chap 2 packet=2820856704, 552218 ms
[23:19:48] bd: chap 3 packet=5160672768, 732231 ms
[23:19:48] bd: chap 4 packet=8305088640, 545044 ms
[23:19:48] bd: chap 5 packet=10658049408, 535701 ms
[23:19:48] bd: chap 6 packet=12942750912, 913120 ms
[23:19:48] bd: chap 7 packet=16879012608, 388179 ms
[23:19:48] bd: chap 8 packet=18406258368, 609275 ms
[23:19:48] bd: chap 9 packet=20837130624, 624582 ms
[23:19:48] bd: chap 10 packet=23531506560, 574156 ms
[23:19:48] bd: chap 11 packet=26067853824, 578744 ms
[23:19:48] bd: chap 12 packet=28496046912, 522146 ms
[23:19:48] bd: chap 13 packet=29941212288, 375 ms
[23:19:48] bd: title 7 has 13 chapters
[23:19:48] scan: decoding previews for title 7
[23:19:48] scan: title angle(s) 1
[23:19:48] scan: audio 0x761101: ac3, rate=48000Hz, bitrate=384000 Deutsch (AC3) (5.1 ch) (Dolby Digital EX)
[23:19:48] scan: audio 0x1100: eac3, rate=48000Hz, bitrate=640000 English (E-AC3) (5.1 ch)
[23:19:48] scan: audio 0x721101: truehd, rate=48000Hz, bitrate=200000 Deutsch (TrueHD) (7.1 ch)
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 7, 70.00 %
Scanning title 1 of 1, preview 9, 90.00 %[23:19:49] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[23:19:49] stream: 6 good frames, 0 errors (0%)
[23:19:49] libhb: scan thread found 1 valid title(s)
+ title 7:
  + playlist: 00100.MPLS
  + duration: 02:01:43
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:12:08
    + 2: cells 0->0, 0 blocks, duration 00:09:12
    + 3: cells 0->0, 0 blocks, duration 00:12:12
    + 4: cells 0->0, 0 blocks, duration 00:09:05
    + 5: cells 0->0, 0 blocks, duration 00:08:56
    + 6: cells 0->0, 0 blocks, duration 00:15:13
    + 7: cells 0->0, 0 blocks, duration 00:06:28
    + 8: cells 0->0, 0 blocks, duration 00:10:09
    + 9: cells 0->0, 0 blocks, duration 00:10:25
    + 10: cells 0->0, 0 blocks, duration 00:09:34
    + 11: cells 0->0, 0 blocks, duration 00:09:39
    + 12: cells 0->0, 0 blocks, duration 00:08:42
    + 13: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (E-AC3) (5.1 ch) (iso639-2: eng)
    + 2, Deutsch (AC3) (5.1 ch) (Dolby Digital EX) (iso639-2: deu), 48000Hz, 384000bps
    + 3, Deutsch (TrueHD) (7.1 ch) (iso639-2: deu)
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
    + 2, Deutsch (iso639-2: deu) (Bitmap)(PGS)
    + 3, Deutsch (iso639-2: deu) (Bitmap)(PGS)
Reading chapter markers from file chapters.csv
[23:19:49] 1 job(s) to process
[23:19:49] starting job
[23:19:49] Auto Passthru: allowed codecs are AC3, MP3
[23:19:49] Auto Passthru: fallback is AC3
[23:19:49] Auto Passthru: using AC3 Passthru for track 2
[23:19:49] work: sanitizing track 1 mixdown 7.1 Channels to 5.1 Channels
[23:19:49] sync: expecting 175104 video frames
[23:19:49] job configuration:
[23:19:49]  * source
[23:19:49]    + q:\SOURCE
[23:19:49]    + title 7, chapter(s) 1 to 13
[23:19:49]  * destination
[23:19:49]    + q:\movie.mkv
[23:19:49]    + container: Matroska (libavformat)
[23:19:49]      + chapter markers
[23:19:49]  * video track
[23:19:49]    + decoder: h264
[23:19:49]      + bitrate 200 kbps
[23:19:49]    + filters
[23:19:49]      + Framerate Shaper (0:27000000:1126125)
[23:19:49]        + frame rate: same as source (around 23.976 fps)
[23:19:49]      + Crop and Scale (1280:720:0:0:0:0)
[23:19:49]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1280 * 720
[23:19:49]    + loose anamorphic
[23:19:49]      + storage dimensions: 1280 * 720, mod 4
[23:19:49]      + pixel aspect ratio: 1 / 1
[23:19:49]      + display dimensions: 1280 * 720
[23:19:49]    + encoder: H.264 (libx264)
[23:19:49]      + preset:  veryslow
[23:19:49]      + tune:    film
[23:19:49]      + profile: high
[23:19:49]      + level:   4.1
[23:19:49]      + quality: 18.00 (RF)
[23:19:49]  * subtitle track 1, Deutsch (track 1, id 0x1201) Picture [PGS] -> Passthrough
[23:19:49]  * audio track 1
[23:19:49]    + decoder: Deutsch (TrueHD) (7.1 ch) (track 3, id 0x721101)
[23:19:49]      + bitrate: 200 kbps, samplerate: 48000 Hz
[23:19:49]    + mixdown: 5.1 Channels
[23:19:49]    + encoder: AC3 (libavcodec)
[23:19:49]      + bitrate: 640 kbps, samplerate: 48000 Hz
[23:19:49]  * audio track 2
[23:19:49]    + decoder: Deutsch (AC3) (5.1 ch) (Dolby Digital EX) (track 2, id 0x761101)
[23:19:49]      + bitrate: 384 kbps, samplerate: 48000 Hz
[23:19:49]    + AC3 Passthru
[23:19:49] encx264: min-keyint: 24, keyint: 240
[23:19:49] encx264: encoding at constant RF 18.000000
[23:19:49] encx264: unparsed options: level=4.1:ref=9:bframes=8:b-adapt=2:direct=auto:deblock=-1,-1:analyse=all:me=umh:merange=24:subme=10:trellis=2:psy-rd=1.00,0.15:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=60
x264 [info]: using SAR=1/1
[23:19:49] reader: first SCR 1044806 id 0x1011 DTS 1044806
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1
[23:19:49] h264: "Chapter 1" (1) at frame 0 time 0
[23:19:49] sync: video time didn't advance - dropped 1 frames (delta 0 ms, current 0, next 3753, dur 3753)
[23:38:53] h264: "Chapter 2" (2) at frame 17445 time 65484168
[23:58:55] h264: "Chapter 3" (3) at frame 30685 time 115183818
[00:28:21] h264: "Chapter 4" (4) at frame 48241 time 181084653
[00:52:19] h264: "Chapter 5" (5) at frame 61309 time 230138658
[01:16:52] h264: "Chapter 6" (6) at frame 74153 time 278351823
[02:05:24] h264: "Chapter 7" (7) at frame 96046 time 360532672
[02:21:47] h264: "Chapter 8" (8) at frame 105353 time 395468823
[02:45:37] h264: "Chapter 9" (9) at frame 119961 time 450303603
[03:07:40] h264: "Chapter 10" (10) at frame 134936 time 506516010
[03:32:03] h264: "Chapter 11" (11) at frame 148702 time 558190132
[03:49:19] h264: "Chapter 12" (12) at frame 162578 time 610277167
[03:53:43] reader: done. 2 scr changes
[03:53:44] h264: "Chapter 13" (13) at frame 175088 time 657236580
[03:53:47] work: average encoding speed for job is 10.652285 fps
[03:53:47] sync: got 175103 frames, 175104 expected
[03:53:47] render: lost time: 0 (0 frames)
[03:53:47] render: gained time: 0 (0 frames) (0 not accounted for)
[03:53:47] h264-decoder done: 175104 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:1233  Avg QP:14.51  size:104283
x264 [info]: frame P:43655 Avg QP:18.89  size: 39624
x264 [info]: frame B:130215 Avg QP:20.48  size: 18507
x264 [info]: consecutive B-frames:  3.0%  3.7% 12.6% 34.7% 16.2% 21.6%  3.8%  2.4%  2.1%
x264 [info]: mb I  I16..4: 12.8% 70.7% 16.6%
x264 [info]: mb P  I16..4:  3.7% 23.2%  2.7%  P16..4: 36.2% 13.5%  8.7%  0.4%  0.1%    skip:11.5%
x264 [info]: mb B  I16..4:  0.4%  3.6%  0.5%  B16..8: 37.5% 11.0%  2.7%  direct: 7.4%  skip:36.7%  L0:44.3% L1:44.4% BI:11.2%
x264 [info]: 8x8 transform intra:78.1% inter:73.6%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 77.2% 79.6% 52.4% inter: 25.8% 27.0% 7.3%
x264 [info]: i16 v,h,dc,p: 23% 16%  9% 52%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 11%  9%  8% 13% 12% 14% 11% 14%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 11%  5%  8% 15% 12% 16% 10% 16%
x264 [info]: i8c dc,h,v,p: 45% 23% 15% 17%
x264 [info]: Weighted P-Frames: Y:8.2% UV:4.9%
x264 [info]: ref P L0: 47.0%  9.3% 17.3%  7.7%  5.9%  4.2%  3.5%  2.3%  2.2%  0.5%  0.0%
x264 [info]: ref B L0: 75.8% 11.2%  5.4%  2.8%  2.0%  1.5%  0.9%  0.4%
x264 [info]: ref B L1: 93.3%  6.7%
x264 [info]: kb/s:4675.46
[03:53:47] truehd-decoder done: 0 frames, 0 decoder errors, 0 drops
[03:53:47] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[03:53:47] mux: track 0, 175103 frames, 4268208388 bytes, 4675.38 kbps, fifo 2048
[03:53:47] mux: track 1, 228228 frames, 584263680 bytes, 640.00 kbps, fifo 4096
[03:53:47] mux: track 2, 228228 frames, 350558208 bytes, 384.00 kbps, fifo 4096
[03:53:47] mux: track 3, 3044 frames, 33535629 bytes, 36.73 kbps, fifo 64
[03:53:47] stream: 175104 good frames, 0 errors (0%)
[03:53:47] libhb: work result = 0
Encode done!
HandBrake has exited.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5723
Joined: Sat Feb 09, 2008 7:21 pm

Re: DolbyTrueHD 7.1 to AC3 7.1 results in AC3 5.1

Post by JohnAStebbins »

The AC-3 encoder doesn't support encoding to 7.1. If the GUI is allowing you to set a mixdown of 7.1 when the AC-3 encoder is selected, then that is a GUI buglet.
N!ghtW4lk3r
Posts: 21
Joined: Mon May 19, 2014 5:14 pm

Re: DolbyTrueHD 7.1 to AC3 7.1 results in AC3 5.1

Post by N!ghtW4lk3r »

Then the GUI is buggy.

Are there any other compressed audio codecs which support 7.1 output (...and are supported by (most) home cinema systems)?
Post Reply