Page 1 of 1

PCM 7.1 mixdown options

Posted: Thu Nov 30, 2017 6:52 pm
by lone_tree
Description of problem or question
I have a source that has an 8 channel (7.1) PCM audio track. I'd like to preserve that, if possible, with the target device in mind being an Apple TV (4th gen). The ATV supports DD+/eac3, but it looks like there's no eac3 encoding options in HB. If the source was eac3 7.1 it looks like I could do a passthrough, but since it's PCM, my options appear limited to ac3 5.1 mix down or HE-AAC 7.1. Am I correct that there is no eac3 encoding options in HB? Is there any chance of adding it (not sure what licensing looks like) or is it a waste of time to enter a feature request on GitHub?

Steps to reproduce the problem (If Applicable)
Open a source with 7.1 PCM audio track.

HandBrake version (e.g., 1.0.0)
Latest nightly build.

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)
macOS 10.13

Re: PCM 7.1 mixdown options

Posted: Thu Nov 30, 2017 7:07 pm
by rollin_eng
Could you please post your logs, instructions can be found here: ... y-log.html

Re: PCM 7.1 mixdown options

Posted: Thu Nov 30, 2017 8:14 pm
by lone_tree
I haven't encoded anything relevant with this source so I'm including the activity log.

Code: Select all

HandBrake Activity Log for Session: 2017-11-30 13:07:53 -0700
Handbrake Version: 20171127182856-4df3c6b-master (2017112801)
[13:07:53] macgui: Handbrake Version: 20171127182856-4df3c6b-master  (2017112801)
[13:07:54] hb_init: starting libhb thread
[13:07:54] hb_init: starting libhb thread
[13:08:15] macgui: trying to open a folder or file
[13:08:15] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[13:08:15] CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
[13:08:15]  - Intel microarchitecture Ivy Bridge
[13:08:15]  - logical processor count: 8
[13:08:15] hb_scan: path=/Users/dane/Movies/, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/dane/Movies/
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[13:08:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[13:08:15] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/dane/Movies/':
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2008-07-08 17:28:16
  Duration: 01:46:18.42, start: 0.000000, bitrate: 95777 kb/s
    Stream #0:0(eng): Video: mjpeg [jpeg / 0x6765706A]
      yuvj422p, pc, bt470bg/bt709/bt709
      1920x1080 [PAR 72:72 DAR 16:9], 89632 kb/s
      23.98 fps, 2997 tbn (default)
      creation_time   : 2008-07-08 17:28:16
      handler_name    : Apple Video Media Handler
      encoder         : Photo - JPEG
    Stream #0:1(eng): Audio: pcm_s16le [lpcm / 0x6D63706C]
      48000 Hz, 7.1(wide), s16, 6144 kb/s (default)
      creation_time   : 2008-07-08 17:28:17
      handler_name    : Apple Sound Media Handler
    Stream #0:2(eng): Data: tmcd / 0x64636D74 (default)
      creation_time   : 2008-07-08 21:12:11
      handler_name    : Time Code Media Handler
[13:08:15] scan: decoding previews for title 1
[13:08:16] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=6144000 English (pcm_s16le) (7.1 ch)
[13:08:17] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/20/0/0, aspect 16:9, PAR 72:72
[13:08:17] libhb: scan thread found 1 valid title(s)
[13:08:17] macgui: ScanCore scan done

Re: PCM 7.1 mixdown options

Posted: Thu Nov 30, 2017 8:27 pm
by Rodeo
HandBrake can encode E-AC-3, but only up to 5.1, and we can't multiplex it in an MP4 container, only MKV.

Re: PCM 7.1 mixdown options

Posted: Thu Nov 30, 2017 10:19 pm
by lone_tree
Ah, I see. Is that an outstanding feature request (I couldn't find one on GitHub). There are many stb platforms that support mp4 but not MKV (with Plex, I suppose most can).