
resulting in the last frame och each GOP being a p-frame. b-adapt=0ī-frames can be adaptable adding more or less b-frames then 2 b-frames. Setting how many b-frames there can be between each p-frame.


adding scencut=0 disables this, now forcing x264 to add a i-frame each 24 frame. scenecut=0Īdaptable can be adaptable and add a I-frame if the picture changes to much. I-frames can be adaptable, setting this to the same as keyint disables this. This example does not work in Vegas.įfmpeg.exe -i oas.mov -pix_fmt yuv422p10le -filter_complex "pan=mono|c0=c0 pan=mono|c0=c1" -map 0:v -map "" -map "" -c:v libx264 -profile:v high422 -level 4.1 -preset superfast -b:v 4M -coder 1 -x264-params keyint=24:min-keyint=24:scenecut=0:bframes=2:b-adapt=0:ref=2:b-adapt=0:open-gop=1 -tune fastdecode -c:a pcm_s16le -ar 48000 -f mxf This is a example of trying to convert an prores file to a Sony MXF compatible file. this structure is compatible for HLS streaming.įfprobe version git-1b90e24 Copyright (c) 2007-2017 the FFmpeg developersīuilt with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)Ĭonfiguration: –prefix=/home/wowza/ffmpeg_build –extra-cflags=-I/home/wowza/ffmpeg_build/include –extra-ldflags=-L/home/wowza/ffmpeg_build/lib –bindir=/home/wowza/bin –extra-libs=-ldl –enable-gpl –enable-nonfree –enable-libfdk_aac –enable-libmp3lame –enable-libopus –enable-libvorbis –enable-libx264 B-frames can be adaptable so you might see fewer B frames between som P-frames. The example below has en I-frame each 50 frames.


In your GOP structure you got I-Frames,P-Frames and B-frames. Some formats require a certain GOP structure to work. You can use ffprobe to investigate the GOP configuration of a h264 videofile.
