When pulling transcodes into Premiere, first two frames are dropped and first frame is green

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
jbruchon
Posts: 12
Joined: Sat Jun 27, 2015 12:10 am

When pulling transcodes into Premiere, first two frames are dropped and first frame is green

Post by jbruchon »

Description of problem or question
Video is transcoded by Handbrake; when pulled into Premiere, it is two frames shorter than the original file and the third (first) frame is green. The source material and quality settings do not seem to matter, all H.264 output files exhibit the same issue. MediaInfo also reports a variable frame rate even though "same as source - constant frame rate" is chosen.

Steps to reproduce the problem (If Applicable)
Transcode something to H.264 with Handbrake. Pull the original and the new file into Premiere. Note that two frames at the start are missing.

HandBrake version (e.g., 1.0.0)
1.0.7 64-bit

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)
WIndows 10 Pro 64-bit

Error message text or screenshot (If Applicable)
None

Provide a URL from any image hosting site.
https://imgur.com/GIgbzgr

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.14393.0 - 64bit
CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Ram: 12148 MB, 
GPU Information:
  NVIDIA GeForce GTX 970M - 22.21.13.8476
  Intel(R) HD Graphics 530 - 21.20.16.4550
Screen: 2560x1080
Temp Dir: [redacted]\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: [redacted]\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[00:00:30] hb_init: starting libhb thread
[00:00:30] 1 job(s) to process
[00:00:30] CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
[00:00:30]  - Intel microarchitecture Skylake
[00:00:30]  - logical processor count: 8
[00:00:30] Intel Quick Sync Video support: yes
[00:00:30]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[00:00:30]  - H.264 encoder: yes
[00:00:30]     - preferred implementation: hardware (any)
[00:00:30]  - H.265 encoder: yes
[00:00:30]     - preferred implementation: hardware (any)
[00:00:30] hb_scan: path=[redacted]\MVI_0143.MP4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image [redacted]\MVI_0143.MP4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[00:00:30] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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
[00:00:30] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '[redacted]\MVI_0143.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42avc1CAEP
    creation_time   : 2017-10-01 17:20:23
  Duration: 00:00:22.05, start: 0.000000, bitrate: 35220 kb/s
    Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080, 34955 kb/s
      59.94 fps, 60k tbn (default)
    Metadata:
      creation_time   : 2017-10-01 17:20:23
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 254 kb/s (default)
    Metadata:
      creation_time   : 2017-10-01 17:20:23
[00:00:31] scan: decoding previews for title 1
[00:00:31] scan: audio 0x1: aac, rate=48000Hz, bitrate=254962 English (AAC) (2.0 ch)
[00:00:32] scan: 10 previews, 1920x1080, 59.940 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[00:00:32] scan: supported video decoders: avcodec qsv
[00:00:32] libhb: scan thread found 1 valid title(s)
[00:00:32] Skipping subtitle scan.  No suitable subtitle tracks.
[00:00:32] starting job
[00:00:32] work: track 1, dithering not supported by codec
[00:00:32] work: only 1 chapter, disabling chapter markers
[00:00:32] job configuration:
[00:00:32]  * source
[00:00:32]    + [redacted]\MVI_0143.MP4
[00:00:32]    + title 1, chapter(s) 1 to 1
[00:00:32]    + container: mov,mp4,m4a,3gp,3g2,mj2
[00:00:32]    + data rate: 35220 kbps
[00:00:32]  * destination
[00:00:32]    + [redacted]\processed\MVI_0143.mp4
[00:00:32]    + container: MPEG-4 (libavformat)
[00:00:32]      + optimized for HTTP streaming (fast start)
[00:00:32]  * video track
[00:00:32]    + decoder: h264_qsv
[00:00:32]      + bitrate 34955 kbps
[00:00:32]    + filters
[00:00:32]      + Framerate Shaper (mode=1)
[00:00:32]        + frame rate: 59.940 fps -> constant 59.940 fps
[00:00:32]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[00:00:32]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[00:00:32]    + Output geometry
[00:00:32]      + storage dimensions: 1920 x 1080
[00:00:32]      + pixel aspect ratio: 1 : 1
[00:00:32]      + display dimensions: 1920 x 1080
[00:00:32]    + encoder: H.264 (libx264)
[00:00:32]      + options: level=4.0:vbv-maxrate=20000:vbv-bufsize=25000:rc-lookahead=30:b-adapt=2:direct=auto:me=umh:subme=10:merange=64:analyse=all:trellis=2:aq-strength=0.6:psy-rd=1.1,0.20:deblock=-2,-2
[00:00:32]      + quality: 23.00 (RF)
[00:00:32]  * audio track 1
[00:00:32]    + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[00:00:32]      + bitrate: 254 kbps, samplerate: 48000 Hz
[00:00:32]    + mixdown: Stereo
[00:00:32]    + encoder: AAC (libavcodec)
[00:00:32]      + bitrate: 256 kbps, samplerate: 48000 Hz
[00:00:32] sync: expecting 1322 video frames
[00:00:32] encx264: min-keyint: 60, keyint: 600
[00:00:32] encx264: encoding at constant RF 23.000000
[00:00:32] encx264: unparsed options: level=4.0:vbv-maxrate=20000:vbv-bufsize=25000:subme=10:rc-lookahead=30:me=umh:b-adapt=2:deblock=-2,-2:direct=auto:trellis=2:merange=64:analyse=all:aq-strength=0.6:psy-rd=1.1,0.2
x264 [info]: using SAR=1/1
x264 [warning]: MB rate (489110) > level limit (245760)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile High, level 4.0
[00:00:33] sync: first pts video is 0
[00:00:33] sync: first pts audio 0x1 is 0
[00:00:33] sync: "Chapter 1" (1) at frame 3 time 3003
[00:02:16] reader: done. 1 scr changes
[00:02:33] work: average encoding speed for job is 12.047510 fps
[00:02:33] vfr: 1320 frames output, 0 dropped and 0 duped for CFR/PFR
[00:02:33] vfr: lost time: 0 (0 frames)
[00:02:33] vfr: gained time: 0 (0 frames) (0 not accounted for)
[00:02:33] aac-decoder done: 1032 frames, 0 decoder errors
[00:02:33] h264_qsv-decoder done: 1320 frames, 0 decoder errors
[00:02:33] sync: got 1320 frames, 1322 expected
[00:02:33] sync: framerate min 59.960 fps, max 59.960 fps, avg 59.940 fps
x264 [info]: frame I:3     Avg QP:24.51  size:311741
x264 [info]: frame P:365   Avg QP:26.46  size: 58898
x264 [info]: frame B:952   Avg QP:30.36  size:  4218
x264 [info]: consecutive B-frames:  2.3%  1.7%  9.1% 87.0%
x264 [info]: mb I  I16..4: 17.4% 53.4% 29.2%
x264 [info]: mb P  I16..4:  7.0%  9.6%  0.5%  P16..4: 39.3% 11.8% 15.5%  0.3%  0.1%    skip:15.9%
x264 [info]: mb B  I16..4:  0.4%  0.8%  0.0%  B16..8: 34.6%  1.2%  0.3%  direct: 0.5%  skip:62.3%  L0:40.5% L1:53.1% BI: 6.4%
x264 [info]: 8x8 transform intra:57.2% inter:56.4%
x264 [info]: direct mvs  spatial:99.4% temporal:0.6%
x264 [info]: coded y,uvDC,uvAC intra: 28.4% 50.8% 11.0% inter: 11.4% 13.4% 0.4%
x264 [info]: i16 v,h,dc,p: 50% 25% 17%  8%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10%  8% 40%  4% 10%  6% 10%  5%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13%  9%  6%  7% 16% 11% 15%  9% 13%
x264 [info]: i8c dc,h,v,p: 62% 21% 12%  5%
x264 [info]: Weighted P-Frames: Y:10.1% UV:3.8%
x264 [info]: ref P L0: 55.7% 18.6% 22.7%  2.9%  0.2%
x264 [info]: ref B L0: 94.8%  4.4%  0.8%
x264 [info]: ref B L1: 97.9%  2.1%
x264 [info]: kb/s:9608.04
[00:02:33] mux: track 0, 1320 frames, 26448388 bytes, 9607.99 kbps, fifo 1024
[00:02:33] mux: track 1, 1032 frames, 708852 bytes, 257.51 kbps, fifo 1024
[00:02:33] libhb: work result = 0

# Encode Completed ...


[code]

Additionally, some MediaInfo for the source and output files, respectively:

[code]
General
Complete name                            : [redacted]\MVI_0143.MP4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/avc1/CAEP)
File size                                : 92.6 MiB
Duration                                 : 22 s 22 ms
Overall bit rate                         : 35.3 Mb/s
Encoded date                             : UTC 2017-10-01 17:20:23
Tagged date                              : UTC 2017-10-01 17:20:23

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.2
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 2 frames
Format settings, GOP                     : M=3, N=30
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 22 s 22 ms
Bit rate                                 : 35.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.281
Stream size                              : 91.8 MiB (99%)
Language                                 : English
Encoded date                             : UTC 2017-10-01 17:20:23
Tagged date                              : UTC 2017-10-01 17:20:23
Color range                              : Limited
Color primaries                          : BT.709
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                                 : 22 s 16 ms
Bit rate mode                            : Constant
Bit rate                                 : 256 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 685 KiB (1%)
Language                                 : English
Encoded date                             : UTC 2017-10-01 17:20:23
Tagged date                              : UTC 2017-10-01 17:20:23

Code: Select all

General
Complete name                            : [redacted]\processed\MVI_0143.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/iso2/avc1/mp41)
File size                                : 25.9 MiB
Duration                                 : 22 s 22 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 9 880 kb/s
Encoded date                             : UTC 2017-12-15 05:00:32
Tagged date                              : UTC 2017-12-15 05:00:32
Writing application                      : HandBrake 1.0.7 2017040900

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 22 s 22 ms
Bit rate                                 : 9 608 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 59.940 (60000/1001) FPS
Minimum frame rate                       : 59.920 FPS
Maximum frame rate                       : 59.960 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.077
Stream size                              : 25.2 MiB (97%)
Writing library                          : x264 core 148 r2708 86b7198
Encoding settings                        : cabac=1 / ref=3 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.10:0.20 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / 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=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=600 / keyint_min=60 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:0.60
Encoded date                             : UTC 2017-12-15 05:00:32
Tagged date                              : UTC 2017-12-15 05:00:32
Color range                              : Limited
Color primaries                          : BT.709
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                                 : 22 s 16 ms
Bit rate mode                            : Variable
Bit rate                                 : 258 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 692 KiB (3%)
Title                                    : Stereo / Stereo
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2017-12-15 05:00:32
Tagged date                              : UTC 2017-12-15 05:00:32
Post Reply