Shotcut does not respect bf property from export profile

Like title says, Shotcut does not respect bf (B frames) property in export profile!

Here is my custom export profile:

movflags=+faststart
preset=slow
f=mp4
vcodec=libx264
rc=vbr
vbr=quality
cq=16
g=30
bf=2
width=1080
height=1920
aspect=0.5625
progressive=1
deinterlacer=bwdif
rescale=bilinear
frame_rate_num=60
frame_rate_den=1
threads=0
vprofile=high
pix_fmt=yuv420p
acodec=aac
channels=2
channel_layout=stereo
ar=48000
ab=320k
vbr=constrained

Screenshot:

Everything else looks ok.

ArchLinux / Pacman / Shotcut version 25.08.16

The export profile says libx264. But “Use hardware encoder” is checked which changes the codec to h264_nvenc. The conversion is where bf=0 is getting set. B-frames are sometimes disabled or set to zero with some hardware encoders because the hardware doesn’t support them or has problems.

Two options:

  1. Turn off hardware encoding so the export actually uses libx264
  2. Change the export preset to use h264_nvenc so that the bf=2 isn’t getting reset when converting the software codec to a hardware codec
1 Like

This is fixed for the next version 25.10

1 Like

You are right! Changing codec from libx264 to h264_nvencfix the problem! But should be still addressed, because affect also all built-in export profiles.

1 Like