keyint is not being stricly enforced
Steps to reproduce the problem (If Applicable):
Add a video source at 30 FPS and set keyint=30 in extra options
HandBrake version (e.g., 1.0.0):
1.2.2
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17134.0
CPU: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz
Ram: 32677 MB,
GPU Information:
NVIDIA GeForce GTX 1070 - 25.21.14.1935
NVIDIA GeForce GTX 1070 - 25.21.14.1935
Screen: 1920x1080
Temp Dir: C:\Users\Andy\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Andy\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[11:49:59] hb_init: starting libhb thread
[11:49:59] 1 job(s) to process
[11:49:59] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "C:\\Users\\Andy\\Downloads\\tttttt.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "mp4"
},
"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": "1",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\Andy\\Downloads\\ffmpeg-20181220-16ec62b-win64-static\\ffmpeg-20181220-16ec62b-win64-static\\bin\\PassionForFashionTrailer_30Test.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "keyint=30",
"Preset": "placebo",
"Profile": "baseline",
"Quality": 22.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[11:49:59] CPU: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz
[11:49:59] - Intel microarchitecture Haswell
[11:49:59] - logical processor count: 12
[11:49:59] Intel Quick Sync Video support: no
[11:49:59] hb_scan: path=C:\Users\Andy\Downloads\ffmpeg-20181220-16ec62b-win64-static\ffmpeg-20181220-16ec62b-win64-static\bin\PassionForFashionTrailer_30Test.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\Andy\Downloads\ffmpeg-20181220-16ec62b-win64-static\ffmpeg-20181220-16ec62b-win64-static\bin\PassionForFashionTrailer_30Test.mp4
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
[11:49:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[11:49:59] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Andy\Downloads\ffmpeg-20181220-16ec62b-win64-static\ffmpeg-20181220-16ec62b-win64-static\bin\PassionForFashionTrailer_30Test.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2019-03-08T17:21:24.000000Z
encoder : HandBrake 1.2.2 2019022300
Duration: 00:00:54.25, start: 0.000000, bitrate: 2703 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2537 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
Metadata:
creation_time : 2019-03-08T17:21:24.000000Z
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 161 kb/s (default)
Metadata:
creation_time : 2019-03-08T17:21:24.000000Z
handler_name : SoundHandler
[11:49:59] scan: decoding previews for title 1
[11:49:59] scan: audio 0x1: aac, rate=48000Hz, bitrate=161953 English (AAC LC) (2.0 ch)
[11:49:59] scan: 10 previews, 1920x1080, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:49:59] scan: supported video decoders: avcodec qsv
[11:49:59] libhb: scan thread found 1 valid title(s)
[11:49:59] Skipping subtitle scan. No suitable subtitle tracks.
[11:49:59] starting job
[11:49:59] decomb filter thread started for segment 0
[11:49:59] decomb filter thread started for segment 1
[11:49:59] decomb filter thread started for segment 2
[11:49:59] decomb filter thread started for segment 3
[11:49:59] decomb filter thread started for segment 4
[11:49:59] decomb filter thread started for segment 5
[11:49:59] decomb filter thread started for segment 6
[11:49:59] decomb filter thread started for segment 7
[11:49:59] decomb check thread started for segment 5
[11:49:59] decomb check thread started for segment 7
[11:49:59] decomb filter thread started for segment 10
[11:49:59] decomb filter thread started for segment 11
[11:49:59] decomb check thread started for segment 0
[11:49:59] decomb check thread started for segment 1
[11:49:59] decomb check thread started for segment 2
[11:49:59] decomb check thread started for segment 3
[11:49:59] decomb check thread started for segment 4
[11:49:59] decomb filter thread started for segment 8
[11:49:59] decomb check thread started for segment 6
[11:49:59] decomb filter thread started for segment 9
[11:49:59] decomb check thread started for segment 8
[11:49:59] decomb check thread started for segment 9
[11:49:59] decomb check thread started for segment 10
[11:49:59] mask erode thread started for segment 10
[11:49:59] mask filter thread started for segment 0
[11:49:59] mask filter thread started for segment 1
[11:49:59] mask filter thread started for segment 2
[11:49:59] mask filter thread started for segment 4
[11:49:59] mask filter thread started for segment 5
[11:49:59] mask dilate thread started for segment 11
[11:49:59] mask dilate thread started for segment 5
[11:49:59] mask filter thread started for segment 7
[11:49:59] yadif thread started for segment 2
[11:49:59] mask filter thread started for segment 9
[11:49:59] yadif thread started for segment 10
[11:49:59] mask erode thread started for segment 0
[11:49:59] mask erode thread started for segment 1
[11:49:59] mask erode thread started for segment 2
[11:49:59] work: only 1 chapter, disabling chapter markers
[11:49:59] job configuration:
[11:49:59] * source
[11:49:59] + C:\Users\Andy\Downloads\ffmpeg-20181220-16ec62b-win64-static\ffmpeg-20181220-16ec62b-win64-static\bin\PassionForFashionTrailer_30Test.mp4
[11:49:59] + title 1, chapter(s) 1 to 1
[11:49:59] + container: mov,mp4,m4a,3gp,3g2,mj2
[11:49:59] + data rate: 2703 kbps
[11:49:59] * destination
[11:49:59] + C:\Users\Andy\Downloads\tttttt.mp4
[11:49:59] + container: MPEG-4 (libavformat)
[11:49:59] + align initial A/V stream timestamps
[11:49:59] mask erode thread started for segment 3
[11:49:59] * video track
[11:49:59] + decoder: h264
[11:49:59] + bitrate 2537 kbps
[11:49:59] + filters
[11:49:59] mask filter thread started for segment 10
[11:49:59] + 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)
[11:49:59] + Decomb (mode=39)
[11:49:59] + Framerate Shaper (mode=1:rate=27000000/900000)
[11:49:59] + frame rate: 30.000 fps -> constant 30.000 fps
[11:49:59] mask erode thread started for segment 4
[11:49:59] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[11:49:59] + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[11:49:59] + Output geometry
[11:49:59] + storage dimensions: 1920 x 1080
[11:49:59] + pixel aspect ratio: 1 : 1
[11:49:59] + display dimensions: 1920 x 1080
[11:49:59] + encoder: H.264 (libx264)
[11:49:59] + preset: placebo
[11:49:59] + options: keyint=30
[11:49:59] + profile: baseline
[11:49:59] + level: 4.0
[11:49:59] + quality: 22.00 (RF)
[11:49:59] + color profile: 1-1-1
[11:49:59] mask erode thread started for segment 5
[11:49:59] * audio track 1
[11:49:59] + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x1)
[11:49:59] + bitrate: 161 kbps, samplerate: 48000 Hz
[11:49:59] + mixdown: Stereo
[11:49:59] mask erode thread started for segment 6
[11:49:59] + dither: none
[11:49:59] + encoder: AAC (libavcodec)
[11:49:59] + bitrate: 160 kbps, samplerate: 48000 Hz
[11:49:59] mask erode thread started for segment 7
[11:49:59] mask erode thread started for segment 8
[11:49:59] mask erode thread started for segment 9
[11:49:59] decomb check thread started for segment 11
[11:49:59] mask erode thread started for segment 11
[11:49:59] mask dilate thread started for segment 0
[11:49:59] mask dilate thread started for segment 1
[11:49:59] mask dilate thread started for segment 2
[11:49:59] mask dilate thread started for segment 3
[11:49:59] mask dilate thread started for segment 4
[11:49:59] mask filter thread started for segment 3
[11:49:59] mask dilate thread started for segment 6
[11:49:59] mask dilate thread started for segment 7
[11:49:59] mask dilate thread started for segment 8
[11:49:59] mask dilate thread started for segment 9
[11:49:59] mask dilate thread started for segment 10
[11:49:59] mask filter thread started for segment 6
[11:49:59] yadif thread started for segment 0
[11:49:59] yadif thread started for segment 1
[11:49:59] mask filter thread started for segment 8
[11:49:59] yadif thread started for segment 3
[11:49:59] yadif thread started for segment 4
[11:49:59] yadif thread started for segment 5
[11:49:59] yadif thread started for segment 6
[11:49:59] yadif thread started for segment 7
[11:49:59] yadif thread started for segment 8
[11:49:59] yadif thread started for segment 9
[11:49:59] yadif thread started for segment 11
[11:49:59] mask filter thread started for segment 11
[11:49:59] sync: expecting 1627 video frames
[11:49:59] encx264: min-keyint: 30, keyint: 30
[11:49:59] encx264: encoding at constant RF 22.000000
[11:49:59] encx264: unparsed options: keyint=30:level=4.0:ref=4:bframes=0:cabac=0:analyse=all:8x8dct=0:weightp=0:me=tesa:merange=24:subme=11:trellis=2:fast-pskip=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
[11:49:59] sync: first pts video is 0
[11:49:59] sync: "Chapter 1" (1) at frame 1 time 0
[11:49:59] sync: first pts audio 0x1 is 0
[11:53:03] reader: done. 1 scr changes
[11:53:18] work: average encoding speed for job is 8.507389 fps
[11:53:18] comb detect: heavy 2 | light 18 | uncombed 1606 | total 1626
[11:53:18] decomb: deinterlaced 2 | blended 18 | unfiltered 1606 | total 1626
[11:53:18] vfr: 1626 frames output, 0 dropped and 0 duped for CFR/PFR
[11:53:18] vfr: lost time: 0 (0 frames)
[11:53:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:53:18] aac-decoder done: 2543 frames, 0 decoder errors
[11:53:18] h264-decoder done: 1626 frames, 0 decoder errors
[11:53:18] sync: got 1626 frames, 1627 expected
[11:53:18] sync: framerate min 18.293 fps, max 30.000 fps, avg 29.988 fps
x264 [info]: frame I:91 Avg QP:19.24 size: 66698
x264 [info]: frame P:1535 Avg QP:22.69 size: 15035
x264 [info]: mb I I16..4: 57.8% 0.0% 42.2%
x264 [info]: mb P I16..4: 9.8% 0.0% 2.3% P16..4: 30.9% 9.6% 1.0% 0.1% 0.0% skip:46.2%
x264 [info]: coded y,uvDC,uvAC intra: 20.2% 25.5% 2.0% inter: 2.6% 4.6% 0.0%
x264 [info]: i16 v,h,dc,p: 38% 20% 8% 34%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 15% 16% 8% 9% 10% 10% 8% 6%
x264 [info]: i8c dc,h,v,p: 74% 11% 11% 3%
x264 [info]: ref P L0: 78.6% 15.8% 4.2% 1.5%
x264 [info]: kb/s:4302.38
[11:53:18] mux: track 0, 1626 frames, 29146184 bytes, 4296.73 kbps, fifo 1024
[11:53:18] mux: track 1, 2544 frames, 1100153 bytes, 162.18 kbps, fifo 2048
[11:53:18] libhb: work result = 0
# Encode Completed ...