force intra frame only with -g 1, not with deprecated intra, fix #107
This commit is contained in:
parent
08fa7ac35d
commit
7850fb8711
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user