How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

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
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

I tried using AC3 passthrough, but the final file had no audio. I read on the Handbrake 'documentation' page that LPCM is not offered as a passthrough option.

Is there an audio option that would preserve more than 640 kbps? AAC goes to 512, AC3 goes to 640.

Would any of these options preserve most/all of the original 1536kbps audio:Auto passthrough, E-AC3 passthrough, DTS passthrough, DTS-HD passthrough, True-HD passthrough, AAC passthrough?

I play my video on my Win 7 PC, using WMP wth LAV audio/video codecs.

Thanks!
Deleted User 11865

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by Deleted User 11865 »

Encode to FLAC (lossless). There is no PCM passthrough.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Flac doesn't seem to be supported in WMP, as there's no audio. Maybe there's a codec I can download and add to my WMP so it can play Flac?
Woodstock
Veteran User
Posts: 4623
Joined: Tue Aug 27, 2013 6:39 am

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by Woodstock »

Bit rate does not determine how good the audio is, once you change encodings. LPCM has no compression, so it uses a higher bit rate for the "same quality" as lower bit rates in either AAC or AC3.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

So, the LPCM audio will sound as good as LPCM audio converted to AC3 640kbps?
Woodstock
Veteran User
Posts: 4623
Joined: Tue Aug 27, 2013 6:39 am

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by Woodstock »

That depends on your sound system as much as anything else. :)

LPCM is essentially the encoding used on CDs, a straight digitization of the audio as either 8 (rare on DVD/BD), 16, or 24 bits. How well it plays back depends on your digital to analog conversion. And it always uses the same number of bits to encode the audio, no matter how complex or simple it is.

Here's an experiment that you can perform at home, at no cost (except for electricity and time). Take your source, and encode it with handbrake, adding multiple audio tracks to it. For each audio track, select the different available encoders, and try different bit rates and mixdowns.

Play the result in a player that allows you to select from the multiple tracks. Which ones sound acceptable TO YOU, and which ones are buzzy, unlistenable streams that test your patience (you know the kind of track!)?

A lot about encoding is about the "target audience". When you're the target, you're really the only one that can determine when it is "good enough". And handbrake lets you play to find what you like. It isn't even necessary to encode a whole movie or whatever - find a section with complex sound, and encode just that portion.

Oh, and you should update to 1.2.2, because 1.0.x's AAC encoder is far from perfect, unless you compile handbrake yourself. The "top of the line" open source AAC encoder can't be distributed as part of the handbrake binary, because of licensing. 1.2.x has a better encoder than 1.1 and earlier used.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Thanks for the lengthy explanation. I've already started to experiment with a short clip I made of my video using different audio codecs. I've already made rips of my discs a few years back, but using 160kbps audio, and I thought I could re-rip them, then handbrake them to a higher audio bit rate for a better audio. My audio system is 7.1, about 7-8 on a scale of 10.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

I've finished my tests of all the available audio codecs(12 different for my test file), and as I thought only 3 produced audio:AAC 512kbps, AC3 640kbps, and auto passthru(it defaulted to 224 kbps), 9 test files produced no audio.


I guess my last question is:is it worth my time to re-rip 8 Blu-Ray discs and encode the audio to AC3 640? The first time I handbraked the rips, I used AC3 160. Will I actually be able to hear the difference between 160kbps and 640kbps?
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by mduell »

Are you sure you did AC3 at 160k, not AAC?
Was your 160k encode stereo or 5.1?

Actually it doesn't matter: if it was stereo, I'd redo it with 5.1, and if it was 5.1 at 160k, I'd redo it with 5.1 at a more reasonable bitrate.

So yes, redo them.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Yes, it was AC3 160, stereo. There is no 5.1 option in the mixdown drop down box. The Blu-Rays are older, from the 1970's, so the original audio is probably just stereo.

I really wish there was a way to passthru that Flac 1536kbps audio.

I recently re-ripped some other Blu-Rays that had DTS 5.1 1536 kbps audio, originally handbraked to AC3160, that I handbraked with DTS passthru, and I can really hear the audio difference between the 160 and the 1536 versions!
Deleted User 11865

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by Deleted User 11865 »

yodasan wrote: Sun Mar 31, 2019 10:49 pm Flac doesn't seem to be supported in WMP, as there's no audio. Maybe there's a codec I can download and add to my WMP so it can play Flac?
Yes, it's called "use software other than WMP" :D
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Yeah, I've tried VLC, but don't care for it...the videos just don't look as good as when played thru WMP. I discovered that my Blu-Ray discs have two audio streams...one is the 1536 kbps PCM, and the other is DD stereo...but it's only 224 kbps. So, I guess I'm stuck with converting the PCM to AC3 640 kbps?
Deleted User 11865

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by Deleted User 11865 »

I would personally convert to FLAC and use additional software to extract the FLAC, convert it to AAC with a good encoder and merge it back with the encoded video.

Assuming WMP supports E-AC-3 (Dolby Digital Plus), HandBrake should also let you encode E-AC-3, and while the encoder we provide implements very few of the additional E-AC-3 features (IIRC), it does let you select additional bitrates higher than 640 Kbps, depending on the number of channels in the audio track.

You could also look for another player besides VLC or WMP, though I don't have any recommendation off the top of my head.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Handbrake does have the audio option of E-AC3 for my discs(PCM 1536kbps), but it's E-AC3 passthru, which I've tested, and doesn't produce any audio. There is no E-AC3 option with a bitrate drop down box. Yes, WMP plays E-AC3 audio in video files.

I just noticed while the Codec drop down box has AAC selected, in the Bitrate drop down box, there is also a 'Quality' selection, with options of 1 to 10. Is this a scale of 1 to 10, with '10' being the best quality? If so, is the '10' quality close to the original PCM 1536 kbps?
Last edited by yodasan on Mon Apr 01, 2019 7:53 pm, edited 2 times in total.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Just did a test of a short clip using AAC quality '10', but I can't tell what kbps it produced, but the file is smaller than my AC3 640 test, so I'm assuming that it's less quality?
Normally, when I display my video/audio info, it will show the audio kbps, but using the AAC quality '10', just shows 'A:Stereo(eng) (aac lc, 48000 Hz, stereo) (default) . Is there a way of telling what the kbps is?
Last edited by yodasan on Mon Apr 01, 2019 7:54 pm, edited 1 time in total.
rollin_eng
Veteran User
Posts: 4859
Joined: Wed May 04, 2011 11:06 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by rollin_eng »

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

https://handbrake.fr/docs/en/latest/hel ... y-log.html
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Code: Select all

HandBrake 1.0.3 (2017022500) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
Ram: 16322 MB, 
GPU Information:
  NVIDIA GeForce 9600 GT - 9.18.13.2723
Screen: 1920x1080
Temp Dir: C:\Users\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\AppData\Roaming\HandBrake Team\HandBrake\1.0.3.0

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


# Starting Encode ...

[12:07:00] hb_init: starting libhb thread
[12:07:00] 1 job(s) to process
[12:07:00] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Quality": 10.0,
        "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"
      }
    ],
    "ChapterMarkers": true,
    "File": "J:\\X\\S1\\Disc 2\\TEMP\\X Season 1 Disc 2 T00 test 13570 AAC quality 10.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 2097152
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 2,
        "Settings": {}
      },
      {
        "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": "228",
          "crop-right": "228",
          "crop-top": "0",
          "height": "1080",
          "width": "1464"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 3
    },
    "Title": 1,
    "Path": "J:\\X\\S1\\Disc 2\\TEMP\\X Season 1 Disc 2_t00 (1)-001.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.1",
    "Bitrate": 13570,
    "TwoPass": true,
    "Turbo": true,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "high",
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[12:07:00] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[12:07:00]  - Intel microarchitecture Ivy Bridge
[12:07:00]  - logical processor count: 4
[12:07:00] Intel Quick Sync Video support: no
[12:07:00] hb_scan: path=J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2_t00 (1)-001.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2_t00 (1)-001.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
[12:07:00] 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
[12:07:00] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2_t00 (1)-001.mkv':
  Metadata:
    title           : X Season 1 Disc 2
  Duration: 00:03:00.09, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 32.323958
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 32.323958, end 103.228125
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 103.228125, end 180.067000
    Metadata:
      title           : Chapter 03
    Stream #0:0(eng): 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
    Metadata:
      BPS             : 20982834
      BPS-eng         : 20982834
      DURATION        : 00:48:35.203958333
      DURATION-eng    : 00:48:35.203958333
      NUMBER_OF_FRAMES: 69895
      NUMBER_OF_FRAMES-eng: 69895
      NUMBER_OF_BYTES : 7646152873
      NUMBER_OF_BYTES-eng: 7646152873
      SOURCE_ID       : 001011
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC: 2019-03-31 16:43:48
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-31 16:43:48
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: pcm_s16le
      48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      title           : Stereo
      BPS             : 1536000
      BPS-eng         : 1536000
      DURATION        : 00:48:35.205000000
      DURATION-eng    : 00:48:35.205000000
      NUMBER_OF_FRAMES: 87457
      NUMBER_OF_FRAMES-eng: 87457
      NUMBER_OF_BYTES : 559719360
      NUMBER_OF_BYTES-eng: 559719360
      SOURCE_ID       : 001100
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC: 2019-03-31 16:43:48
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-03-31 16:43:48
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[12:07:00] scan: decoding previews for title 1
[12:07:00] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 English (pcm_s16le) (2.0 ch)
[12:07:01] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/228/228, aspect 16:9, PAR 1:1
[12:07:01] scan: supported video decoders: avcodec qsv
[12:07:01] libhb: scan thread found 1 valid title(s)
[12:07:01] starting job
[12:07:01] decomb filter thread started for segment 0
[12:07:01] decomb filter thread started for segment 1
[12:07:01] decomb filter thread started for segment 2
[12:07:01] decomb filter thread started for segment 3
[12:07:01] decomb check thread started for segment 0
[12:07:01] decomb check thread started for segment 1
[12:07:01] decomb check thread started for segment 2
[12:07:01] decomb check thread started for segment 3
[12:07:01] mask filter thread started for segment 0
[12:07:01] mask filter thread started for segment 1
[12:07:01] mask filter thread started for segment 2
[12:07:01] mask filter thread started for segment 3
[12:07:01] mask erode thread started for segment 0
[12:07:01] mask erode thread started for segment 1
[12:07:01] mask erode thread started for segment 2
[12:07:01] mask erode thread started for segment 3
[12:07:01] mask dilate thread started for segment 0
[12:07:01] mask dilate thread started for segment 1
[12:07:01] mask dilate thread started for segment 2
[12:07:01] mask dilate thread started for segment 3
[12:07:01] yadif thread started for segment 0
[12:07:01] yadif thread started for segment 1
[12:07:01] yadif thread started for segment 2
[12:07:01] yadif thread started for segment 3
[12:07:01] work: track 1, dithering not supported by codec
[12:07:01] job configuration:
[12:07:01]  * source
[12:07:01]    + J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2_t00 (1)-001.mkv
[12:07:01]    + title 1, chapter(s) 1 to 3
[12:07:01]    + container: matroska,webm
[12:07:01]  * destination
[12:07:01]    + J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2 T00 test 13570 AAC quality 10.mkv
[12:07:01]    + container: Matroska (libavformat)
[12:07:01]      + chapter markers
[12:07:01]  * video track
[12:07:01]    + decoder: h264
[12:07:01]    + filters
[12:07:01]      + Detelecine (pullup) ()
[12:07:01]      + 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)
[12:07:01]      + Decomb (mode=39)
[12:07:01]      + Framerate Shaper (mode=0)
[12:07:01]        + frame rate: same as source (around 23.976 fps)
[12:07:01]      + Crop and Scale (width=1464:height=1080:crop-top=0:crop-bottom=0:crop-left=228:crop-right=228)
[12:07:01]        + source: 1920 * 1080, crop (0/0/228/228): 1464 * 1080, scale: 1464 * 1080
[12:07:01]    + Output geometry
[12:07:01]      + storage dimensions: 1464 x 1080
[12:07:01]      + pixel aspect ratio: 1 : 1
[12:07:01]      + display dimensions: 1464 x 1080
[12:07:01]    + encoder: H.264 (libx264)
[12:07:01]      + preset:  medium
[12:07:01]      + profile: high
[12:07:01]      + level:   4.1
[12:07:01]      + bitrate: 13570 kbps, pass: 1
[12:07:01]      + fast first pass
[12:07:01]      + options: ref=1:8x8dct=0:me=dia:trellis=0
[12:07:01]                 analyse=i4x4 (if originally enabled, else analyse=none)
[12:07:01]                 subq=2 (if originally greater than 2, else subq unchanged)
[12:07:01]  * audio track 1
[12:07:01]    + decoder: English (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[12:07:01]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[12:07:01]    + mixdown: Stereo
[12:07:01]    + encoder: AAC (libavcodec)
[12:07:01]      + quality: 10.00, samplerate: 48000 Hz
[12:07:01] sync: expecting 4318 video frames
[12:07:01] encx264: min-keyint: 24, keyint: 240
[12:07:01] encx264: encoding at average bitrate 13570
[12:07:01] encx264: unparsed options: level=4.1:vbv-maxrate=62500:vbv-bufsize=78125
x264 [info]: using SAR=1/1
x264 [warning]: VBV bitrate (62500) > level limit (50000)
x264 [warning]: VBV buffer (78125) > level limit (62500)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.1
[12:07:01] sync: first pts video is 0
[12:07:01] sync: "Chapter 1" (1) at frame 1 time 0
[12:07:01] sync: first pts audio 0x1 is 0
[12:07:22] sync: "Chapter 2" (2) at frame 776 time 2909156
[12:08:10] sync: "Chapter 3" (3) at frame 2479 time 9301792
[12:09:00] reader: done. 1 scr changes
[12:09:03] work: average encoding speed for job is 35.936054 fps
[12:09:03] comb detect: heavy 2 | light 11 | uncombed 4305 | total 4318
[12:09:03] decomb: deinterlaced 2 | blended 11 | unfiltered 4305 | total 4318
[12:09:03] vfr: lost time: 0 (0 frames)
[12:09:03] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:09:03] pcm_s16le-decoder done: 5403 frames, 0 decoder errors
[12:09:03] h264-decoder done: 4318 frames, 0 decoder errors
[12:09:03] sync: got 4318 frames, 4318 expected
[12:09:03] sync: framerate min 23.974 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:91    Avg QP:11.82  size:188289
x264 [info]: frame P:1361  Avg QP:14.90  size: 93364
x264 [info]: frame B:2866  Avg QP:16.08  size: 55601
x264 [info]: consecutive B-frames: 10.4%  2.1%  3.7% 83.8%
x264 [info]: mb I  I16..4: 28.8%  0.0% 71.2%
x264 [info]: mb P  I16..4: 52.8%  0.0%  0.0%  P16..4: 41.2%  0.0%  0.0%  0.0%  0.0%    skip: 6.0%
x264 [info]: mb B  I16..4: 21.6%  0.0%  0.0%  B16..8: 37.9%  0.0%  0.0%  direct:26.4%  skip:14.1%  L0:31.5% L1:34.3% BI:34.2%
x264 [info]: final ratefactor: 15.16
x264 [info]: coded y,uvDC,uvAC intra: 76.7% 81.1% 68.3% inter: 48.2% 52.4% 13.4%
x264 [info]: i16 v,h,dc,p: 25% 21% 44% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 19% 15%  7%  8%  7%  7%  7%  8%
x264 [info]: i8c dc,h,v,p: 57% 21% 17%  5%
x264 [info]: Weighted P-Frames: Y:11.8% UV:7.1%
x264 [info]: kb/s:13484.10
[12:09:03] starting job
[12:09:03] decomb filter thread started for segment 0
[12:09:03] decomb filter thread started for segment 1
[12:09:03] decomb filter thread started for segment 2
[12:09:03] decomb filter thread started for segment 3
[12:09:03] decomb check thread started for segment 0
[12:09:03] decomb check thread started for segment 1
[12:09:03] decomb check thread started for segment 2
[12:09:03] decomb check thread started for segment 3
[12:09:03] mask filter thread started for segment 0
[12:09:03] mask filter thread started for segment 1
[12:09:03] mask filter thread started for segment 2
[12:09:03] mask filter thread started for segment 3
[12:09:03] mask erode thread started for segment 0
[12:09:03] mask erode thread started for segment 1
[12:09:03] mask erode thread started for segment 2
[12:09:03] mask erode thread started for segment 3
[12:09:03] mask dilate thread started for segment 0
[12:09:03] mask dilate thread started for segment 1
[12:09:03] mask dilate thread started for segment 2
[12:09:03] mask dilate thread started for segment 3
[12:09:03] yadif thread started for segment 0
[12:09:03] yadif thread started for segment 1
[12:09:03] yadif thread started for segment 2
[12:09:03] yadif thread started for segment 3
[12:09:03] work: track 1, dithering not supported by codec
[12:09:03] job configuration:
[12:09:03]  * source
[12:09:03]    + J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2_t00 (1)-001.mkv
[12:09:03]    + title 1, chapter(s) 1 to 3
[12:09:03]    + container: matroska,webm
[12:09:03]  * destination
[12:09:03]    + J:\X\S1\Disc 2\TEMP\X Season 1 Disc 2 T00 test 13570 AAC quality 10.mkv
[12:09:03]    + container: Matroska (libavformat)
[12:09:03]      + chapter markers
[12:09:03]  * video track
[12:09:03]    + decoder: h264
[12:09:03]    + filters
[12:09:03]      + Detelecine (pullup) ()
[12:09:03]      + 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)
[12:09:03]      + Decomb (mode=39)
[12:09:03]      + Framerate Shaper (mode=0)
[12:09:03]        + frame rate: same as source (around 23.976 fps)
[12:09:03]      + Crop and Scale (width=1464:height=1080:crop-top=0:crop-bottom=0:crop-left=228:crop-right=228)
[12:09:03]        + source: 1920 * 1080, crop (0/0/228/228): 1464 * 1080, scale: 1464 * 1080
[12:09:03]    + Output geometry
[12:09:03]      + storage dimensions: 1464 x 1080
[12:09:03]      + pixel aspect ratio: 1 : 1
[12:09:03]      + display dimensions: 1464 x 1080
[12:09:03]    + encoder: H.264 (libx264)
[12:09:03]      + preset:  medium
[12:09:03]      + profile: high
[12:09:03]      + level:   4.1
[12:09:03]      + bitrate: 13570 kbps, pass: 2
[12:09:03]  * audio track 1
[12:09:03]    + decoder: English (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[12:09:03]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[12:09:03]    + mixdown: Stereo
[12:09:03]    + encoder: AAC (libavcodec)
[12:09:03]      + quality: 10.00, samplerate: 48000 Hz
[12:09:03] sync: expecting 4318 video frames
[12:09:03] encx264: min-keyint: 24, keyint: 240
[12:09:03] encx264: encoding at average bitrate 13570
[12:09:03] encx264: unparsed options: level=4.1:vbv-maxrate=62500:vbv-bufsize=78125
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1
[12:09:03] sync: first pts video is 0
[12:09:03] sync: "Chapter 1" (1) at frame 1 time 0
[12:09:03] sync: first pts audio 0x1 is 0
[12:09:50] sync: "Chapter 2" (2) at frame 776 time 2909156
[12:12:00] sync: "Chapter 3" (3) at frame 2479 time 9301792
[12:14:11] reader: done. 1 scr changes
[12:14:19] work: average encoding speed for job is 13.831698 fps
[12:14:19] comb detect: heavy 2 | light 11 | uncombed 4305 | total 4318
[12:14:19] decomb: deinterlaced 2 | blended 11 | unfiltered 4305 | total 4318
[12:14:19] vfr: lost time: 0 (0 frames)
[12:14:19] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:14:19] pcm_s16le-decoder done: 5403 frames, 0 decoder errors
[12:14:19] h264-decoder done: 4318 frames, 0 decoder errors
[12:14:19] sync: got 4318 frames, 4318 expected
[12:14:19] sync: framerate min 23.974 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:91    Avg QP:13.49  size:160970
x264 [info]: frame P:1361  Avg QP:15.61  size: 93321
x264 [info]: frame B:2866  Avg QP:16.79  size: 56978
x264 [info]: consecutive B-frames: 10.4%  2.1%  3.7% 83.8%
x264 [info]: mb I  I16..4: 18.0% 58.8% 23.2%
x264 [info]: mb P  I16..4: 10.4% 36.1%  9.6%  P16..4: 17.7% 13.6%  5.8%  0.0%  0.0%    skip: 6.7%
x264 [info]: mb B  I16..4:  4.9% 10.9%  3.4%  B16..8: 29.0% 11.6%  2.9%  direct:17.8%  skip:19.5%  L0:40.6% L1:38.6% BI:20.8%
x264 [info]: 8x8 transform intra:60.9% inter:56.9%
x264 [info]: coded y,uvDC,uvAC intra: 80.6% 88.3% 81.9% inter: 47.6% 56.8% 20.9%
x264 [info]: i16 v,h,dc,p: 23% 19% 42% 16%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 16% 29%  5%  6%  6%  6%  6%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 21% 22%  5%  7%  5%  5%  4%  4%
x264 [info]: i8c dc,h,v,p: 59% 21% 15%  5%
x264 [info]: Weighted P-Frames: Y:12.7% UV:7.1%
x264 [info]: ref P L0: 48.1% 12.8% 24.5% 12.8%  1.7%
x264 [info]: ref B L0: 84.4% 12.0%  3.6%
x264 [info]: ref B L1: 95.0%  5.0%
x264 [info]: kb/s:13546.37
[12:14:20] mux: track 0, 4318 frames, 304953985 bytes, 13543.11 kbps, fifo 256
[12:14:20] mux: track 1, 8443 frames, 11010990 bytes, 489.00 kbps, fifo 1024
[12:14:20] libhb: work result = 0

# Encode Completed ...
Last edited by Anonymous on Mon Apr 01, 2019 9:38 pm, edited 1 time in total.
Reason: Logs in between [code][/code] blocks please
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

I just downloaded the current version 1.2.2...the 'legacy' preset is gone?

Now, there's General, Web, Devices, Matroska, and Production...which one should I use to shrink the original file by about 25-30%(and still have it look almost as good as the original)?
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by mduell »

Super HQ 1080p preset would be a reasonable starting point, given the above encode log.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Yeah, I just tried that, made my test file about the same size as when using version 1.0.3, doing Production Max test now
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by mduell »

Is this for editing? Otherwise you're probably not going to like Production Max. You can get more quality in less size by turning the RF down a few points on Super HQ 1080p than you'll get on Production Max.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

After a few tests with the new version of Handbrake, looks like I'll just stick with the settings I know work for me, and allow me to make the end file size what I want.

Since 'legacy' isn't an option anymore, I'm using SuperHQ 1080p30, and
Encoder Preset:Medium
Tune:none
Profile:High
Level 4.1
Avg Bitrate:13570(this changes depending on the original file size), 2-pass and Turbo first pass checked.

I just tried using AC3 passthrough(from the Blu-Ray's original PCM audio), and it produced 224 kbps audio. When I used the older version 1.0.3 of Handbrake, no audio was produced. I'm trying the other audio codecs options now.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Just finished trying all the audio codec options...all the 'passthrough' options work, but only produce 224 kbps, unlike the older version 1.0.3, which produced no audio at all. Even with the newest version of Handbrake, it seems the max kbps is 640. Anyone have a way of increasing that? My source file is 1536 kbps.
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by mduell »

Set the fallback audio encoder bitrate to 640 if you don't want the default 224.

The source bitrate is irrelevant since it's a different codec.
yodasan
Posts: 19
Joined: Sun Mar 31, 2019 8:36 pm

Re: How does one use Handbrake(1.0.3 64bit) to encode passthrough LPCM audio?

Post by yodasan »

Thanks everyone for all the responses, help, advise, and suggestions...looks like I'll have to be satisfied with 640 kbps, as that seems to be the max I can handbrake from my PCM 1536 kbps Blu-rays....oh well....
Post Reply