eac3 passthru issue

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
tom_nito
Posts: 2
Joined: Wed Sep 13, 2017 9:24 am

eac3 passthru issue

Post by tom_nito »

E-AC3 passthru would previously convert the audio to eac3 when chosen as the audio codec. I used it to convert pcm audio to eac3. I noticed in v1.0.7, it no longer works. I tried previous versions, and it seems they all of that problem starting with v1.0.2.

If I choose E-AC3 passthru, the audio track is ignored and doesn't get included in the output container file (mkv). I tried it with the ac3 track, and got the same result.

I installed the HandBrake-20170912 nightly, and the audio track no longer disappears, but instead of converting the audio track to eac3, it converts it to ac3. If I use E-AC3 passthru on an eac3 audio track with the nightly build, it properly outputs as eac3.

Does converting to eac3 no longer work? Was it even intended to work that way? I previously encoded about 20 videos that converted pcm to eac3 with no noticeable issues.

I can't create a log file because I"m using v1.0.1 now. Here is the log from the nightly.

Code: Select all

HandBrake Nightly 20170911184803-6f5e5ea-master (2017091201) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
Ram: 8138 MB, 
GPU Information:
  NVIDIA GeForce GTX 970 - 22.21.13.8541
Screen: 1920x1080
Temp Dir: C:\Users\x\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\x\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[05:38:27] hb_init: starting libhb thread
[05:38:27] 1 job(s) to process
[05:38:27] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 2048,
        "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,
    "AlignAVStart": false,
    "File": "t:\\test.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "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": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "U:\\Video\\video\\title00 (1)-001.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "high",
    "Quality": 20.0,
    "Tune": "film",
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[05:38:27] CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
[05:38:27]  - Intel microarchitecture Haswell
[05:38:27]  - logical processor count: 4
[05:38:27] Intel Quick Sync Video support: no
[05:38:27] hb_scan: path=U:\Video\video\title00 (1)-001.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image U:\Video\video\title00 (1)-001.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[05:38:27] 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
[05:38:27] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'U:\Video\video\title00 (1)-001.mkv':
  Duration: 00:02:00.48, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 120.448000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: vc1 (Advanced) [WVC1 / 0x31435657]
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn
    Metadata:
      BPS             : 309052
      BPS-eng         : 309052
      DURATION        : 00:02:00.454000000
      DURATION-eng    : 00:02:00.454000000
      NUMBER_OF_FRAMES: 2888
      NUMBER_OF_FRAMES-eng: 2888
      NUMBER_OF_BYTES : 4653330
      NUMBER_OF_BYTES-eng: 4653330
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-09-13 09:15:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-09-13 09:15:46
      _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: pcm_s16le [[1][0][0][0] / 0x0001]
      48000 Hz, 5.1, s16, 4608 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS             : 4608025
      BPS-eng         : 4608025
      DURATION        : 00:02:00.466000000
      DURATION-eng    : 00:02:00.466000000
      NUMBER_OF_FRAMES: 3614
      NUMBER_OF_FRAMES-eng: 3614
      NUMBER_OF_BYTES : 69388800
      NUMBER_OF_BYTES-eng: 69388800
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-09-13 09:15:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-09-13 09:15:46
      _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): Audio: ac3
      48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
      BPS             : 192000
      BPS-eng         : 192000
      DURATION        : 00:02:00.480000000
      DURATION-eng    : 00:02:00.480000000
      NUMBER_OF_FRAMES: 3765
      NUMBER_OF_FRAMES-eng: 3765
      NUMBER_OF_BYTES : 2891520
      NUMBER_OF_BYTES-eng: 2891520
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-09-13 09:15:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-09-13 09:15:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-09-13 09:15:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-09-13 09:15:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-09-13 09:15:46
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-09-13 09:15:46
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[05:38:27] scan: decoding previews for title 1
[05:38:27] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=4608000 English (pcm_s16le) (5.1 ch)
[05:38:27] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[05:38:27] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[05:38:27] libhb: scan thread found 1 valid title(s)
[05:38:27] starting job
[05:38:27] decomb filter thread started for segment 0
[05:38:27] decomb filter thread started for segment 1
[05:38:27] decomb filter thread started for segment 2
[05:38:27] decomb filter thread started for segment 3
[05:38:27] decomb check thread started for segment 0
[05:38:27] decomb check thread started for segment 1
[05:38:27] decomb check thread started for segment 2
[05:38:27] decomb check thread started for segment 3
[05:38:27] mask filter thread started for segment 0
[05:38:27] mask filter thread started for segment 1
[05:38:27] mask filter thread started for segment 2
[05:38:27] mask filter thread started for segment 3
[05:38:27] mask erode thread started for segment 0
[05:38:27] mask erode thread started for segment 1
[05:38:27] mask erode thread started for segment 2
[05:38:27] mask erode thread started for segment 3
[05:38:27] mask dilate thread started for segment 0
[05:38:27] mask dilate thread started for segment 1
[05:38:27] mask dilate thread started for segment 2
[05:38:27] mask dilate thread started for segment 3
[05:38:27] yadif thread started for segment 0
[05:38:27] yadif thread started for segment 1
[05:38:27] yadif thread started for segment 2
[05:38:27] work: mixdown not specified, track 1 setting mixdown 5.1 Channels
[05:38:27] work: bitrate not specified, track 1 setting bitrate 640 Kbps
[05:38:27] work: track 1, dithering not supported by codec
[05:38:27] yadif thread started for segment 3
[05:38:27] work: only 1 chapter, disabling chapter markers
[05:38:27] job configuration:
[05:38:27]  * source
[05:38:27]    + U:\Video\video\title00 (1)-001.mkv
[05:38:27]    + title 1, chapter(s) 1 to 1
[05:38:27]    + container: matroska,webm
[05:38:27]  * destination
[05:38:27]    + t:\test.mkv
[05:38:27]    + container: Matroska (libavformat)
[05:38:27]  * video track
[05:38:27]    + decoder: vc1
[05:38:27]    + filters
[05:38:27]      + 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)
[05:38:27]      + Decomb (mode=39)
[05:38:27]      + Framerate Shaper (mode=0)
[05:38:27]        + frame rate: same as source (around 23.976 fps)
[05:38:27]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[05:38:27]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[05:38:27]    + Output geometry
[05:38:27]      + storage dimensions: 1920 x 1080
[05:38:27]      + pixel aspect ratio: 1 : 1
[05:38:27]      + display dimensions: 1920 x 1080
[05:38:27]    + encoder: H.264 (libx264)
[05:38:27]      + preset:  medium
[05:38:27]      + tune:    film
[05:38:27]      + profile: high
[05:38:27]      + level:   4.1
[05:38:27]      + quality: 20.00 (RF)
[05:38:27]  * audio track 1
[05:38:27]    + decoder: English (pcm_s16le) (5.1 ch) (track 1, id 0x1)
[05:38:27]      + bitrate: 4608 kbps, samplerate: 48000 Hz
[05:38:27]    + mixdown: 5.1 Channels
[05:38:27]    + encoder: AC3 (libavcodec)
[05:38:27]      + bitrate: 640 kbps, samplerate: 48000 Hz
[05:38:27] sync: expecting 2888 video frames
[05:38:27] encx264: min-keyint: 24, keyint: 240
[05:38:27] encx264: encoding at constant RF 20.000000
[05:38:27] encx264: unparsed options: level=4.1:deblock=-1,-1:psy-rd=1,0.15:vbv-bufsize=78125:vbv-maxrate=62500
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.1
[05:38:27] sync: first pts video is 0
[05:38:27] sync: "Chapter 1" (1) at frame 1 time 0
[05:38:27] sync: first pts audio 0x1 is 0
[05:38:52] reader: done. 1 scr changes
[05:38:53] work: average encoding speed for job is 115.335289 fps
[05:38:53] comb detect: heavy 0 | light 0 | uncombed 2887 | total 2887
[05:38:53] decomb: deinterlaced 0 | blended 0 | unfiltered 2887 | total 2887
[05:38:53] vfr: lost time: 0 (0 frames)
[05:38:53] vfr: gained time: 0 (0 frames) (0 not accounted for)
[05:38:53] pcm_s16le-decoder done: 3614 frames, 0 decoder errors
[05:38:53] vc1-decoder done: 2888 frames, 0 decoder errors
[05:38:53] sync: got 2887 frames, 2888 expected
[05:38:53] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:13    Avg QP: 3.31  size:   527
x264 [info]: frame P:722   Avg QP: 6.07  size:    77
x264 [info]: frame B:2152  Avg QP: 9.67  size:    69
x264 [info]: consecutive B-frames:  0.5%  0.1%  1.2% 98.2%
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
x264 [info]: 8x8 transform intra:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264 [info]: i16 v,h,dc,p: 99%  0%  1%  0%
x264 [info]: i8c dc,h,v,p: 100%  0%  0%  0%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: kb/s:14.06
[05:38:53] mux: track 0, 2887 frames, 211005 bytes, 14.01 kbps, fifo 4096
[05:38:53] mux: track 1, 3764 frames, 9635840 bytes, 639.97 kbps, fifo 4096
[05:38:53] libhb: work result = 0

# Encode Completed ...
mduell
Veteran User
Posts: 8196
Joined: Sat Apr 21, 2007 8:54 pm

Re: eac3 passthru issue

Post by mduell »

Pick the appropriate fallback encoder in your audio defaults and it should work.
tom_nito
Posts: 2
Joined: Wed Sep 13, 2017 9:24 am

Re: eac3 passthru issue

Post by tom_nito »

I don't see eac3 as a fallback option in the nightly or v1.0.1.
Post Reply