[Invalid] Variable Frame Rate Used When Constant Selected

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.

*******************************
Locked
LeeThompson

[Invalid] Variable Frame Rate Used When Constant Selected

Post by LeeThompson »

Overview

I actually ran across this initially in VidCoder which uses HandBrake CLI/API. I have tested this with the current release of HandBrake and the problem is in there and not VidCoder. (Initial bug report at VidCoder is at http://vidcoder.codeplex.com/workitem/362.)

Versions

OS: WIndows 7 Ultimate x64
HandBrake v0.10.2.7286 (64 bit)


Description

The issue is if "Constant Framerate" is selected and, in particular, "same as source" is selected (although it's happened even if a framerate is selected).

I've tried this with several different source files, all with the same result.


Steps to Reproduce
  1. Select a Source File for Transcoding
  2. Select "Constant Framerate" for video output
  3. Transcode the file

Data:

Source File MediaInfo:

Code: Select all

SOURCE MEDIAINFO

General
Complete name                            : Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 82.7 MiB
Duration                                 : 11mn 20s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 021 Kbps
Encoded date                             : UTC 2015-08-03 05:07:08
Tagged date                              : UTC 2015-08-03 05:07:08

Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 11mn 20s
Source duration                          : 11mn 20s
Bit rate                                 : 886 Kbps
Maximum bit rate                         : 4 580 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.127
Stream size                              : 71.8 MiB (87%)
Source stream size                       : 71.8 MiB (87%)
Writing library                          : x264 core 146 r2538 121396c
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2015-08-03 04:59:11
Tagged date                              : UTC 2015-08-03 05:07:08
Color range                              : Limited
Matrix coefficients                      : BT.709

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 11mn 20s
Bit rate mode                            : Variable
Bit rate                                 : 132 Kbps
Maximum bit rate                         : 174 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 10.6 MiB (13%)
Encoded date                             : UTC 2015-08-03 05:07:08
Tagged date                              : UTC 2015-08-03 05:07:08

HandBrake Encoded Output MediaInfo #1:
(Same As Source, Constant Framerate)

Code: Select all

General
Complete name                            : Renders\HB1_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 75.8 MiB
Duration                                 : 11mn 20s
Overall bit rate mode                    : Variable
Overall bit rate                         : 935 Kbps
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16
Writing application                      : HandBrake 0.10.2 2015060900

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings, CABAC                   : No
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 11mn 20s
Bit rate                                 : 768 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 23.974 fps
Maximum frame rate                       : 23.981 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.110
Stream size                              : 62.3 MiB (82%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=2pass / mbtree=1 / bitrate=768 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16
Color range                              : Limited
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 11mn 20s
Bit rate mode                            : Variable
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 13.0 MiB (17%)
Title                                    : Stereo / Stereo
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16

HandBrake Encoded Output MediaInfo #2:
(23.976 FPS, Constant Framerate)

Code: Select all

General
Complete name                            : Renders\VC2_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 75.8 MiB
Duration                                 : 11mn 20s
Overall bit rate mode                    : Variable
Overall bit rate                         : 935 Kbps
Writing application                      : HandBrake 6548svn 2014112401

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings, CABAC                   : No
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 11mn 19s
Bit rate                                 : 768 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 23.974 fps
Maximum frame rate                       : 23.981 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.110
Stream size                              : 62.3 MiB (82%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=2pass / mbtree=1 / bitrate=768 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Color range                              : Limited
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 11mn 20s
Bit rate mode                            : Variable
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 13.0 MiB (17%)
Title                                    : Stereo / Stereo

HandBrake Log (Test #1):

Code: Select all

HandBrake 0.10.2.7286 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: AMD Phenom(tm) II X4 955 Processor
Ram: 8190 MB, 
GPU Information:
  NVIDIA GeForce 9400 GT  - 9.18.13.3523
Screen: 1920x1200
Temp Dir: C:\Users\[REDACTED]\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\[REDACTED]\AppData\Roaming\HandBrake\HandBrake\0.10.2.7286

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

CLI Query:  -i "D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4" -t 1 --angle 1 -c 1 -o "D:\Media\Renders\HB_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4"  -f mp4  --crop 0:0:0:0 --strict-anamorphic  --modulus 2 -e x264 -b 768 -2  -T  --cfr -a 1 -E av_aac -6 stereo -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --markers="C:\Users\[REDACTED]\AppData\Local\Temp\HB_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV-1-chapters.csv" -x level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0 --verbose=2 --no-dvdnav

[13:09:12] hb_init: starting libhb thread
[13:09:12] thread 233fac0 started ("libhb")
HandBrake 0.10.2 (2015060900) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4...
[13:09:12] CPU: AMD Phenom(tm) II X4 955 Processor
[13:09:12]  - logical processor count: 4
[13:09:12] OpenCL device #1: NVIDIA Corporation GeForce 9400 GT
[13:09:12]  - OpenCL version: 1.0 CUDA
[13:09:12]  - driver version: 335.23
[13:09:12]  - device type:    GPU
[13:09:12]  - supported:      no
[13:09:12] Intel Quick Sync Video support: no
[13:09:12] hb_scan: path=D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4, title_index=1
[13:09:12] thread 2f85e0 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4) failed
[13:09:12] bd: not a bd - trying as a stream/file instead
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.BUP.
ERROR: dvd: ifoOpen failed
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2015-08-03 05:07:08
  Duration: 00:11:20.10, start: 0.000000, bitrate: 1020 kb/s
    Stream #0.0(und): Audio: aac, 48000 Hz, stereo, fltp, 130 kb/s (default)
    Metadata:
      creation_time   : 2015-08-03 05:07:08
    Stream #0.1(und): Video: h264 (High), yuv420p, 720x404, 885 kb/s, 23.98 fps, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2015-08-03 04:59:11
[13:09:12] Found ffmpeg 0 chapters, container=mov,mp4,m4a,3gp,3g2,mj2
[13:09:12] scan: decoding previews for title 1
[13:09:12] scan: preview 1
[13:09:12] fifo_close: trashing 0 buffer(s)
[13:09:12] scan: audio 0x0: aac, rate=48000Hz, bitrate=130525 Unknown (AAC) (2.0 ch)
Scanning title 1 of 1, preview 1, 10.00 %[13:09:12] scan: preview 2
[13:09:12] scan: preview 3
[13:09:12] scan: preview 4
[13:09:12] scan: preview 5
[13:09:13] scan: preview 6
[13:09:13] scan: preview 7
[13:09:13] scan: preview 8
[13:09:13] scan: preview 9
[13:09:13] scan: preview 10
[13:09:13] scan: 10 previews, 720x404, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:09:13] Freed 1 buffers of size 1024
[13:09:13] Freed 1 buffers of size 2048
[13:09:13] Freed 1 buffers of size 4096
[13:09:13] Freed 1 buffers of size 8192
[13:09:13] Freed 1 buffers of size 16384
[13:09:13] Freed 1 buffers of size 32768
[13:09:13] Freed 1 buffers of size 65536
[13:09:13] Freed 1 buffers of size 131072
[13:09:13] Freed 1 buffers of size 524288
[13:09:13] Allocated 785408 bytes of buffers on this pass and Freed 785408 bytes, 0 bytes leaked
[13:09:13] thread 2f85e0 exited ("scan")
[13:09:13] thread 2f85e0 joined ("scan")
[13:09:13] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
  + duration: 00:11:20
  + size: 720x404, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + support opencl: no
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:11:20
  + audio tracks:
    + 1, Unknown (AAC) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\[REDACTED]\AppData\Local\Temp\HB_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV-1-chapters.csv
[13:09:13] thread 2f85e0 started ("work")
[13:09:13] 2 job(s) to process
[13:09:13] starting job
[13:09:13] sync: expecting 16306 video frames
[13:09:13] work: only 1 chapter, disabling chapter markers
[13:09:13] job configuration:
[13:09:13]  * source
[13:09:13]    + D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:09:13]    + title 1, chapter(s) 1 to 1
[13:09:13]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:09:13]    + data rate: 1020 kbps
[13:09:13]  * destination
[13:09:13]    + D:\Media\Renders\HB_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:09:13]    + container: MPEG-4 (libavformat)
[13:09:13]  * video track
[13:09:13]    + decoder: h264
[13:09:13]      + bitrate 885 kbps
[13:09:13]    + filters
[13:09:13]      + Framerate Shaper (1:27000000:1126125)
[13:09:13]        + frame rate: 23.976 fps -> constant 23.976 fps
[13:09:13]      + Crop and Scale (720:404:0:0:0:0)
[13:09:13]        + source: 720 * 404, crop (0/0/0/0): 720 * 404, scale: 720 * 404
[13:09:13]    + strict anamorphic
[13:09:13]      + storage dimensions: 720 * 404, mod 2
[13:09:13]      + pixel aspect ratio: 1 / 1
[13:09:13]      + display dimensions: 720 * 404
[13:09:13]    + encoder: H.264 (libx264)
[13:09:13]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:09:13]      + bitrate: 768 kbps, pass: 1
[13:09:13]      + fast first pass
[13:09:13]      + options: ref=1:8x8dct=0:me=dia:trellis=0
[13:09:13]                 analyse=i4x4 (if originally enabled, else analyse=none)
[13:09:13]                 subq=2 (if originally greater than 2, else subq unchanged)
[13:09:13]  * audio track 1
[13:09:13]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:09:13]      + bitrate: 130 kbps, samplerate: 48000 Hz
[13:09:13]    + mixdown: Stereo
[13:09:13]    + encoder: AAC (libavcodec)
[13:09:13]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:09:13] thread 5449330 started ("Reader")
[13:09:13] Seeking to chapter 1: starts 0, ends 61209600, AV pos 0
[13:09:13] thread 5166010 started ("Framerate Shaper")
[13:09:13] reader: first SCR 0 id 0x0 DTS 0
[13:09:13] thread 5166490 started ("Crop and Scale")
[13:09:13] thread 51662f0 started ("AudioSynchronization")
[13:09:13] thread 4e6b9a0 started ("Video decoder (libavcodec)")
[13:09:13] encx264: min-keyint: 24, keyint: 240
[13:09:13] encx264: encoding at average bitrate 768
[13:09:13] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:09:13] encx264: opening libx264 (pass 1)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile Main, level 4.0
[13:09:13] thread 5baad30 started ("H.264/AVC encoder (libx264)")
[13:09:13] thread 5baaed0 started ("Audio decoder (libavcodec)")
[13:09:13] thread 5bab070 started ("AVCodec Audio encoder (libavcodec)")
[13:09:13] thread 5bab210 started ("Video Synchronization")
[13:09:13] thread 5bab3b0 started ("Muxer")
[13:10:12] reader: done. 1 scr changes
[13:10:12] thread 5449330 exited ("Reader")
[13:10:12] work: average encoding speed for job is 273.571594 fps
[13:10:12] thread 5baaed0 exited ("Audio decoder (libavcodec)")
[13:10:12] thread 51662f0 exited ("AudioSynchronization")
[13:10:12] thread 5bab070 exited ("AVCodec Audio encoder (libavcodec)")
[13:10:12] thread 5bab3b0 exited ("Muxer")
[13:10:12] thread 4e6b9a0 exited ("Video decoder (libavcodec)")
[13:10:12] thread 5bab210 exited ("Video Synchronization")
[13:10:12] thread 5bab210 joined ("Video Synchronization")
[13:10:12] sync: got 16304 frames, 16306 expected
[13:10:12] thread 5166010 exited ("Framerate Shaper")
[13:10:12] thread 5166010 joined ("Framerate Shaper")
[13:10:12] render: 16304 frames output, 0 dropped and 0 duped for CFR/PFR
[13:10:12] render: lost time: 0 (0 frames)
[13:10:12] render: gained time: 0 (0 frames) (0 not accounted for)
[13:10:12] fifo_close: trashing 0 buffer(s)
[13:10:12] thread 5166490 exited ("Crop and Scale")
[13:10:12] thread 5166490 joined ("Crop and Scale")
[13:10:12] thread 51662f0 joined ("AudioSynchronization")
[13:10:12] thread 4e6b9a0 joined ("Video decoder (libavcodec)")
[13:10:12] h264-decoder done: 16304 frames, 0 decoder errors, 0 drops
[13:10:12] thread 5baad30 exited ("H.264/AVC encoder (libx264)")
[13:10:12] thread 5baad30 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:222   Avg QP:15.13  size: 37553
x264 [info]: frame P:5047  Avg QP:19.23  size:  8035
x264 [info]: frame B:11035 Avg QP:21.43  size:  1559
x264 [info]: consecutive B-frames:  5.3%  8.3% 14.9% 71.4%
x264 [info]: mb I  I16..4: 16.8%  0.0% 83.2%
x264 [info]: mb P  I16..4: 13.2%  0.0%  0.0%  P16..4: 65.7%  0.0%  0.0%  0.0%  0.0%    skip:21.1%
x264 [info]: mb B  I16..4:  1.0%  0.0%  0.0%  B16..8: 23.1%  0.0%  0.0%  direct: 8.8%  skip:67.0%  L0:32.9% L1:48.1% BI:19.0%
x264 [info]: final ratefactor: 19.39
x264 [info]: coded y,uvDC,uvAC intra: 52.9% 78.7% 38.8% inter: 11.8% 18.8% 0.9%
x264 [info]: i16 v,h,dc,p: 37% 27% 25% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 21% 16%  3%  9%  6%  6%  6%  7%
x264 [info]: i8c dc,h,v,p: 46% 22% 24%  7%
x264 [info]: Weighted P-Frames: Y:2.3% UV:2.0%
x264 [info]: kb/s:777.57
[13:10:12] thread 5baaed0 joined ("Audio decoder (libavcodec)")
[13:10:12] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:10:13] thread 5bab070 joined ("AVCodec Audio encoder (libavcodec)")
[13:10:13] encavcodeca: closing libavcodec
[13:10:13] thread 5bab3b0 joined ("Muxer")
[13:10:13] thread 5449330 joined ("Reader")
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] fifo_close: trashing 0 buffer(s)
[13:10:13] Freed 61 buffers of size 1024
[13:10:13] Freed 23 buffers of size 2048
[13:10:13] Freed 22 buffers of size 4096
[13:10:13] Freed 24 buffers of size 8192
[13:10:13] Freed 32 buffers of size 16384
[13:10:13] Freed 25 buffers of size 32768
[13:10:13] Freed 2 buffers of size 65536
[13:10:13] Freed 1 buffers of size 131072
[13:10:13] Freed 32 buffers of size 524288
[13:10:13] Allocated 18779136 bytes of buffers on this pass and Freed 18779136 bytes, 0 bytes leaked
[13:10:13] starting job
[13:10:13] sync: expecting 16304 video frames
[13:10:13] work: only 1 chapter, disabling chapter markers
[13:10:13] job configuration:
[13:10:13]  * source
[13:10:13]    + D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:10:13]    + title 1, chapter(s) 1 to 1
[13:10:13]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:10:13]    + data rate: 1020 kbps
[13:10:13]  * destination
[13:10:13]    + D:\Media\Renders\HB_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:10:13]    + container: MPEG-4 (libavformat)
[13:10:13]  * video track
[13:10:13]    + decoder: h264
[13:10:13]      + bitrate 885 kbps
[13:10:13]    + filters
[13:10:13]      + Framerate Shaper (1:27000000:1126125)
[13:10:13]        + frame rate: 23.976 fps -> constant 23.976 fps
[13:10:13]      + Crop and Scale (720:404:0:0:0:0)
[13:10:13]        + source: 720 * 404, crop (0/0/0/0): 720 * 404, scale: 720 * 404
[13:10:13]    + strict anamorphic
[13:10:13]      + storage dimensions: 720 * 404, mod 2
[13:10:13]      + pixel aspect ratio: 1 / 1
[13:10:13]      + display dimensions: 720 * 404
[13:10:13]    + encoder: H.264 (libx264)
[13:10:13]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:10:13]      + bitrate: 768 kbps, pass: 2
[13:10:13]  * audio track 1
[13:10:13]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:10:13]      + bitrate: 130 kbps, samplerate: 48000 Hz
[13:10:13]    + mixdown: Stereo
[13:10:13]    + encoder: AAC (libavcodec)
[13:10:13]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:10:13] thread 5bab210 started ("Reader")
[13:10:13] Seeking to chapter 1: starts 0, ends 61209600, AV pos 0
[13:10:13] reader: first SCR 0 id 0x0 DTS 0
[13:10:13] thread 5166010 started ("Framerate Shaper")
[13:10:13] thread 5166490 started ("Crop and Scale")
[13:10:13] thread 51662f0 started ("AudioSynchronization")
[13:10:13] thread 4e6b9a0 started ("Video decoder (libavcodec)")
[13:10:13] encx264: min-keyint: 24, keyint: 240
[13:10:13] encx264: encoding at average bitrate 768
[13:10:13] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:10:13] encx264: opening libx264 (pass 2)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile Main, level 4.0
[13:10:13] thread 5530d00 started ("H.264/AVC encoder (libx264)")
[13:10:13] thread 5165d20 started ("Audio decoder (libavcodec)")
[13:10:13] thread 53a3cc0 started ("AVCodec Audio encoder (libavcodec)")
[13:10:13] thread 5165760 started ("Video Synchronization")
[13:10:14] Writing Metadata to output file...
[13:10:14] thread 5baaed0 started ("Muxer")
[13:13:05] reader: done. 1 scr changes
[13:13:05] thread 5bab210 exited ("Reader")
[13:13:05] work: average encoding speed for job is 94.563461 fps
[13:13:05] thread 4e6b9a0 exited ("Video decoder (libavcodec)")
[13:13:05] thread 5165760 exited ("Video Synchronization")
[13:13:05] thread 5165760 joined ("Video Synchronization")
[13:13:05] sync: got 16304 frames, 16304 expected
[13:13:05] thread 5165d20 exited ("Audio decoder (libavcodec)")
[13:13:05] thread 51662f0 exited ("AudioSynchronization")
[13:13:05] thread 53a3cc0 exited ("AVCodec Audio encoder (libavcodec)")
[13:13:05] thread 5baaed0 exited ("Muxer")
[13:13:05] thread 5166010 exited ("Framerate Shaper")
[13:13:05] thread 5166010 joined ("Framerate Shaper")
[13:13:05] render: 16304 frames output, 0 dropped and 0 duped for CFR/PFR
[13:13:05] render: lost time: 0 (0 frames)
[13:13:05] render: gained time: 0 (0 frames) (0 not accounted for)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] thread 5166490 exited ("Crop and Scale")
[13:13:05] thread 5166490 joined ("Crop and Scale")
[13:13:05] thread 51662f0 joined ("AudioSynchronization")
[13:13:05] thread 4e6b9a0 joined ("Video decoder (libavcodec)")
[13:13:05] h264-decoder done: 16304 frames, 0 decoder errors, 0 drops
[13:13:05] thread 5530d00 exited ("H.264/AVC encoder (libx264)")
[13:13:05] thread 5530d00 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:222   Avg QP:15.75  size: 36862
x264 [info]: frame P:5047  Avg QP:19.56  size:  7679
x264 [info]: frame B:11035 Avg QP:22.16  size:  1663
x264 [info]: consecutive B-frames:  5.3%  8.3% 14.9% 71.4%
x264 [info]: mb I  I16..4: 12.9%  0.0% 87.1%
x264 [info]: mb P  I16..4:  3.3%  0.0%  6.0%  P16..4: 52.3% 14.1%  5.2%  0.0%  0.0%    skip:19.0%
x264 [info]: mb B  I16..4:  0.2%  0.0%  0.3%  B16..8: 33.7%  4.8%  0.6%  direct: 2.5%  skip:57.9%  L0:38.6% L1:54.4% BI: 7.0%
x264 [info]: coded y,uvDC,uvAC intra: 64.3% 90.9% 59.4% inter: 8.8% 25.5% 1.3%
x264 [info]: i16 v,h,dc,p: 33% 19% 12% 36%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 17% 17%  6%  8%  7%  6%  6%  5%
x264 [info]: i8c dc,h,v,p: 46% 21% 23% 11%
x264 [info]: Weighted P-Frames: Y:2.6% UV:2.0%
x264 [info]: ref P L0: 63.4% 10.8% 18.4%  7.3%  0.1%
x264 [info]: ref B L0: 88.1%  9.9%  1.9%
x264 [info]: ref B L1: 94.4%  5.6%
x264 [info]: kb/s:768.11
[13:13:05] thread 5165d20 joined ("Audio decoder (libavcodec)")
[13:13:05] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:13:05] thread 53a3cc0 joined ("AVCodec Audio encoder (libavcodec)")
[13:13:05] encavcodeca: closing libavcodec
[13:13:05] thread 5baaed0 joined ("Muxer")
[13:13:05] mux: file size, 79507801 bytes
[13:13:05] mux: track 0, 16304 frames, 65282157 bytes, 767.96 kbps, fifo 4096
[13:13:05] mux: video bitrate error, -3063 bytes
[13:13:05] mux: track 1, 31879 frames, 13644119 bytes, 160.51 kbps, fifo 8192
[13:13:05] mux: overhead, 12.07 bytes per frame
[13:13:05] thread 5bab210 joined ("Reader")
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] fifo_close: trashing 0 buffer(s)
[13:13:05] Freed 320 buffers of size 1024
[13:13:05] Freed 32 buffers of size 2048
[13:13:05] Freed 32 buffers of size 4096
[13:13:05] Freed 32 buffers of size 8192
[13:13:05] Freed 32 buffers of size 16384
[13:13:05] Freed 32 buffers of size 32768
[13:13:05] Freed 25 buffers of size 65536
[13:13:05] Freed 1 buffers of size 131072
[13:13:05] Freed 32 buffers of size 524288
[13:13:05] Allocated 20905984 bytes of buffers on this pass and Freed 20905984 bytes, 0 bytes leaked
[13:13:05] thread 2f85e0 exited ("work")
[13:13:05] thread 2f85e0 joined ("work")
[13:13:05] libhb: work result = 0
Encode done!
[13:13:05] thread 233fac0 exited ("libhb")
[13:13:05] thread 233fac0 joined ("libhb")
HandBrake has exited.

HandBrake Log (Test #2):

Code: Select all

HandBrake 0.10.2.7286 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: AMD Phenom(tm) II X4 955 Processor
Ram: 8190 MB, 
GPU Information:
  NVIDIA GeForce 9400 GT  - 9.18.13.3523
Screen: 1920x1200
Temp Dir: C:\Users\[REDACTED]\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\[REDACTED]\AppData\Roaming\HandBrake\HandBrake\0.10.2.7286

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

CLI Query:  -i "D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4" -t 1 --angle 1 -c 1 -o "D:\Media\Renders\HB2_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4"  -f mp4  --crop 0:0:0:0 --strict-anamorphic  --modulus 2 -e x264 -b 768 -2  -T  -r 23.976 --cfr -a 1 -E av_aac -6 stereo -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --markers="C:\Users\[REDACTED]\AppData\Local\Temp\HB2_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV-1-chapters.csv" -x level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0 --verbose=2 --no-dvdnav

[13:15:36] hb_init: starting libhb thread
[13:15:36] thread 22efb60 started ("libhb")
HandBrake 0.10.2 (2015060900) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4...
[13:15:36] CPU: AMD Phenom(tm) II X4 955 Processor
[13:15:36]  - logical processor count: 4
[13:15:36] OpenCL device #1: NVIDIA Corporation GeForce 9400 GT
[13:15:36]  - OpenCL version: 1.0 CUDA
[13:15:36]  - driver version: 335.23
[13:15:36]  - device type:    GPU
[13:15:36]  - supported:      no
[13:15:36] Intel Quick Sync Video support: no
[13:15:36] hb_scan: path=D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4, title_index=1
[13:15:36] thread 2f86a0 started ("scan")
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4) failed
[13:15:36] bd: not a bd - trying as a stream/file instead
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.BUP.
ERROR: dvd: ifoOpen failed
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2015-08-03 05:07:08
  Duration: 00:11:20.10, start: 0.000000, bitrate: 1020 kb/s
    Stream #0.0(und): Audio: aac, 48000 Hz, stereo, fltp, 130 kb/s (default)
    Metadata:
      creation_time   : 2015-08-03 05:07:08
    Stream #0.1(und): Video: h264 (High), yuv420p, 720x404, 885 kb/s, 23.98 fps, 24k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2015-08-03 04:59:11
[13:15:36] Found ffmpeg 0 chapters, container=mov,mp4,m4a,3gp,3g2,mj2
[13:15:37] scan: decoding previews for title 1
[13:15:37] scan: preview 1
[13:15:37] fifo_close: trashing 0 buffer(s)
[13:15:37] scan: audio 0x0: aac, rate=48000Hz, bitrate=130525 Unknown (AAC) (2.0 ch)
Scanning title 1 of 1, preview 1, 10.00 %[13:15:37] scan: preview 2
[13:15:37] scan: preview 3
[13:15:37] scan: preview 4
[13:15:37] scan: preview 5
[13:15:37] scan: preview 6
[13:15:37] scan: preview 7
[13:15:37] scan: preview 8
[13:15:37] scan: preview 9
[13:15:37] scan: preview 10
[13:15:37] scan: 10 previews, 720x404, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:15:37] Freed 1 buffers of size 1024
[13:15:37] Freed 1 buffers of size 2048
[13:15:37] Freed 1 buffers of size 4096
[13:15:37] Freed 1 buffers of size 8192
[13:15:37] Freed 1 buffers of size 16384
[13:15:37] Freed 1 buffers of size 32768
[13:15:37] Freed 1 buffers of size 65536
[13:15:37] Freed 1 buffers of size 131072
[13:15:37] Freed 1 buffers of size 524288
[13:15:37] Allocated 785408 bytes of buffers on this pass and Freed 785408 bytes, 0 bytes leaked
[13:15:37] thread 2f86a0 exited ("scan")
[13:15:37] thread 2f86a0 joined ("scan")
[13:15:37] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
  + duration: 00:11:20
  + size: 720x404, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + support opencl: no
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:11:20
  + audio tracks:
    + 1, Unknown (AAC) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Reading chapter markers from file C:\Users\[REDACTED]\AppData\Local\Temp\HB2_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV-1-chapters.csv
[13:15:37] thread 2f86a0 started ("work")
[13:15:37] 2 job(s) to process
[13:15:37] starting job
[13:15:37] sync: expecting 16306 video frames
[13:15:37] work: only 1 chapter, disabling chapter markers
[13:15:37] job configuration:
[13:15:37]  * source
[13:15:37]    + D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:15:37]    + title 1, chapter(s) 1 to 1
[13:15:37]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:15:37]    + data rate: 1020 kbps
[13:15:37]  * destination
[13:15:37]    + D:\Media\Renders\HB2_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:15:37]    + container: MPEG-4 (libavformat)
[13:15:37]  * video track
[13:15:37]    + decoder: h264
[13:15:37]      + bitrate 885 kbps
[13:15:37]    + filters
[13:15:37]      + Framerate Shaper (1:27000000:1126125)
[13:15:37]        + frame rate: 23.976 fps -> constant 23.976 fps
[13:15:37]      + Crop and Scale (720:404:0:0:0:0)
[13:15:37]        + source: 720 * 404, crop (0/0/0/0): 720 * 404, scale: 720 * 404
[13:15:37]    + strict anamorphic
[13:15:37]      + storage dimensions: 720 * 404, mod 2
[13:15:37]      + pixel aspect ratio: 1 / 1
[13:15:37]      + display dimensions: 720 * 404
[13:15:37]    + encoder: H.264 (libx264)
[13:15:37]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:15:37]      + bitrate: 768 kbps, pass: 1
[13:15:37]      + fast first pass
[13:15:37]      + options: ref=1:8x8dct=0:me=dia:trellis=0
[13:15:37]                 analyse=i4x4 (if originally enabled, else analyse=none)
[13:15:37]                 subq=2 (if originally greater than 2, else subq unchanged)
[13:15:37]  * audio track 1
[13:15:37]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:15:37]      + bitrate: 130 kbps, samplerate: 48000 Hz
[13:15:37]    + mixdown: Stereo
[13:15:37]    + encoder: AAC (libavcodec)
[13:15:37]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:15:37] thread 4ddb740 started ("Reader")
[13:15:37] thread 53b6c10 started ("Framerate Shaper")
[13:15:37] thread 5675a90 started ("Crop and Scale")
[13:15:37] thread 4ddb8e0 started ("AudioSynchronization")
[13:15:37] Seeking to chapter 1: starts 0, ends 61209600, AV pos 0
[13:15:37] reader: first SCR 0 id 0x0 DTS 0
[13:15:37] thread 5153de0 started ("Video decoder (libavcodec)")
[13:15:37] encx264: min-keyint: 24, keyint: 240
[13:15:37] encx264: encoding at average bitrate 768
[13:15:37] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:15:37] encx264: opening libx264 (pass 1)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile Main, level 4.0
[13:15:37] thread 8785bb0 started ("H.264/AVC encoder (libx264)")
[13:15:37] thread 8785d50 started ("Audio decoder (libavcodec)")
[13:15:37] thread 8785ef0 started ("AVCodec Audio encoder (libavcodec)")
[13:15:37] thread 8786090 started ("Video Synchronization")
[13:15:37] thread 8786230 started ("Muxer")
[13:17:26] reader: done. 1 scr changes
[13:17:26] thread 4ddb740 exited ("Reader")
[13:17:26] work: average encoding speed for job is 149.447433 fps
[13:17:26] thread 8785d50 exited ("Audio decoder (libavcodec)")
[13:17:26] thread 5153de0 exited ("Video decoder (libavcodec)")
[13:17:26] thread 4ddb8e0 exited ("AudioSynchronization")
[13:17:26] thread 8785ef0 exited ("AVCodec Audio encoder (libavcodec)")
[13:17:26] thread 8786230 exited ("Muxer")
[13:17:26] thread 8786090 exited ("Video Synchronization")
[13:17:26] thread 8786090 joined ("Video Synchronization")
[13:17:26] sync: got 16304 frames, 16306 expected
[13:17:26] thread 53b6c10 exited ("Framerate Shaper")
[13:17:26] thread 53b6c10 joined ("Framerate Shaper")
[13:17:26] render: 16304 frames output, 0 dropped and 0 duped for CFR/PFR
[13:17:26] render: lost time: 0 (0 frames)
[13:17:26] render: gained time: 0 (0 frames) (0 not accounted for)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] thread 5675a90 exited ("Crop and Scale")
[13:17:26] thread 5675a90 joined ("Crop and Scale")
[13:17:26] thread 4ddb8e0 joined ("AudioSynchronization")
[13:17:26] thread 5153de0 joined ("Video decoder (libavcodec)")
[13:17:26] h264-decoder done: 16304 frames, 0 decoder errors, 0 drops
[13:17:26] thread 8785bb0 exited ("H.264/AVC encoder (libx264)")
[13:17:26] thread 8785bb0 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:222   Avg QP:15.13  size: 37553
x264 [info]: frame P:5047  Avg QP:19.23  size:  8035
x264 [info]: frame B:11035 Avg QP:21.43  size:  1559
x264 [info]: consecutive B-frames:  5.3%  8.3% 14.9% 71.4%
x264 [info]: mb I  I16..4: 16.8%  0.0% 83.2%
x264 [info]: mb P  I16..4: 13.2%  0.0%  0.0%  P16..4: 65.7%  0.0%  0.0%  0.0%  0.0%    skip:21.1%
x264 [info]: mb B  I16..4:  1.0%  0.0%  0.0%  B16..8: 23.1%  0.0%  0.0%  direct: 8.8%  skip:67.0%  L0:32.9% L1:48.1% BI:19.0%
x264 [info]: final ratefactor: 19.39
x264 [info]: coded y,uvDC,uvAC intra: 52.9% 78.7% 38.8% inter: 11.8% 18.8% 0.9%
x264 [info]: i16 v,h,dc,p: 37% 27% 25% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 21% 16%  3%  9%  6%  6%  6%  7%
x264 [info]: i8c dc,h,v,p: 46% 22% 24%  7%
x264 [info]: Weighted P-Frames: Y:2.3% UV:2.0%
x264 [info]: kb/s:777.57
[13:17:26] thread 8785d50 joined ("Audio decoder (libavcodec)")
[13:17:26] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:17:26] thread 8785ef0 joined ("AVCodec Audio encoder (libavcodec)")
[13:17:26] encavcodeca: closing libavcodec
[13:17:26] thread 8786230 joined ("Muxer")
[13:17:26] thread 4ddb740 joined ("Reader")
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] fifo_close: trashing 0 buffer(s)
[13:17:26] Freed 64 buffers of size 1024
[13:17:26] Freed 22 buffers of size 2048
[13:17:26] Freed 22 buffers of size 4096
[13:17:26] Freed 23 buffers of size 8192
[13:17:26] Freed 32 buffers of size 16384
[13:17:26] Freed 32 buffers of size 32768
[13:17:26] Freed 2 buffers of size 65536
[13:17:26] Freed 1 buffers of size 131072
[13:17:26] Freed 32 buffers of size 524288
[13:17:26] Allocated 19001344 bytes of buffers on this pass and Freed 19001344 bytes, 0 bytes leaked
[13:17:26] starting job
[13:17:26] sync: expecting 16304 video frames
[13:17:26] work: only 1 chapter, disabling chapter markers
[13:17:26] job configuration:
[13:17:26]  * source
[13:17:26]    + D:\Media\Projects\VidCoder_362\Source\Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:17:26]    + title 1, chapter(s) 1 to 1
[13:17:26]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:17:26]    + data rate: 1020 kbps
[13:17:26]  * destination
[13:17:26]    + D:\Media\Renders\HB2_Your.Pretty.Face.Is.Going.To.Hell.S02E04.HDTV.x264-BATV.mp4
[13:17:26]    + container: MPEG-4 (libavformat)
[13:17:26]  * video track
[13:17:26]    + decoder: h264
[13:17:26]      + bitrate 885 kbps
[13:17:26]    + filters
[13:17:26]      + Framerate Shaper (1:27000000:1126125)
[13:17:26]        + frame rate: 23.976 fps -> constant 23.976 fps
[13:17:26]      + Crop and Scale (720:404:0:0:0:0)
[13:17:26]        + source: 720 * 404, crop (0/0/0/0): 720 * 404, scale: 720 * 404
[13:17:26]    + strict anamorphic
[13:17:26]      + storage dimensions: 720 * 404, mod 2
[13:17:26]      + pixel aspect ratio: 1 / 1
[13:17:26]      + display dimensions: 720 * 404
[13:17:26]    + encoder: H.264 (libx264)
[13:17:26]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:17:26]      + bitrate: 768 kbps, pass: 2
[13:17:26]  * audio track 1
[13:17:26]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x0)
[13:17:26]      + bitrate: 130 kbps, samplerate: 48000 Hz
[13:17:26]    + mixdown: Stereo
[13:17:26]    + encoder: AAC (libavcodec)
[13:17:26]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:17:26] thread 8786090 started ("Reader")
[13:17:26] Seeking to chapter 1: starts 0, ends 61209600, AV pos 0
[13:17:26] reader: first SCR 0 id 0x0 DTS 0
[13:17:26] thread 53b6c10 started ("Framerate Shaper")
[13:17:26] thread 5675a90 started ("Crop and Scale")
[13:17:26] thread 4ddb8e0 started ("AudioSynchronization")
[13:17:26] thread 5153de0 started ("Video decoder (libavcodec)")
[13:17:26] encx264: min-keyint: 24, keyint: 240
[13:17:26] encx264: encoding at average bitrate 768
[13:17:26] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0
[13:17:26] encx264: opening libx264 (pass 2)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile Main, level 4.0
[13:17:28] thread 51536f0 started ("H.264/AVC encoder (libx264)")
[13:17:28] thread 4f0a910 started ("Audio decoder (libavcodec)")
[13:17:28] thread 55927d0 started ("AVCodec Audio encoder (libavcodec)")
[13:17:28] thread 5592970 started ("Video Synchronization")
[13:17:28] Writing Metadata to output file...
[13:17:28] thread 8785d50 started ("Muxer")
[13:20:20] reader: done. 1 scr changes
[13:20:20] thread 8786090 exited ("Reader")
[13:20:20] work: average encoding speed for job is 94.262009 fps
[13:20:20] thread 4f0a910 exited ("Audio decoder (libavcodec)")
[13:20:20] thread 4ddb8e0 exited ("AudioSynchronization")
[13:20:20] thread 55927d0 exited ("AVCodec Audio encoder (libavcodec)")
[13:20:20] thread 8785d50 exited ("Muxer")
[13:20:20] thread 5153de0 exited ("Video decoder (libavcodec)")
[13:20:20] thread 5592970 exited ("Video Synchronization")
[13:20:20] thread 5592970 joined ("Video Synchronization")
[13:20:20] sync: got 16304 frames, 16304 expected
[13:20:20] thread 53b6c10 exited ("Framerate Shaper")
[13:20:20] thread 53b6c10 joined ("Framerate Shaper")
[13:20:20] render: 16304 frames output, 0 dropped and 0 duped for CFR/PFR
[13:20:20] render: lost time: 0 (0 frames)
[13:20:20] render: gained time: 0 (0 frames) (0 not accounted for)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] thread 5675a90 exited ("Crop and Scale")
[13:20:20] thread 5675a90 joined ("Crop and Scale")
[13:20:20] thread 4ddb8e0 joined ("AudioSynchronization")
[13:20:20] thread 5153de0 joined ("Video decoder (libavcodec)")
[13:20:20] h264-decoder done: 16304 frames, 0 decoder errors, 0 drops
[13:20:20] thread 51536f0 exited ("H.264/AVC encoder (libx264)")
[13:20:20] thread 51536f0 joined ("H.264/AVC encoder (libx264)")
x264 [info]: frame I:222   Avg QP:15.75  size: 36866
x264 [info]: frame P:5047  Avg QP:19.56  size:  7679
x264 [info]: frame B:11035 Avg QP:22.16  size:  1663
x264 [info]: consecutive B-frames:  5.3%  8.3% 14.9% 71.4%
x264 [info]: mb I  I16..4: 12.9%  0.0% 87.1%
x264 [info]: mb P  I16..4:  3.3%  0.0%  6.0%  P16..4: 52.4% 14.1%  5.2%  0.0%  0.0%    skip:19.0%
x264 [info]: mb B  I16..4:  0.2%  0.0%  0.3%  B16..8: 33.7%  4.8%  0.6%  direct: 2.5%  skip:57.9%  L0:38.6% L1:54.4% BI: 7.1%
x264 [info]: coded y,uvDC,uvAC intra: 64.4% 90.9% 59.4% inter: 8.8% 25.5% 1.3%
x264 [info]: i16 v,h,dc,p: 33% 19% 12% 36%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 17% 17%  6%  8%  7%  6%  6%  5%
x264 [info]: i8c dc,h,v,p: 46% 21% 23% 11%
x264 [info]: Weighted P-Frames: Y:2.6% UV:2.0%
x264 [info]: ref P L0: 63.4% 10.8% 18.5%  7.3%  0.1%
x264 [info]: ref B L0: 88.1% 10.0%  1.9%
x264 [info]: ref B L1: 94.4%  5.6%
x264 [info]: kb/s:768.12
[13:20:20] thread 4f0a910 joined ("Audio decoder (libavcodec)")
[13:20:20] aac-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:20:20] thread 55927d0 joined ("AVCodec Audio encoder (libavcodec)")
[13:20:20] encavcodeca: closing libavcodec
[13:20:20] thread 8785d50 joined ("Muxer")
[13:20:20] mux: file size, 79508032 bytes
[13:20:20] mux: track 0, 16304 frames, 65282388 bytes, 767.97 kbps, fifo 4096
[13:20:20] mux: video bitrate error, -2832 bytes
[13:20:20] mux: track 1, 31879 frames, 13644119 bytes, 160.51 kbps, fifo 8192
[13:20:20] mux: overhead, 12.07 bytes per frame
[13:20:20] thread 8786090 joined ("Reader")
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] fifo_close: trashing 0 buffer(s)
[13:20:20] Freed 320 buffers of size 1024
[13:20:20] Freed 32 buffers of size 2048
[13:20:20] Freed 32 buffers of size 4096
[13:20:20] Freed 32 buffers of size 8192
[13:20:20] Freed 32 buffers of size 16384
[13:20:20] Freed 32 buffers of size 32768
[13:20:20] Freed 25 buffers of size 65536
[13:20:20] Freed 1 buffers of size 131072
[13:20:20] Freed 32 buffers of size 524288
[13:20:20] Allocated 20905984 bytes of buffers on this pass and Freed 20905984 bytes, 0 bytes leaked
[13:20:20] thread 2f86a0 exited ("work")
[13:20:20] thread 2f86a0 joined ("work")
[13:20:20] libhb: work result = 0
Encode done!
[13:20:20] thread 22efb60 exited ("libhb")
[13:20:20] thread 22efb60 joined ("libhb")
HandBrake has exited.

HandBrake Preset (Test #1):

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist>
  <array>
    <dict>
      <key>AudioList</key>
      <array>
        <dict>
          <key>AudioBitrate</key>
          <string>160</string>
          <key>AudioEncoder</key>
          <string>AAC (avcodec)</string>
          <key>AudioMixdown</key>
          <string>Stereo</string>
          <key>AudioSamplerate</key>
          <string>Auto</string>
          <key>AudioTrack</key>
          <integer>1</integer>
          <key>AudioTrackDRCSlider</key>
          <real>0</real>
          <key>AudioTrackDescription</key>
          <string>Unknown</string>
          <key>AudioTrackGainSlider</key>
          <real>0</real>
        </dict>
      </array>
      <key>AudioAllowAACPass</key>
      <true />
      <key>AudioAllowAC3Pass</key>
      <true />
      <key>AudioAllowDTSHDPass</key>
      <true />
      <key>AudioAllowDTSPass</key>
      <true />
      <key>AudioAllowMP3Pass</key>
      <true />
      <key>AudioEncoderFallback</key>
      <string>AC3</string>
      <key>ChapterMarkers</key>
      <true />
      <key>Default</key>
      <integer>0</integer>
      <key>FileFormat</key>
      <string>MP4 file</string>
      <key>Folder</key>
      <false />
      <key>Mp4HttpOptimize</key>
      <integer>0</integer>
      <key>Mp4iPodCompatible</key>
      <integer>0</integer>
      <key>PictureAutoCrop</key>
      <integer>1</integer>
      <key>PictureDeblock</key>
      <integer>4</integer>
      <key>PictureDecombDeinterlace</key>
      <false />
      <key>PictureDecombCustom</key>
      <string />
      <key>PictureDecomb</key>
      <integer>0</integer>
      <key>PictureDeinterlaceCustom</key>
      <string />
      <key>PictureDeinterlace</key>
      <integer>0</integer>
      <key>PictureDenoiseFilter</key>
      <string>off</string>
      <key>PictureDenoiseCustom</key>
      <string />
      <key>PictureDenoisePreset</key>
      <string>weak</string>
      <key>PictureDetelecine</key>
      <integer>0</integer>
      <key>PictureDetelecineCustom</key>
      <string />
      <key>PictureHeight</key>
      <integer>404</integer>
      <key>PictureKeepRatio</key>
      <integer>0</integer>
      <key>PictureModulus</key>
      <integer>2</integer>
      <key>PicturePAR</key>
      <integer>1</integer>
      <key>PictureLeftCrop</key>
      <integer>0</integer>
      <key>PictureRightCrop</key>
      <integer>0</integer>
      <key>PictureTopCrop</key>
      <integer>0</integer>
      <key>PictureBottomCrop</key>
      <integer>0</integer>
      <key>PictureWidth</key>
      <integer>720</integer>
      <key>PresetBuildNumber</key>
      <string>2015060900</string>
      <key>PresetDescription</key>
      <string>No Description</string>
      <key>PresetName</key>
      <string>x264 768 Standard</string>
      <key>Type</key>
      <integer>1</integer>
      <key>UsesMaxPictureSettings</key>
      <integer>1</integer>
      <key>UsesPictureFilters</key>
      <integer>1</integer>
      <key>UsesPictureSettings</key>
      <integer>1</integer>
      <key>VideoAvgBitrate</key>
      <string>768</string>
      <key>VideoEncoder</key>
      <string>H.264 (x264)</string>
      <key>VideoFramerate</key>
      <string>Same as source</string>
      <key>VideoFramerateMode</key>
      <string>cfr</string>
      <key>VideoGrayScale</key>
      <false />
      <key>VideoQualitySlider</key>
      <real>20</real>
      <key>h264Level</key>
      <string>Auto</string>
      <key>x264OptionExtra</key>
      <string>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0</string>
      <key>x264Preset</key>
      <string>medium</string>
      <key>h264Profile</key>
      <string>none</string>
      <key>x264Tune</key>
      <string>none</string>
      <key>x264UseAdvancedOptions</key>
      <integer>1</integer>
      <key>h265Profile</key>
      <string>none</string>
      <key>x265Preset</key>
      <string>veryfast</string>
      <key>x265Tune</key>
      <string>none</string>
      <key>VideoQualityType</key>
      <integer>1</integer>
      <key>VideoTargetSize</key>
      <string />
      <key>VideoTurboTwoPass</key>
      <integer>1</integer>
      <key>VideoTwoPass</key>
      <integer>1</integer>
      <key>x264Option</key>
      <string>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0</string>
    </dict>
  </array>
</plist>


HandBrake Preset (Test #2):

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist>
  <array>
    <dict>
      <key>AudioList</key>
      <array>
        <dict>
          <key>AudioBitrate</key>
          <string>160</string>
          <key>AudioEncoder</key>
          <string>AAC (avcodec)</string>
          <key>AudioMixdown</key>
          <string>Stereo</string>
          <key>AudioSamplerate</key>
          <string>Auto</string>
          <key>AudioTrack</key>
          <integer>1</integer>
          <key>AudioTrackDRCSlider</key>
          <real>0</real>
          <key>AudioTrackDescription</key>
          <string>Unknown</string>
          <key>AudioTrackGainSlider</key>
          <real>0</real>
        </dict>
      </array>
      <key>AudioAllowAACPass</key>
      <true />
      <key>AudioAllowAC3Pass</key>
      <true />
      <key>AudioAllowDTSHDPass</key>
      <true />
      <key>AudioAllowDTSPass</key>
      <true />
      <key>AudioAllowMP3Pass</key>
      <true />
      <key>AudioEncoderFallback</key>
      <string>AC3</string>
      <key>ChapterMarkers</key>
      <true />
      <key>Default</key>
      <integer>0</integer>
      <key>FileFormat</key>
      <string>MP4 file</string>
      <key>Folder</key>
      <false />
      <key>Mp4HttpOptimize</key>
      <integer>0</integer>
      <key>Mp4iPodCompatible</key>
      <integer>0</integer>
      <key>PictureAutoCrop</key>
      <integer>1</integer>
      <key>PictureDeblock</key>
      <integer>4</integer>
      <key>PictureDecombDeinterlace</key>
      <false />
      <key>PictureDecombCustom</key>
      <string />
      <key>PictureDecomb</key>
      <integer>0</integer>
      <key>PictureDeinterlaceCustom</key>
      <string />
      <key>PictureDeinterlace</key>
      <integer>0</integer>
      <key>PictureDenoiseFilter</key>
      <string>off</string>
      <key>PictureDenoiseCustom</key>
      <string />
      <key>PictureDenoisePreset</key>
      <string>weak</string>
      <key>PictureDetelecine</key>
      <integer>0</integer>
      <key>PictureDetelecineCustom</key>
      <string />
      <key>PictureHeight</key>
      <integer>404</integer>
      <key>PictureKeepRatio</key>
      <integer>0</integer>
      <key>PictureModulus</key>
      <integer>2</integer>
      <key>PicturePAR</key>
      <integer>1</integer>
      <key>PictureLeftCrop</key>
      <integer>0</integer>
      <key>PictureRightCrop</key>
      <integer>0</integer>
      <key>PictureTopCrop</key>
      <integer>0</integer>
      <key>PictureBottomCrop</key>
      <integer>0</integer>
      <key>PictureWidth</key>
      <integer>720</integer>
      <key>PresetBuildNumber</key>
      <string>2015060900</string>
      <key>PresetDescription</key>
      <string>No Description</string>
      <key>PresetName</key>
      <string>x264 768 Standard 23.976</string>
      <key>Type</key>
      <integer>1</integer>
      <key>UsesMaxPictureSettings</key>
      <integer>1</integer>
      <key>UsesPictureFilters</key>
      <integer>1</integer>
      <key>UsesPictureSettings</key>
      <integer>1</integer>
      <key>VideoAvgBitrate</key>
      <string>768</string>
      <key>VideoEncoder</key>
      <string>H.264 (x264)</string>
      <key>VideoFramerate</key>
      <string>23.976</string>
      <key>VideoFramerateMode</key>
      <string>cfr</string>
      <key>VideoGrayScale</key>
      <false />
      <key>VideoQualitySlider</key>
      <real>20</real>
      <key>h264Level</key>
      <string>Auto</string>
      <key>x264OptionExtra</key>
      <string>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0</string>
      <key>x264Preset</key>
      <string>medium</string>
      <key>h264Profile</key>
      <string>none</string>
      <key>x264Tune</key>
      <string>none</string>
      <key>x264UseAdvancedOptions</key>
      <integer>1</integer>
      <key>h265Profile</key>
      <string>none</string>
      <key>x265Preset</key>
      <string>veryfast</string>
      <key>x265Tune</key>
      <string>none</string>
      <key>VideoQualityType</key>
      <integer>1</integer>
      <key>VideoTargetSize</key>
      <string />
      <key>VideoTurboTwoPass</key>
      <integer>1</integer>
      <key>VideoTwoPass</key>
      <integer>1</integer>
      <key>x264Option</key>
      <string>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:8x8dct=0:cabac=0</string>
    </dict>
  </array>
</plist>
Deleted User 13735

Re: [BUG] Variable Frame Rate Used When Constant Selected

Post by Deleted User 13735 »

Step 2
Please search though this bugs forum and verify that someone else hasn't already reported this issue. If you find a post and have additional information and logs, please post them into the existing thread.

Code: Select all

[13:10:13]        + frame rate: 23.976 fps -> constant 23.976 fps
MediaInfo is detecting the tiny clock jitter that is necessary to keep the frame rate constant, and that is all. Of course, reporting that jitter as variable frame rate is entirely wrong. If you will check the math, you will find that 90 kHz internal clock is not evenly divisible by 24*(1000/1001) (or 23.976 as rounded).

You of course, are welcome to submit your bug report to MediaInfo; I suspect, however, that no one is terribly interested.

A search of this forum would have cleared this up for you and saved you from posting all of that documentation; also, citing Vidcoder, an unsupported third party software as an example, is not exactly a gem of diplomacy.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: [BUG] Variable Frame Rate Used When Constant Selected

Post by BradleyS »

Banned for rules #2c and #3a violations. Locking.
Locked