ATV3 Audio issue suddenly

Discuss encoding for devices and presets.
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.
Locked
pookie
Posts: 5
Joined: Tue Jan 05, 2016 1:10 am

ATV3 Audio issue suddenly

Post by pookie »

Hi all,

I have been using Handbrake for years firstly on my Imac, then on my PC without issues. Very easy to just load a file, select ATV3 preset, and wait. The result has always been great video quality on 1080p 30fps and either 5.1 DD surround or DTS 5.1ch surround sound (depending on source file).

But

these past few weeks something has happened. Every time I try do a convert the output file ends up in 2ch stereo :(

I know it's not my ATV3 setting because I can play 5.1 through it with other files, plus, when I check the details of the output file it shows as just being 2ch stereo.

I check the input file (6ch), many different attempts on various files. But always comes out as 2ch stereo.

I'm thinking something wrong with my ATV3 pre-set?

For example, I have a file I am trying to convert now. The file extension is .mkv, the original audio is: 640kbps, 6ch, 48khz. But when I convert it the audio just comes back out as 2ch stereo :( arghhhhh....this never use to happen.

The settings on Handbrake are: 1. English (E-AC3)[5.1ch] - Codec = (AAC) [avcodec] - bitrate [160] - mixdown [dolby pro-logic II]; and
2. English (E-AC3)[5.1ch] - AC3 Passthru

I have no idea what is going wrong :(

Any ideas most appreciated.

Thank you.

Pookie
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: ATV3 Audio issue suddenly

Post by Woodstock »

And, without a log showing what is going on, we don't know, either.

Likely candidates are that your input audio is not the same as it was before, and HB is falling back to different defaults. But, a log would show that, especially if we have examples of a log from each of a "working" and "not working" encode.

The red-on-pink box above explains how to retrieve your logs, and why they're required.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: ATV3 Audio issue suddenly

Post by mduell »

Activity Log is required for support requests. See Must Read: How To Get Questions Answered on These Forums for details
pookie
Posts: 5
Joined: Tue Jan 05, 2016 1:10 am

Re: ATV3 Audio issue suddenly

Post by pookie »

My apologies, log file to follow shortly...
pookie
Posts: 5
Joined: Tue Jan 05, 2016 1:10 am

Re: ATV3 Audio issue suddenly

Post by pookie »

Ok, so I just did the conversion again, same issue. I have a screenshot of the source file audio details and of the converted file audio details. Source file if 5.1ch but output file is only 2ch stereo. Played the source file on my PC and it plays 5.1 surround, but the output file plays just 2ch stereo. Same on my ATV3, only 2ch stereo. Not sure how to post pics here though.


Anyway here is the LOG FILE:

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Ram: 16285 MB,
GPU Information:
NVIDIA GeForce GTX 1070 - 22.21.13.8205
Intel(R) HD Graphics 630 - 21.20.16.4550
Screen: 2560x1440
Temp Dir: C:\Users\Pookie\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Pookie\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[11:44:04] hb_init: starting libhb thread
[11:44:04] 1 job(s) to process
[11:44:04] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 6,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
},
{
"DRC": 0.0,
"Encoder": 1073743872,
"Gain": 0.0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"File": "D:\\Unwatched Video Storage\\Gotham.s04e01.pax.penguina.1080p.web-dl.ddp5.1.h.264-casstudio-1.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 131072
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\Pookie\\Desktop\\Movies\\To be converted\\Gotham.S04E01.Pax.Penguina.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\\Gotham.S04E01.Pax.Penguina.1080p.WEB-DL.DDP5.1.H.264-CasStudio.mkv"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": 65536,
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "medium",
"Profile": "high",
"Quality": 22.0,
"OpenCL": false,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[11:44:04] CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
[11:44:04] - Intel microarchitecture Kaby Lake
[11:44:04] - logical processor count: 8
[11:44:04] Intel Quick Sync Video support: yes
[11:44:04] - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[11:44:04] - H.264 encoder: yes
[11:44:04] - preferred implementation: hardware (any)
[11:44:04] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[11:44:04] - H.265 encoder: yes
[11:44:04] - preferred implementation: hardware (any)
[11:44:04] - capabilities (hardware): bpyramid vsinfo opt1
[11:44:04] hb_scan: path=C:\Users\Pookie\Desktop\Movies\To be converted\Gotham.S04E01.Pax.Penguina.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\Gotham.S04E01.Pax.Penguina.1080p.WEB-DL.DDP5.1.H.264-CasStudio.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image C:\Users\Pookie\Desktop\Movies\To be converted\Gotham.S04E01.Pax.Penguina.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\Gotham.S04E01.Pax.Penguina.1080p.WEB-DL.DDP5.1.H.264-CasStudio.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[11:44:04] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:44:04] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\Pookie\Desktop\Movies\To be converted\Gotham.S04E01.Pax.Penguina.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\Gotham.S04E01.Pax.Penguina.1080p.WEB-DL.DDP5.1.H.264-CasStudio.mkv':
Duration: 00:42:59.28, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High)
yuv420p, tv, bt709/bt709/bt709
1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
23.98 fps, 1k tbn (default)
Metadata:
BPS : 9573024
BPS-eng : 9573024
DURATION : 00:42:59.285000000
DURATION-eng : 00:42:59.285000000
NUMBER_OF_FRAMES: 61841
NUMBER_OF_FRAMES-eng: 61841
NUMBER_OF_BYTES : 3086444859
NUMBER_OF_BYTES-eng: 3086444859
_STATISTICS_WRITING_APP: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2017-09-22 07:53:34
_STATISTICS_WRITING_DATE_UTC-eng: 2017-09-22 07:53:34
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: eac3
48000 Hz, 5.1, fltp, 640 kb/s (default)
Metadata:
BPS : 640000
BPS-eng : 640000
DURATION : 00:42:59.232000000
DURATION-eng : 00:42:59.232000000
NUMBER_OF_FRAMES: 80601
NUMBER_OF_FRAMES-eng: 80601
NUMBER_OF_BYTES : 206338560
NUMBER_OF_BYTES-eng: 206338560
_STATISTICS_WRITING_APP: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2017-09-22 07:53:34
_STATISTICS_WRITING_DATE_UTC-eng: 2017-09-22 07:53:34
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: srt
Metadata:
BPS : 73
BPS-eng : 73
DURATION : 00:42:12.363000000
DURATION-eng : 00:42:12.363000000
NUMBER_OF_FRAMES: 836
NUMBER_OF_FRAMES-eng: 836
NUMBER_OF_BYTES : 23145
NUMBER_OF_BYTES-eng: 23145
_STATISTICS_WRITING_APP: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
_STATISTICS_WRITING_APP-eng: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2017-09-22 07:53:34
_STATISTICS_WRITING_DATE_UTC-eng: 2017-09-22 07:53:34
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[11:44:04] scan: decoding previews for title 1
[11:44:04] scan: audio 0x1: eac3, rate=48000Hz, bitrate=640000 English (E-AC3) (5.1 ch)
[11:44:04] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:44:04] scan: supported video decoders: avcodec qsv
[11:44:04] libhb: scan thread found 1 valid title(s)
[11:44:05] Skipping subtitle scan. No suitable subtitle tracks.
[11:44:05] starting job
[11:44:05] decomb filter thread started for segment 1
[11:44:05] decomb filter thread started for segment 6
[11:44:05] decomb filter thread started for segment 3
[11:44:05] decomb filter thread started for segment 7
[11:44:05] decomb filter thread started for segment 2
[11:44:05] decomb filter thread started for segment 4
[11:44:05] decomb check thread started for segment 2
[11:44:05] decomb check thread started for segment 4
[11:44:05] decomb check thread started for segment 5
[11:44:05] mask filter thread started for segment 2
[11:44:05] decomb filter thread started for segment 5
[11:44:05] decomb check thread started for segment 3
[11:44:05] decomb check thread started for segment 0
[11:44:05] mask filter thread started for segment 6
[11:44:05] decomb check thread started for segment 6
[11:44:05] decomb check thread started for segment 7
[11:44:05] mask filter thread started for segment 0
[11:44:05] mask filter thread started for segment 1
[11:44:05] mask erode thread started for segment 2
[11:44:05] mask erode thread started for segment 3
[11:44:05] mask filter thread started for segment 4
[11:44:05] mask filter thread started for segment 5
[11:44:05] mask erode thread started for segment 5
[11:44:05] mask filter thread started for segment 7
[11:44:05] mask erode thread started for segment 0
[11:44:05] mask erode thread started for segment 1
[11:44:05] mask dilate thread started for segment 2
[11:44:05] mask filter thread started for segment 3
[11:44:05] mask dilate thread started for segment 5
[11:44:05] decomb filter thread started for segment 0
[11:44:05] mask erode thread started for segment 6
[11:44:05] yadif thread started for segment 0
[11:44:05] mask dilate thread started for segment 0
[11:44:05] mask dilate thread started for segment 1
[11:44:05] yadif thread started for segment 3
[11:44:05] mask dilate thread started for segment 3
[11:44:05] mask erode thread started for segment 4
[11:44:05] yadif thread started for segment 7
[11:44:05] Passthru requested and input codec is not the same as output codec for track 2, dropping track
[11:44:05] mask dilate thread started for segment 6
[11:44:05] work: track 1, dithering not supported by codec
[11:44:05] work: only 1 chapter, disabling chapter markers
[11:44:05] job configuration:
[11:44:05] * source
[11:44:05] mask dilate thread started for segment 4
[11:44:05] + C:\Users\Pookie\Desktop\Movies\To be converted\Gotham.S04E01.Pax.Penguina.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\Gotham.S04E01.Pax.Penguina.1080p.WEB-DL.DDP5.1.H.264-CasStudio.mkv
[11:44:05] + title 1, chapter(s) 1 to 1
[11:44:05] mask dilate thread started for segment 7
[11:44:05] + container: matroska,webm
[11:44:05] * destination
[11:44:05] + D:\Unwatched Video Storage\Gotham.s04e01.pax.penguina.1080p.web-dl.ddp5.1.h.264-casstudio-1.m4v
[11:44:05] + container: MPEG-4 (libavformat)
[11:44:05] * video track
[11:44:05] yadif thread started for segment 1
[11:44:05] + decoder: h264
[11:44:05] + filters
[11:44:05] yadif thread started for segment 2
[11:44:05] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[11:44:05] yadif thread started for segment 4
[11:44:05] + Decomb (mode=39)
[11:44:05] + Framerate Shaper (mode=2:rate=27000000/900000)
[11:44:05] decomb check thread started for segment 1
[11:44:05] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[11:44:05] yadif thread started for segment 5
[11:44:05] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:44:05] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[11:44:05] yadif thread started for segment 6
[11:44:05] + Output geometry
[11:44:05] + storage dimensions: 1920 x 1080
[11:44:05] + pixel aspect ratio: 1 : 1
[11:44:05] + display dimensions: 1920 x 1080
[11:44:05] + encoder: H.264 (libx264)
[11:44:05] + preset: medium
[11:44:05] + profile: high
[11:44:05] + level: 4.0
[11:44:05] + quality: 22.00 (RF)
[11:44:05] * audio track 1
[11:44:05] + decoder: English (E-AC3) (5.1 ch) (track 1, id 0x1)
[11:44:05] + bitrate: 640 kbps, samplerate: 48000 Hz
[11:44:05] + mixdown: Dolby Pro Logic II
[11:44:05] + encoder: AAC (libavcodec)
[11:44:05] + bitrate: 160 kbps, samplerate: 48000 Hz
[11:44:05] mask erode thread started for segment 7
[11:44:05] sync: expecting 61840 video frames
[11:44:05] encx264: min-keyint: 24, keyint: 240
[11:44:05] encx264: encoding at constant RF 22.000000
[11:44:05] encx264: unparsed options: level=4.0:vbv-bufsize=31250:vbv-maxrate=25000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile High, level 4.0
[11:44:05] sync: first pts video is 0
[11:44:05] sync: "Chapter 1" (1) at frame 1 time 0
[11:44:05] sync: first pts audio 0x1 is 0
[12:11:28] reader: done. 1 scr changes
[12:11:30] work: average encoding speed for job is 37.602058 fps
[12:11:30] comb detect: heavy 1975 | light 3125 | uncombed 56741 | total 61841
[12:11:30] decomb: deinterlaced 1975 | blended 3125 | unfiltered 56741 | total 61841
[12:11:30] vfr: 61841 frames output, 0 dropped and 0 duped for CFR/PFR
[12:11:30] vfr: lost time: 0 (0 frames)
[12:11:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:11:30] eac3-decoder done: 80601 frames, 0 decoder errors
[12:11:30] h264-decoder done: 61841 frames, 0 decoder errors
[12:11:30] sync: got 61841 frames, 61840 expected
[12:11:30] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:1081 Avg QP:17.01 size:105558
x264 [info]: frame P:18384 Avg QP:19.91 size: 30330
x264 [info]: frame B:42376 Avg QP:21.18 size: 10510
x264 [info]: consecutive B-frames: 4.6% 11.4% 2.4% 81.6%
x264 [info]: mb I I16..4: 11.2% 85.3% 3.5%
x264 [info]: mb P I16..4: 7.2% 21.1% 0.4% P16..4: 37.6% 7.0% 4.1% 0.0% 0.0% skip:22.6%
x264 [info]: mb B I16..4: 1.1% 2.5% 0.0% B16..8: 35.2% 2.3% 0.3% direct: 3.2% skip:55.4% L0:45.6% L1:51.2% BI: 3.2%
x264 [info]: 8x8 transform intra:74.3% inter:91.8%
x264 [info]: coded y,uvDC,uvAC intra: 42.0% 62.9% 21.6% inter: 10.7% 21.0% 0.2%
x264 [info]: i16 v,h,dc,p: 38% 22% 17% 23%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 43% 3% 3% 3% 3% 3% 3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 17% 15% 5% 8% 8% 6% 5% 3%
x264 [info]: i8c dc,h,v,p: 58% 18% 21% 3%
x264 [info]: Weighted P-Frames: Y:4.1% UV:2.9%
x264 [info]: ref P L0: 61.8% 9.7% 20.0% 8.3% 0.2%
x264 [info]: ref B L0: 85.9% 11.2% 2.9%
x264 [info]: ref B L1: 95.5% 4.5%
x264 [info]: kb/s:3464.73
[12:11:30] mux: track 0, 61841 frames, 1117025784 bytes, 3464.55 kbps, fifo 2048
[12:11:30] mux: track 1, 120902 frames, 51577663 bytes, 159.97 kbps, fifo 4096
[12:11:31] libhb: work result = 0

# Encode Completed ...

Thanks in advance.

Pookie
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: ATV3 Audio issue suddenly

Post by BradleyS »

[11:44:05] + mixdown: Dolby Pro Logic II

This says you asked for matrixed stereo 2.0. Custom preset? You should instead use Auto/AC3 passthru.

Locking due to rule violations, yarr.
Locked