Incomplete Encodes At 4000k

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
eniwetok
Posts: 33
Joined: Wed Oct 28, 2009 5:28 am

Incomplete Encodes At 4000k

Post by eniwetok »

Please describe the problem in as much detail as possible:
I was compressing some old videos shot on my Canon 120 Sureshot... a dog of a camera that shot 480p mjpeg video @ 15mbs.

I was testing a single file to see what was the lowest bitrate I could use to capture most detail. I was up to 3500k when I wanted to try 4000k... and HB refused to encode the entire file... only the first few seconds. This has now happened several times in a row.
What are the steps to reproduce this problem:
Running the file again with the same settings.
What version of HandBrake you are running:
10.5 64 bit

What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Win 8.1
If there was any exception or error displayed, please copy it and paste it here:
none
Please include the scan or encode log:

Code: Select all

 [14:03:58] hb_init: starting libhb thread
[14:03:58] CPU: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
[14:03:58]  - Intel microarchitecture Haswell
[14:03:58]  - logical processor count: 4
[14:03:58] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[14:03:58]  - OpenCL version: 1.2 
[14:03:58]  - driver version: 10.18.14.4264
[14:03:58]  - device type:    GPU
[14:03:58]  - supported:      YES
[14:03:58] Intel Quick Sync Video support: yes
[14:03:58]  - Intel Media SDK hardware: API 1.16 (minimum: 1.3)
[14:03:58]  - H.264 encoder: yes
[14:03:58]     - preferred implementation: hardware (any)
[14:03:58]  - H.265 encoder: no
[14:03:58] hb_scan: path=C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi) failed
[14:03:58] 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
[14:03:58] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi':
  Metadata:
    creation_time   : 2010-10-12 15:40:16
    encoder         : CanonMVI06
  Duration: 00:00:46.29, start: 0.000000, bitrate: 15036 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 fps, 30 tbn
    Stream #0.1: Audio: pcm_u8, 11024 Hz, 1 channels, u8, 88 kb/s
[14:03:58] dxva2:DxFindVideoServiceConversion failed
[14:03:58] scan: decoding previews for title 1
[14:03:58] scan: audio 0x1: pcm_u8, rate=11024Hz, bitrate=88192 Unknown (pcm_u8) (1.0 ch)
[14:03:59] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[14:03:59] libhb: scan thread found 1 valid title(s)
. 
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Incomplete Encodes At 4000k

Post by rollin_eng »

Can you post your encode log please.
eniwetok
Posts: 33
Joined: Wed Oct 28, 2009 5:28 am

Re: Incomplete Encodes At 4000k

Post by eniwetok »

Thanks for the speedy reply. This is from another try... at 3500k... and it failed too.

Code: Select all

CLI Query:  -i "C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi" -t 1 --angle 1 -c 1 -o "C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD 3500k.mp4"  -f mp4  --crop 0:0:0:0 --strict-anamorphic  --modulus 2 -e x264 -b 3500 -2  --cfr -a 1 -E mp3 -6 dpl2 -R 44.1 -B 128 -D 0 --gain 0 --audio-fallback ac3 --encoder-preset=veryslow  --encoder-tune="grain"  --encoder-profile=main  --verbose=1

[15:50:36] hb_init: starting libhb thread
HandBrake 0.10.5 (2016021100) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi...
[15:50:36] CPU: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz
[15:50:36]  - Intel microarchitecture Haswell
[15:50:36]  - logical processor count: 4
[15:50:36] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[15:50:36]  - OpenCL version: 1.2 
[15:50:36]  - driver version: 10.18.14.4264
[15:50:36]  - device type:    GPU
[15:50:36]  - supported:      YES
[15:50:36] Intel Quick Sync Video support: yes
[15:50:36]  - Intel Media SDK hardware: API 1.16 (minimum: 1.3)
[15:50:36]  - H.264 encoder: yes
[15:50:36]     - preferred implementation: hardware (any)
[15:50:36]  - H.265 encoder: no
[15:50:36] hb_scan: path=C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi) failed
[15:50:36] 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
[15:50:36] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi':
  Metadata:
    creation_time   : 2010-10-12 15:40:16
    encoder         : CanonMVI06
  Duration: 00:00:46.29, start: 0.000000, bitrate: 15036 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 fps, 30 tbn
    Stream #0.1: Audio: pcm_u8, 11024 Hz, 1 channels, u8, 88 kb/s
[15:50:36] dxva2:DxFindVideoServiceConversion failed
[15:50:36] scan: decoding previews for title 1
[15:50:36] scan: audio 0x1: pcm_u8, rate=11024Hz, bitrate=88192 Unknown (pcm_u8) (1.0 ch)
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 8, 80.00 %[15:50:36] scan: 10 previews, 640x480, 30.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[15:50:36] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi
  + duration: 00:00:46
  + size: 640x480, pixel aspect: 1/1, display aspect: 1.33, 30.000 fps
  + autocrop: 0/0/0/0
  + support opencl: yes
  + support hwd: no
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:46
  + audio tracks:
    + 1, Unknown (pcm_u8) (1.0 ch) (iso639-2: und)
  + subtitle tracks:
[15:50:36] 2 job(s) to process
[15:50:36] starting job
[15:50:36] work: sanitizing track 1 mixdown Dolby Pro Logic II to Mono
[15:50:36] work: compression level not specified, track 1 setting compression level 2.00
[15:50:36] sync: expecting 1388 video frames
[15:50:36] job configuration:
[15:50:36]  * source
[15:50:36]    + C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi
[15:50:36]    + title 1, chapter(s) 1 to 1
[15:50:36]    + container: avi
[15:50:36]    + data rate: 15036 kbps
[15:50:36]  * destination
[15:50:36]    + C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD 3500k.mp4
[15:50:36]    + container: MPEG-4 (libavformat)
[15:50:36]  * video track
[15:50:36]    + decoder: mjpeg
[15:50:36]    + filters
[15:50:36]      + Framerate Shaper (1:27000000:900000)
[15:50:36]        + frame rate: 30.000 fps -> constant 30.000 fps
[15:50:36]      + Crop and Scale (640:480:0:0:0:0)
[15:50:36]        + source: 640 * 480, crop (0/0/0/0): 640 * 480, scale: 640 * 480
[15:50:36]    + strict anamorphic
[15:50:36]      + storage dimensions: 640 * 480, mod 2
[15:50:36]      + pixel aspect ratio: 1 / 1
[15:50:36]      + display dimensions: 640 * 480
[15:50:36]    + encoder: H.264 (libx264)
[15:50:36]      + preset:  veryslow
[15:50:36]      + tune:    grain
[15:50:36]      + profile: main
[15:50:36]      + bitrate: 3500 kbps, pass: 1
[15:50:36]  * audio track 1
[15:50:36]    + decoder: Unknown (pcm_u8) (1.0 ch) (track 1, id 0x1)
[15:50:36]      + bitrate: 88 kbps, samplerate: 11024 Hz
[15:50:36]    + mixdown: Mono
[15:50:36]    + encoder: MP3 (libmp3lame)
[15:50:36]      + bitrate: 128 kbps, samplerate: 44100 Hz
[15:50:36]      + compression level: 2.00
[15:50:36] reader: first SCR 0 id 0x1 DTS 0
[15:50:36] encx264: min-keyint: 30, keyint: 300
[15:50:36] encx264: encoding at average bitrate 3500
[15:50:36] encx264: unparsed options: ref=16:bframes=8:b-adapt=2:direct=auto:deblock=-2,-2:analyse=all:8x8dct=0:me=umh:merange=24:subme=10:trellis=2:dct-decimate=0:psy-rd=1.00,0.25:deadzone-inter=6:deadzone-intra=6:ipratio=1.10:qcomp=0.80:aq-strength=0.50:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile Main, level 3.2
[15:50:37] sync: adding 1086 ms of silence to audio 0x1  start 90000, next -7775
[15:50:37] sync: adding 1082 ms of silence to audio 0x1  start 180000, next 82606
[15:50:38] sync: adding 1082 ms of silence to audio 0x1  start 270000, next 172606
[15:50:38] sync: adding 1082 ms of silence to audio 0x1  start 360000, next 262607
[15:50:38] sync: adding 1082 ms of silence to audio 0x1  start 450000, next 352607
[15:50:42] sync: adding 1082 ms of silence to audio 0x1  start 540000, next 442607
[15:50:45] sync: adding 1082 ms of silence to audio 0x1  start 630000, next 532608
[15:50:47] sync: adding 1082 ms of silence to audio 0x1  start 720000, next 622608
[15:50:49] sync: adding 1082 ms of silence to audio 0x1  start 810000, next 712608
[15:50:51] sync: adding 1082 ms of silence to audio 0x1  start 900000, next 802609
[15:50:53] sync: adding 1082 ms of silence to audio 0x1  start 990000, next 892609
[15:50:55] sync: adding 1082 ms of silence to audio 0x1  start 1080000, next 982609
[15:50:57] sync: adding 1082 ms of silence to audio 0x1  start 1170000, next 1072609
[15:50:59] sync: adding 1082 ms of silence to audio 0x1  start 1260000, next 1162610
[15:51:01] sync: adding 1082 ms of silence to audio 0x1  start 1350000, next 1252610
[15:51:02] sync: adding 1082 ms of silence to audio 0x1  start 1440000, next 1342610
[15:51:04] sync: adding 1082 ms of silence to audio 0x1  start 1530000, next 1432611
[15:51:06] sync: adding 1082 ms of silence to audio 0x1  start 1620000, next 1522611
[15:51:08] sync: adding 1082 ms of silence to audio 0x1  start 1710000, next 1612611
[15:51:10] sync: adding 1082 ms of silence to audio 0x1  start 1800000, next 1702611
[15:51:12] sync: adding 1082 ms of silence to audio 0x1  start 1890000, next 1792612
[15:51:14] sync: adding 1082 ms of silence to audio 0x1  start 1980000, next 1882604
[15:51:16] sync: adding 1082 ms of silence to audio 0x1  start 2070000, next 1972604
[15:51:18] sync: adding 1082 ms of silence to audio 0x1  start 2160000, next 2062604
[15:51:20] sync: adding 1082 ms of silence to audio 0x1  start 2250000, next 2152605
[15:51:21] sync: adding 1082 ms of silence to audio 0x1  start 2340000, next 2242605
[15:51:23] sync: adding 1082 ms of silence to audio 0x1  start 2430000, next 2332605
[15:51:25] sync: adding 1082 ms of silence to audio 0x1  start 2520000, next 2422606
[15:51:27] sync: adding 1082 ms of silence to audio 0x1  start 2610000, next 2512606
[15:51:29] sync: adding 1082 ms of silence to audio 0x1  start 2700000, next 2602606
[15:51:31] sync: adding 1082 ms of silence to audio 0x1  start 2790000, next 2692606
[15:51:34] sync: adding 1082 ms of silence to audio 0x1  start 2880000, next 2782607
[15:51:35] sync: adding 1082 ms of silence to audio 0x1  start 2970000, next 2872607
[15:51:37] sync: adding 1082 ms of silence to audio 0x1  start 3060000, next 2962607
[15:51:39] sync: adding 1082 ms of silence to audio 0x1  start 3150000, next 3052608
[15:51:41] sync: adding 1082 ms of silence to audio 0x1  start 3240000, next 3142608
[15:51:43] sync: adding 1082 ms of silence to audio 0x1  start 3330000, next 3232608
[15:51:45] sync: adding 1082 ms of silence to audio 0x1  start 3420000, next 3322608
[15:51:46] sync: adding 1082 ms of silence to audio 0x1  start 3510000, next 3412609
[15:51:48] sync: adding 1082 ms of silence to audio 0x1  start 3600000, next 3502609
[15:51:50] sync: adding 1082 ms of silence to audio 0x1  start 3690000, next 3592609
[15:51:52] sync: adding 1082 ms of silence to audio 0x1  start 3780000, next 3682610
[15:51:54] sync: adding 1082 ms of silence to audio 0x1  start 3870000, next 3772610
[15:51:56] sync: adding 1082 ms of silence to audio 0x1  start 3960000, next 3862610
[15:51:57] sync: adding 1082 ms of silence to audio 0x1  start 4050000, next 3952610
[15:51:59] sync: adding 1082 ms of silence to audio 0x1  start 4140000, next 4042611
[15:51:59] reader: done. 1 scr changes
[15:52:08] work: average encoding speed for job is 16.140779 fps
[15:52:09] sync: got 1389 frames, 1388 expected
[15:52:09] render: 1389 frames output, 0 dropped and 0 duped for CFR/PFR
[15:52:09] render: lost time: 0 (0 frames)
[15:52:09] render: gained time: 0 (0 frames) (0 not accounted for)
[15:52:09] mjpeg-decoder done: 1389 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:5     Avg QP:21.58  size: 44133
x264 [info]: frame P:288   Avg QP:23.70  size: 24369
x264 [info]: frame B:1096  Avg QP:24.99  size: 11174
x264 [info]: consecutive B-frames:  0.4%  0.4%  2.8% 33.7% 24.8% 30.2%  7.6%  0.0%  0.0%
x264 [info]: mb I  I16..4: 26.8%  0.0% 73.2%
x264 [info]: mb P  I16..4:  4.9%  0.0% 12.4%  P16..4: 38.2% 25.2% 15.0%  2.2%  0.6%    skip: 1.5%
x264 [info]: mb B  I16..4:  0.5%  0.0%  1.3%  B16..8: 42.2% 18.0%  4.2%  direct:15.4%  skip:18.5%  L0:35.2% L1:33.0% BI:31.8%
x264 [info]: final ratefactor: 21.00
x264 [info]: direct mvs  spatial:99.6% temporal:0.4%
x264 [info]: coded y,uvDC,uvAC intra: 93.4% 92.2% 72.4% inter: 47.6% 55.4% 15.6%
x264 [info]: i16 v,h,dc,p: 13% 34% 14% 38%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  5% 13%  4%  8% 11%  9% 14% 11% 25%
x264 [info]: i8c dc,h,v,p: 45% 32% 11% 12%
x264 [info]: Weighted P-Frames: Y:16.7% UV:11.8%
x264 [info]: ref P L0: 38.6% 14.4% 20.6%  5.7%  5.2%  3.0%  3.2%  1.6%  1.6%  1.2%  1.2%  0.9%  0.9%  0.7%  0.8%  0.5%
x264 [info]: ref B L0: 80.3% 10.0%  3.0%  1.8%  1.1%  0.9%  0.7%  0.5%  0.4%  0.3%  0.3%  0.3%  0.2%  0.2%  0.1%
x264 [info]: ref B L1: 95.9%  4.1%
x264 [info]: kb/s:3366.91
[15:52:09] pcm_u8-decoder done: 0 frames, 0 decoder errors, 0 drops
[15:52:09] starting job
[15:52:09] work: sanitizing track 1 mixdown Dolby Pro Logic II to Mono
[15:52:09] work: compression level not specified, track 1 setting compression level 2.00
[15:52:09] sync: expecting 1389 video frames
[15:52:09] job configuration:
[15:52:09]  * source
[15:52:09]    + C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD.avi
[15:52:09]    + title 1, chapter(s) 1 to 1
[15:52:09]    + container: avi
[15:52:09]    + data rate: 15036 kbps
[15:52:09]  * destination
[15:52:09]    + C:\Users\XX\Desktop\_ENCODE\10-10-10 S AMHERST\2010-10-12 MEMORIAL DRIVE FIELD 3500k.mp4
[15:52:09]    + container: MPEG-4 (libavformat)
[15:52:09]  * video track
[15:52:09]    + decoder: mjpeg
[15:52:09]    + filters
[15:52:09]      + Framerate Shaper (1:27000000:900000)
[15:52:09]        + frame rate: 30.000 fps -> constant 30.000 fps
[15:52:09]      + Crop and Scale (640:480:0:0:0:0)
[15:52:09]        + source: 640 * 480, crop (0/0/0/0): 640 * 480, scale: 640 * 480
[15:52:09]    + strict anamorphic
[15:52:09]      + storage dimensions: 640 * 480, mod 2
[15:52:09]      + pixel aspect ratio: 1 / 1
[15:52:09]      + display dimensions: 640 * 480
[15:52:09]    + encoder: H.264 (libx264)
[15:52:09]      + preset:  veryslow
[15:52:09]      + tune:    grain
[15:52:09]      + profile: main
[15:52:09]      + bitrate: 3500 kbps, pass: 2
[15:52:09]  * audio track 1
[15:52:09]    + decoder: Unknown (pcm_u8) (1.0 ch) (track 1, id 0x1)
[15:52:09]      + bitrate: 88 kbps, samplerate: 11024 Hz
[15:52:09]    + mixdown: Mono
[15:52:09]    + encoder: MP3 (libmp3lame)
[15:52:09]      + bitrate: 128 kbps, samplerate: 44100 Hz
[15:52:09]      + compression level: 2.00
[15:52:09] reader: first SCR 0 id 0x1 DTS 0
[15:52:09] encx264: min-keyint: 30, keyint: 300
[15:52:09] encx264: encoding at average bitrate 3500
[15:52:09] encx264: unparsed options: ref=16:bframes=8:b-adapt=2:direct=auto:deblock=-2,-2:analyse=all:8x8dct=0:me=umh:merange=24:subme=10:trellis=2:dct-decimate=0:psy-rd=1.00,0.25:deadzone-inter=6:deadzone-intra=6:ipratio=1.10:qcomp=0.80:aq-strength=0.50:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile Main, level 3.2
[15:52:09] sync: adding 1086 ms of silence to audio 0x1  start 90000, next -7775
[15:52:10] sync: adding 1082 ms of silence to audio 0x1  start 180000, next 82606
[15:52:11] sync: adding 1082 ms of silence to audio 0x1  start 270000, next 172606
[15:52:12] sync: adding 1082 ms of silence to audio 0x1  start 360000, next 262607
[15:52:15] sync: adding 1082 ms of silence to audio 0x1  start 450000, next 352607
[15:52:17] sync: adding 1082 ms of silence to audio 0x1  start 540000, next 442607
[15:52:19] sync: adding 1082 ms of silence to audio 0x1  start 630000, next 532608
[15:52:21] sync: adding 1082 ms of silence to audio 0x1  start 720000, next 622608
[15:52:23] sync: adding 1082 ms of silence to audio 0x1  start 810000, next 712608
[15:52:25] sync: adding 1082 ms of silence to audio 0x1  start 900000, next 802609
[15:52:27] sync: adding 1082 ms of silence to audio 0x1  start 990000, next 892609
[15:52:29] sync: adding 1082 ms of silence to audio 0x1  start 1080000, next 982609
[15:52:31] sync: adding 1082 ms of silence to audio 0x1  start 1170000, next 1072609
[15:52:32] sync: adding 1082 ms of silence to audio 0x1  start 1260000, next 1162610
[15:52:34] sync: adding 1082 ms of silence to audio 0x1  start 1350000, next 1252610
[15:52:36] sync: adding 1082 ms of silence to audio 0x1  start 1440000, next 1342610
[15:52:37] sync: adding 1082 ms of silence to audio 0x1  start 1530000, next 1432611
[15:52:40] sync: adding 1082 ms of silence to audio 0x1  start 1620000, next 1522611
[15:52:42] sync: adding 1082 ms of silence to audio 0x1  start 1710000, next 1612611
[15:52:43] sync: adding 1082 ms of silence to audio 0x1  start 1800000, next 1702611
[15:52:45] sync: adding 1082 ms of silence to audio 0x1  start 1890000, next 1792612
[15:52:47] sync: adding 1082 ms of silence to audio 0x1  start 1980000, next 1882604
[15:52:48] sync: adding 1082 ms of silence to audio 0x1  start 2070000, next 1972604
[15:52:50] sync: adding 1082 ms of silence to audio 0x1  start 2160000, next 2062604
[15:52:51] sync: adding 1082 ms of silence to audio 0x1  start 2250000, next 2152605
[15:52:53] sync: adding 1082 ms of silence to audio 0x1  start 2340000, next 2242605
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= -3899
ERROR: avformatMux: track 1, av_interleaved_write_frame failed with error 'Error number -22 occurred'
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= -2747
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= -1595
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= -443
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 708
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 1860
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 3012
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 4164
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 5316
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 6468
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 7620
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 8772
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 9925
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 11077
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 12229
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 13381
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 14533
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 15685
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 16837
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 17989
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 19141
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 20293
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 21445
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 22597
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 23749
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 24901
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 26053
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 27205
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 28357
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 29509
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 30661
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 31813
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 32965
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 34117
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 35269
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 36421
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 37573
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 38725
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 39877
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 41029
[mp4 @ 00000000066775a0] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 42671 >= 42181
[15:52:53] work: average encoding speed for job is 16.420586 fps
[15:52:53] reader: done. 1 scr changes
[15:52:53] sync: got 729 frames, 1389 expected
[15:52:53] render: 709 frames output, 0 dropped and 0 duped for CFR/PFR
[15:52:53] render: lost time: 0 (0 frames)
[15:52:53] render: gained time: 0 (0 frames) (0 not accounted for)
[15:52:53] mjpeg-decoder done: 755 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:3     Avg QP:22.62  size: 39219
x264 [info]: frame P:143   Avg QP:24.00  size: 23689
x264 [info]: frame B:540   Avg QP:25.33  size: 12403
x264 [info]: consecutive B-frames:  0.6%  0.6%  3.5% 34.9% 18.9% 32.3%  9.2%  0.0%  0.0%
x264 [info]: mb I  I16..4: 24.4%  0.0% 75.6%
x264 [info]: mb P  I16..4:  6.1%  0.0% 15.8%  P16..4: 34.8% 26.0% 13.5%  1.3%  0.3%    skip: 2.2%
x264 [info]: mb B  I16..4:  0.8%  0.0%  2.4%  B16..8: 39.0% 20.1%  4.8%  direct:15.1%  skip:17.9%  L0:38.4% L1:33.6% BI:28.0%
x264 [info]: direct mvs  spatial:99.6% temporal:0.4%
x264 [info]: coded y,uvDC,uvAC intra: 94.0% 92.9% 74.4% inter: 51.4% 55.7% 14.4%
x264 [info]: i16 v,h,dc,p: 18% 35% 13% 34%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  5% 13%  4%  8% 11%  9% 15% 11% 25%
x264 [info]: i8c dc,h,v,p: 43% 32% 13% 13%
x264 [info]: Weighted P-Frames: Y:24.5% UV:20.3%
x264 [info]: ref P L0: 40.7%  6.9% 17.9%  8.7%  6.4%  4.9%  3.6%  2.2%  1.9%  1.6%  1.3%  1.2%  1.0%  0.8%  0.6%  0.4%
x264 [info]: ref B L0: 75.0% 12.3%  4.7%  2.3%  1.4%  1.1%  0.8%  0.5%  0.4%  0.3%  0.3%  0.2%  0.2%  0.1%  0.1%
x264 [info]: ref B L1: 94.7%  5.3%
x264 [info]: kb/s:3569.56
[15:52:53] pcm_u8-decoder done: 0 frames, 0 decoder errors, 0 drops
[15:52:53] mux: track 0, 28 frames, 538574 bytes, 4169.61 kbps, fifo 1024
[15:52:53] mux: track 1, 81 frames, 33854 bytes, 262.10 kbps, fifo 2048
[15:52:54] libhb: work result = 4
Encode failed (error 4).
HandBrake has exited. 
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Incomplete Encodes At 4000k

Post by Woodstock »

Given the number of synchronization issues in the source, have you tried using something like VideoRedo to clean it up?

That may also deal with the fact that the AVI file is poorly done. Failed at 4:56 or so into the file?
eniwetok
Posts: 33
Joined: Wed Oct 28, 2009 5:28 am

Re: Incomplete Encodes At 4000k

Post by eniwetok »

The file is only 46 seconds long. These odd happenings began yesterday. I was merging some original files for compression and HB was balking at some of those larger files... comprising of about 5-6 original files. I can't go past that because of audio sync problems. But this file was an original single unmerged file. I should mention it encoded fine with AVIDEMUX.

You may be right that the original files are not high equality... but it gets worst. My camera before that shot video as 12.5 FPS... if I wanted 480p... and the blockiness is unbelievable. I've been experimenting with the HB deblocking filter for those files.

I'll check into VideoRedo.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Incomplete Encodes At 4000k

Post by s55 »

You may also want to try a nighly build. The new sync engine is more tolerant of bad sources.
Post Reply