Playback fails on Encode from LPCM

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
ckronengold
Posts: 47
Joined: Tue Jan 08, 2013 8:31 am

Playback fails on Encode from LPCM

Post by ckronengold » Fri Mar 13, 2015 1:15 pm

Was encoding a movie, which only has an LPCM 3.0 soundtrack, to put on my tablet for a trip. Usually I rip the disc to MKV then compress w Handbrake (RF20-RF22) and stereo, for portable devices. Never had a problem before. But this is my only title that only has LPCM soundtrack.

I chose to downmix it to stereo AAC, but I'm getting playback errors after about 3-4 mins in.

Is there anything in the log that might give an indication as to why? I see that some reading of the IFO failed at the start, but since it went on to encode the movie, I thought that might not matter.

Code: Select all

HandBrake 0.10.0.6534 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
Ram: 16214 MB, 
GPU Information:
  Intel(R) HD Graphics 4000 - 10.18.10.3496
Screen: 1440x900
Temp Dir: C:\Users\XXXXXX\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\XXXXXX\AppData\Roaming\HandBrake\HandBrake\0.10.0.6534

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

CLI Query:  -i "D:\XXXXXXXXXX.mkv" -t 1 --angle 1 -c 1-18 -o "G:\XXXXXXXXXXXXX(RF20stereo).mkv"  -f mkv  -w 1920 --crop 20:22:0:0 --loose-anamorphic  --modulus 2 -e x264 -q 20 -r 30 --pfr -a 1 -E fdk_aac -6 stereo -R 48 -B 320 -D 0 --gain 0 --audio-fallback ac3 --encoder-level="3.1"  --encoder-profile=main  --verbose=1

[19:24:35] hb_init: starting libhb thread
HandBrake 0.10.0 (2014112200) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening D:\XXXXXXXXXXXXXXX.mkv...
[19:24:35] CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
[19:24:35]  - Intel microarchitecture Ivy Bridge
[19:24:35]  - logical processor count: 4
[19:24:35] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4000
[19:24:35]  - OpenCL version: 1.2 
[19:24:35]  - driver version: 10.18.10.3496
[19:24:35]  - device type:    GPU
[19:24:35]  - supported:      no
[19:24:35] Intel Quick Sync Video support: yes
[19:24:35]  - Intel Media SDK hardware: API 1.8 (minimum: 1.3)
[19:24:35]  - H.264 encoder: yes
[19:24:35]     - preferred implementation: hardware (any)
[19:24:35]  - H.265 encoder: no
[19:24:35] hb_scan: path=D:\XXXXXXXXXXXXXXXXXX.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\XXXXXXXXXXXXXXXXXXXX.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\XXXXXXXXXXXXXXXXXX.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(D:\XXXXXXXXXXXXXXXX.mkv) failed
[19:24:35] 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
[19:24:35] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\XXXXXXXXXXXXX.mkv':
  Duration: 01:36:44.47, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 309.183875
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 309.183875, end 756.422333
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 756.422333, end 900.316083
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 900.316083, end 1111.485375
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1111.485375, end 1369.242875
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 1369.242875, end 1726.057667
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 1726.057667, end 2129.460667
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 2129.460667, end 2417.873792
    Metadata:
      title           : Chapter 08
    Chapter #0.8: start 2417.873792, end 2760.257500
    Metadata:
      title           : Chapter 09
    Chapter #0.9: start 2760.257500, end 2885.966417
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 2885.966417, end 3342.797792
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 3342.797792, end 3757.128375
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 3757.128375, end 4092.755333
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 4092.755333, end 4362.066042
    Metadata:
      title           : Chapter 14
    Chapter #0.14: start 4362.066042, end 4848.510333
    Metadata:
      title           : Chapter 15
    Chapter #0.15: start 4848.510333, end 5213.458250
    Metadata:
      title           : Chapter 16
    Chapter #0.16: start 5213.458250, end 5602.597000
    Metadata:
      title           : Chapter 17
    Chapter #0.17: start 5602.597000, end 5804.470000
    Metadata:
      title           : Chapter 18
    Stream #0.0(eng): Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, 3.0, s16, 2304 kb/s (default)
    Metadata:
      title           : Surround 3.0
    Stream #0.2(eng): Subtitle: pgssub
[19:24:35] dxva2:DxFindVideoServiceConversion failed
[19:24:35] scan: decoding previews for title 1
[19:24:35] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=2304000 English (pcm_s16le) (3.0 ch)
Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 7, 70.00 %
Scanning title 1 of 1, preview 10, 100.00 %[19:24:36] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/22/0/0, aspect 16:9, PAR 1:1
[19:24:36] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\XXXXXXXXXXXXXXXXX.mkv
  + duration: 01:36:44
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 20/22/0/0
  + support opencl: no
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:05:09
    + 2: cells 0->0, 0 blocks, duration 00:07:27
    + 3: cells 0->0, 0 blocks, duration 00:02:24
    + 4: cells 0->0, 0 blocks, duration 00:03:31
    + 5: cells 0->0, 0 blocks, duration 00:04:18
    + 6: cells 0->0, 0 blocks, duration 00:05:57
    + 7: cells 0->0, 0 blocks, duration 00:06:43
    + 8: cells 0->0, 0 blocks, duration 00:04:48
    + 9: cells 0->0, 0 blocks, duration 00:05:42
    + 10: cells 0->0, 0 blocks, duration 00:02:06
    + 11: cells 0->0, 0 blocks, duration 00:07:37
    + 12: cells 0->0, 0 blocks, duration 00:06:54
    + 13: cells 0->0, 0 blocks, duration 00:05:36
    + 14: cells 0->0, 0 blocks, duration 00:04:29
    + 15: cells 0->0, 0 blocks, duration 00:08:06
    + 16: cells 0->0, 0 blocks, duration 00:06:05
    + 17: cells 0->0, 0 blocks, duration 00:06:29
    + 18: cells 0->0, 0 blocks, duration 00:03:22
  + audio tracks:
    + 1, English (pcm_s16le) (3.0 ch) (iso639-2: eng)
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
[19:24:36] 1 job(s) to process
[19:24:36] starting job
[19:24:36] sync: expecting 139168 video frames
[19:24:36] job configuration:
[19:24:36]  * source
[19:24:36]    + D:\XXXXXXXXXXXXXXXXXXX.mkv
[19:24:36]    + title 1, chapter(s) 1 to 18
[19:24:36]    + container: matroska,webm
[19:24:36]  * destination
[19:24:36]    + G:\XXXXXXXXXXXXXXX(RF20stereo).mkv
[19:24:36]    + container: Matroska (libavformat)
[19:24:36]  * video track
[19:24:36]    + decoder: vc1
[19:24:36]    + filters
[19:24:36]      + Framerate Shaper (2:27000000:900000)
[19:24:36]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[19:24:36]      + Crop and Scale (1920:1038:20:22:0:0)
[19:24:36]        + source: 1920 * 1080, crop (20/22/0/0): 1920 * 1038, scale: 1920 * 1038
[19:24:36]    + loose anamorphic
[19:24:36]      + storage dimensions: 1920 * 1038, mod 2
[19:24:36]      + pixel aspect ratio: 1 / 1
[19:24:36]      + display dimensions: 1920 * 1038
[19:24:36]    + encoder: H.264 (libx264)
[19:24:36]      + profile: main
[19:24:36]      + level:   3.1
[19:24:36]      + quality: 20.00 (RF)
[19:24:36]  * audio track 1
[19:24:36]    + decoder: English (pcm_s16le) (3.0 ch) (track 1, id 0x1)
[19:24:36]      + bitrate: 2304 kbps, samplerate: 48000 Hz
[19:24:36]    + mixdown: Stereo
[19:24:36]    + dither: triangular
[19:24:36]    + encoder: AAC (libfdk_aac)
[19:24:36]      + bitrate: 320 kbps, samplerate: 48000 Hz
[19:24:36] reader: first SCR 0 id 0x0 DTS 0
[19:24:36] encx264: min-keyint: 24, keyint: 240
[19:24:36] encx264: encoding at constant RF 20.000000
[19:24:36] hb_apply_h264_level [warning]: frame size (1920x1040, 7800 macroblocks) too high for level 3.1 (max. 3600 macroblocks)
[19:24:36] encx264: unparsed options: level=3.1:ref=2:b-pyramid=none:8x8dct=0:vbv-bufsize=14000:vbv-maxrate=14000
x264 [info]: using SAR=1/1
x264 [warning]: frame MB size (120x65) > level limit (3600)
x264 [warning]: MB rate (187012) > level limit (108000)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 3.1
[19:29:18] vc1: "Chapter 2" (2) at frame 7421 time 27826560
[19:37:11] vc1: "Chapter 3" (3) at frame 18145 time 68081760
[19:39:49] vc1: "Chapter 4" (4) at frame 21595 time 81032220
[19:43:23] vc1: "Chapter 5" (5) at frame 26658 time 100037430
[19:48:17] vc1: "Chapter 6" (6) at frame 32837 time 123231870
[19:55:12] vc1: "Chapter 7" (7) at frame 41392 time 155345220
[20:01:34] vc1: "Chapter 8" (8) at frame 51064 time 191651490
[20:06:55] vc1: "Chapter 9" (9) at frame 57979 time 217608660
[20:13:31] vc1: "Chapter 10" (10) at frame 66188 time 248423220
[20:15:41] vc1: "Chapter 11" (11) at frame 69203 time 259740720
[20:22:39] vc1: "Chapter 12" (12) at frame 80155 time 300851820
[20:29:58] vc1: "Chapter 13" (13) at frame 90090 time 338145300
[20:37:12] vc1: "Chapter 14" (14) at frame 98137 time 368351730
[20:41:51] vc1: "Chapter 15" (15) at frame 104594 time 392589720
[20:50:05] vc1: "Chapter 16" (16) at frame 116257 time 436369680
[20:56:56] vc1: "Chapter 17" (17) at frame 125007 time 469215000
[21:04:09] vc1: "Chapter 18" (18) at frame 134336 time 504233730
[21:05:33] reader: done. 1 scr changes
[21:05:35] work: average encoding speed for job is 22.965378 fps
[21:05:35] sync: got 139168 frames, 139168 expected
[21:05:35] render: 139168 frames output, 0 dropped and 0 duped for CFR/PFR
[21:05:35] render: lost time: 0 (0 frames)
[21:05:35] render: gained time: 0 (0 frames) (0 not accounted for)
[21:05:35] vc1-decoder done: 139168 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:1122  Avg QP:16.73  size:140645
x264 [info]: frame P:68473 Avg QP:20.10  size: 40867
x264 [info]: frame B:69573 Avg QP:22.39  size: 13011
x264 [info]: consecutive B-frames: 16.0% 47.8% 12.4% 23.8%
x264 [info]: mb I  I16..4: 27.3%  0.0% 72.7%
x264 [info]: mb P  I16..4:  1.5%  0.0%  2.2%  P16..4: 52.6% 18.9% 10.1%  0.0%  0.0%    skip:14.7%
x264 [info]: mb B  I16..4:  0.1%  0.0%  0.1%  B16..8: 47.6%  3.6%  0.6%  direct: 3.2%  skip:44.7%  L0:37.7% L1:57.1% BI: 5.2%
x264 [info]: coded y,uvDC,uvAC intra: 69.1% 84.6% 55.4% inter: 21.1% 32.1% 1.8%
x264 [info]: i16 v,h,dc,p: 37% 13% 14% 37%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 18% 17%  7%  8%  8%  7%  6%  5%
x264 [info]: i8c dc,h,v,p: 52% 16% 23% 10%
x264 [info]: Weighted P-Frames: Y:1.7% UV:0.5%
x264 [info]: ref P L0: 69.3% 13.4% 17.2%  0.1%
x264 [info]: kb/s:5321.84
[21:05:35] pcm_s16le-decoder done: 0 frames, 0 decoder errors, 0 drops
[21:05:35] mux: track 0, 139168 frames, 3861260739 bytes, 5321.78 kbps, fifo 4096
[21:05:35] mux: track 1, 272084 frames, 232178347 bytes, 320.00 kbps, fifo 8192
[21:05:35] libhb: work result = 0
Encode done!
HandBrake has exited.
Last edited by Rodeo on Fri Mar 13, 2015 3:08 pm, edited 1 time in total.
Reason: Logs must be placed between [code][/code] blocks

User avatar
Rodeo
HandBrake Team
Posts: 12199
Joined: Tue Mar 03, 2009 8:55 pm

Re: Playback fails on Encode from LPCM

Post by Rodeo » Fri Mar 13, 2015 3:10 pm

ckronengold wrote:

Code: Select all

[19:24:36] hb_apply_h264_level [warning]: frame size (1920x1040, 7800 macroblocks) too high for level 3.1 (max. 3600 macroblocks)
[19:24:36] encx264: unparsed options: level=3.1:ref=2:b-pyramid=none:8x8dct=0:vbv-bufsize=14000:vbv-maxrate=14000
x264 [info]: using SAR=1/1
x264 [warning]: frame MB size (120x65) > level limit (3600)
x264 [warning]: MB rate (187012) > level limit (108000)
Not sure what preset your started with, but it wasn't setup for 1080p. Try setting the H.264 level to 4.0 ;)

ckronengold
Posts: 47
Joined: Tue Jan 08, 2013 8:31 am

Re: Playback fails on Encode from LPCM

Post by ckronengold » Fri Mar 13, 2015 4:12 pm

Weird. I was using my usual preset that I use for all my bluray encodes. Might have tried the AAC-FDK for some reason, too. Was thinking about it, but not sure what I did in the end.

I'll double check and try again. Thanks!

ckronengold
Posts: 47
Joined: Tue Jan 08, 2013 8:31 am

Re: Playback fails on Encode from LPCM

Post by ckronengold » Fri Mar 13, 2015 9:24 pm

must have just been a bad encode.
I re-encoded both as mkv and mp4, and both played fine.
Thanks!

Post Reply