Fallback audio encoder not working

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
rollin_eng
Veteran User
Posts: 4853
Joined: Wed May 04, 2011 11:06 pm

Fallback audio encoder not working

Post by rollin_eng »

Please describe the problem in as much detail as possible:

Fallback audio encoder not working.

What are the steps to reproduce this problem:

See log.

What version of HandBrake you are running:

Nightly.

What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):

Windows 8.1

If there was any exception or error displayed, please copy it and paste it here:

Please include the scan or encode log:

Code: Select all

HandBrake Nightly 20160609223444-50fca3a-master (2016061001) - 64bit Version
OS: Microsoft Windows NT 6.3.9600.0 - 64bit
CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Ram: 32719 MB, 
GPU Information:
  AMD Radeon (TM) R9 200 Series - 16.300.2311.0
Screen: 1920x1080
Temp Dir: C:\Users\xxx\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\xxx\AppData\Roaming\HandBrake Team\HandBrake\0.0.0.0

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


# Starting Encode ...

[18:21:31] 1 job(s) to process
[18:21:31] 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": 1073750016,

        "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"

      },

      {

        "Name": "Chapter 2"

      },

      {

        "Name": "Chapter 3"

      },

      {

        "Name": "Chapter 4"

      },

      {

        "Name": "Chapter 5"

      },

      {

        "Name": "Chapter 6"

      },

      {

        "Name": "Chapter 7"

      },

      {

        "Name": "Chapter 8"

      },

      {

        "Name": "Chapter 9"

      },

      {

        "Name": "Chapter 10"

      },

      {

        "Name": "Chapter 11"

      },

      {

        "Name": "Chapter 12"

      },

      {

        "Name": "Chapter 13"

      },

      {

        "Name": "Chapter 14"

      },

      {

        "Name": "Chapter 15"

      },

      {

        "Name": "Chapter 16"

      },

      {

        "Name": "Chapter 17"

      },

      {

        "Name": "Chapter 18"

      },

      {

        "Name": "Chapter 19"

      },

      {

        "Name": "Chapter 20"

      },

      {

        "Name": "Chapter 21"

      },

      {

        "Name": "Chapter 22"

      },

      {

        "Name": "Chapter 23"

      },

      {

        "Name": "Chapter 24"

      },

      {

        "Name": "Chapter 25"

      }

    ],

    "ChapterMarkers": true,

    "File": "D:\\34255889 Prestige Na-35.mkv",

    "Mp4Options": {

      "IpodAtom": false,

      "Mp4Optimize": false

    },

    "Mux": 2097152

  },

  "Filters": {

    "FilterList": [

      {

        "ID": 11,

        "Settings": {

          "crop-bottom": "132",

          "crop-left": "0",

          "crop-right": "0",

          "crop-top": "130",

          "height": "832",

          "width": "1920"

        }

      },

      {

        "ID": 6,

        "Settings": {

          "mode": "2",

          "rate": "27000000/900000"

        }

      }

    ]

  },

  "PAR": {

    "Num": 416,

    "Den": 409

  },

  "Metadata": {},

  "SequenceID": 0,

  "Source": {

    "Angle": 1,

    "Range": {

      "Type": "chapter",

      "Start": 1,

      "End": 1

    },

    "Title": 35,

    "Path": "G:\\BluRay\\34255889_PRESTIGE_NA"

  },

  "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": "ultrafast",

    "Profile": "high",

    "Quality": 20.0,

    "OpenCL": false,

    "HWDecode": false,

    "QSV": {

      "Decode": true,

      "AsyncDepth": 0

    }

  }

}
[18:21:31] CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[18:21:31]  - Intel microarchitecture Haswell
[18:21:31]  - logical processor count: 8
[18:21:31] OpenCL device #1: Advanced Micro Devices, Inc. Pitcairn
[18:21:31]  - OpenCL version: 1.2 AMD-APP (2117.9)
[18:21:31]  - driver version: 2117.9 (VM)
[18:21:31]  - device type:    GPU
[18:21:31]  - supported:      YES
[18:21:31] Intel Quick Sync Video support: no
[18:21:31] hb_scan: path=G:\BluRay\34255889_PRESTIGE_NA, title_index=35
[18:21:31] scan: BD has 35 title(s)
[18:21:31] bd: scanning title 35
[18:21:31] bd: playlist 00062.MPLS
[18:21:31] bd: duration is 02:10:29 (7829822 ms)
[18:21:31] bd: video id=0x1011, stream type=H.264, format 1080p
[18:21:31] bd: aspect = 16:9
[18:21:31] bd: audio id=0x1102, lang=English (BD LPCM), 3cc=eng
[18:21:31] bd: audio id=0x1100, lang=English (AC3), 3cc=eng
[18:21:31] bd: audio id=0x1101, lang=Francais (AC3), 3cc=fra
[18:21:31] bd: audio id=0x1103, lang=español (AC3), 3cc=spa
[18:21:31] bd: subtitle id=0x1200, lang=English, 3cc=eng
[18:21:31] bd: subtitle id=0x1201, lang=Francais, 3cc=fra
[18:21:31] bd: subtitle id=0x1202, lang=español, 3cc=spa
[18:21:31] bd: subtitle id=0x1203, lang=Francais, 3cc=fra
[18:21:31] bd: subtitle id=0x1204, lang=español, 3cc=spa
[18:21:31] bd: chap 1 packet=768, 210210 ms
[18:21:31] bd: chap 2 packet=846853248, 255255 ms
[18:21:31] bd: chap 3 packet=1928855040, 235235 ms
[18:21:31] bd: chap 4 packet=2957142336, 263263 ms
[18:21:31] bd: chap 5 packet=4112078976, 435435 ms
[18:21:31] bd: chap 6 packet=5876858112, 240990 ms
[18:21:31] bd: chap 7 packet=6963717312, 399440 ms
[18:21:31] bd: chap 8 packet=8513751936, 286786 ms
[18:21:31] bd: chap 9 packet=9781215552, 347388 ms
[18:21:31] bd: chap 10 packet=11293591680, 294127 ms
[18:21:31] bd: chap 11 packet=12583849728, 240323 ms
[18:21:31] bd: chap 12 packet=13598230848, 381130 ms
[18:21:31] bd: chap 13 packet=15218590080, 251584 ms
[18:21:31] bd: chap 14 packet=16298310720, 287245 ms
[18:21:31] bd: chap 15 packet=17496195456, 249415 ms
[18:21:31] bd: chap 16 packet=18600992832, 289372 ms
[18:21:31] bd: chap 17 packet=19751791680, 329454 ms
[18:21:31] bd: chap 18 packet=21224625792, 752585 ms
[18:21:31] bd: chap 19 packet=24460416960, 270019 ms
[18:21:31] bd: chap 20 packet=25590384960, 298047 ms
[18:21:31] bd: chap 21 packet=26923270080, 225850 ms
[18:21:31] bd: chap 22 packet=27920882880, 363446 ms
[18:21:31] bd: chap 23 packet=29602782336, 592883 ms
[18:21:31] bd: chap 24 packet=32208860352, 330079 ms
[18:21:31] bd: chap 25 packet=33011462208, 250 ms
[18:21:31] bd: title 35 has 25 chapters
[18:21:31] scan: decoding previews for title 35
[18:21:31] scan: title angle(s) 1
[18:21:31] scan: audio 0x1102: pcm_bluray, rate=48000Hz, bitrate=6912000 English (BD LPCM) (5.1 ch)
[18:21:31] scan: audio 0x1100: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[18:21:31] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[18:21:31] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 español (AC3) (5.1 ch)
[18:21:32] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 130/132/0/66, aspect 16:9, PAR 1:1
[18:21:32] scan: supported video decoders: avcodec qsv
[18:21:32] stream: 5 good frames, 0 errors (0%)
[18:21:32] libhb: scan thread found 1 valid title(s)
[18:21:32] starting job
[18:21:32] Passthru requested and input codec is not the same as output codec for track 2, dropping track
[18:21:32] work: track 1, dithering not supported by codec
[18:21:32] work: only 1 chapter, disabling chapter markers
[18:21:32] job configuration:
[18:21:32]  * source
[18:21:32]    + G:\BluRay\34255889_PRESTIGE_NA
[18:21:32]    + title 35, chapter(s) 1 to 1
[18:21:32]  * destination
[18:21:32]    + D:\34255889 Prestige Na-35.mkv
[18:21:32]    + container: Matroska (libavformat)
[18:21:32]  * video track
[18:21:32]    + decoder: h264
[18:21:32]      + bitrate 200 kbps
[18:21:32]    + filters
[18:21:32]      + Framerate Shaper (mode=2:rate=27000000/900000)
[18:21:32]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[18:21:32]      + Crop and Scale (width=1920:height=832:crop-top=130:crop-bottom=132:crop-left=0:crop-right=0)
[18:21:32]        + source: 1920 * 1080, crop (130/132/0/0): 1920 * 818, scale: 1920 * 832
[18:21:32]    + Output geometry
[18:21:32]      + storage dimensions: 1920 x 832
[18:21:32]      + pixel aspect ratio: 416 : 409
[18:21:32]      + display dimensions: 1952 x 832
[18:21:32]    + encoder: H.264 (libx264)
[18:21:32]      + preset:  ultrafast
[18:21:32]      + profile: high
[18:21:32]      + level:   4.1
[18:21:32]      + quality: 20.00 (RF)
[18:21:32]  * audio track 1
[18:21:32]    + decoder: English (BD LPCM) (5.1 ch) (track 1, id 0x1102)
[18:21:32]      + bitrate: 6912 kbps, samplerate: 48000 Hz
[18:21:32]    + mixdown: Dolby Pro Logic II
[18:21:32]    + encoder: AAC (libavcodec)
[18:21:32]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:21:32] sync: expecting 5040 video frames
[18:21:32] encx264: min-keyint: 24, keyint: 240
[18:21:32] encx264: encoding at constant RF 20.000000
[18:21:32] encx264: unparsed options: level=4.1:subme=0:vbv-bufsize=62500:8x8dct=0:scenecut=0:ref=1:mbtree=0:bframes=0:rc-lookahead=0:analyse=none:no-deblock=1:cabac=0:weightp=0:trellis=0:me=dia:mixed-refs=0:vbv-maxrate=50000:aq-mode=0
x264 [info]: using SAR=416/409
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Constrained Baseline, level 4.1
[18:21:32] sync: first pts audio 0x1102 is 0
[18:21:32] sync: first pts video is 0
[18:21:32] sync: "Chapter 1" (1) at frame 1 time 0
[18:22:06] reader: end of chapter 1 (media 1) reached at media chapter 2
[18:22:06] reader: done. 1 scr changes
[18:22:06] work: average encoding speed for job is 146.856918 fps
[18:22:07] render: 5028 frames output, 0 dropped and 0 duped for CFR/PFR
[18:22:07] render: lost time: 0 (0 frames)
[18:22:07] render: gained time: 0 (0 frames) (0 not accounted for)
[18:22:07] stream: 5030 good frames, 0 errors (0%)
[18:22:07] pcm_bluray-decoder done: 41885 frames, 0 decoder errors
[18:22:07] h264-decoder done: 5028 frames, 0 decoder errors
[18:22:07] sync: got 5028 frames, 5040 expected
[18:22:07] sync: framerate min 23.968 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:21    Avg QP:16.19  size:111789
x264 [info]: frame P:5007  Avg QP:19.15  size: 44253
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4: 30.9%  0.0%  0.0%  P16..4: 41.4%  0.0%  0.0%  0.0%  0.0%    skip:27.7%
x264 [info]: coded y,uvDC,uvAC intra: 53.0% 48.5% 12.7% inter: 32.5% 29.8% 1.9%
x264 [info]: i16 v,h,dc,p: 39% 18% 29% 14%
x264 [info]: i8c dc,h,v,p: 47% 19% 27%  7%
x264 [info]: kb/s:8542.23
[18:22:07] mux: track 0, 5028 frames, 223922568 bytes, 8542.20 kbps, fifo 512
[18:22:07] mux: track 1, 9815 frames, 3674697 bytes, 140.18 kbps, fifo 1024
[18:22:07] libhb: work result = 0

# Encode Completed ...

Deleted User 11865

Re: Fallback audio encoder not working

Post by Deleted User 11865 »

rollin_eng wrote:

Code: Select all

    "AudioList": [

      {

        "Bitrate": 160,

        "DRC": 0.0,

        "Encoder": 65536,
AAC (libavcodec)
rollin_eng wrote:

Code: Select all

      {

        "DRC": 0.0,

        "Encoder": 1073750016,
DTS Passthru

You're not using Auto Passthru ;) :P
rollin_eng
Veteran User
Posts: 4853
Joined: Wed May 04, 2011 11:06 pm

Re: Fallback audio encoder not working

Post by rollin_eng »

Yes, but doesn't the fallback encoder work if your passthrough is not available?
Deleted User 11865

Re: Fallback audio encoder not working

Post by Deleted User 11865 »

Only if you use Auto Passthru. Codec-specific passthru will always fall back to the encoder for the same format, and there's no DTS encoder.
rollin_eng
Veteran User
Posts: 4853
Joined: Wed May 04, 2011 11:06 pm

Re: Fallback audio encoder not working

Post by rollin_eng »

So if I chose Auto Passthrough but unselect every codec but DTS it should do what I want?
Deleted User 11865

Re: Fallback audio encoder not working

Post by Deleted User 11865 »

It should indeed.
Post Reply