force intra frame only with -g 1, not with deprecated intra, fix #107

This commit is contained in:
jb-alvarado 2021-11-25 14:44:18 +01:00
parent 08fa7ac35d
commit 7850fb8711
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ def output():
ff_pre_settings = [
'-pix_fmt', 'yuv420p', '-r', str(pre.fps),
'-c:v', 'mpeg2video', '-intra',
'-c:v', 'mpeg2video', '-g', '1',
'-b:v', f'{pre.v_bitrate}k',
'-minrate', f'{pre.v_bitrate}k',
'-maxrate', f'{pre.v_bitrate}k',

View File

@ -42,7 +42,7 @@ def output():
ff_pre_settings = [
'-pix_fmt', 'yuv420p', '-r', str(pre.fps),
'-c:v', 'mpeg2video', '-intra',
'-c:v', 'mpeg2video', '-g', '1',
'-b:v', f'{pre.v_bitrate}k',
'-minrate', f'{pre.v_bitrate}k',
'-maxrate', f'{pre.v_bitrate}k',