I am trying get live streaming using libopenh264 near the quality of libx264, but I am running into the quality issues. Here is a live stream standing still:
Set the number of slices, used in the parallelized encoding. This is only used when slice_mode is set to ‘fixed’
slice_mode
auto
Set slice mode.Possible values:fixedrowmbautodyn
loopfilter
1
Enable loop filter, if set to 1. To disable set a value of 0.
max_nal_size
0
Set maximum NAL size in bytes.
allow_skip_frames
0
Allow skipping frames to hit the target bitrate if set to 1.
But it seems options like slice_mode is incorrect, and playing around with options like slices and max_nal_size don't do anything. Here is my ffmpeg command:
I am trying get live streaming using libopenh264 near the quality of libx264, but I am running into the quality issues. Here is a live stream standing still:
And here is image when there is fast movement:
The only documentation I've been able to find on options for libopenh264 is here: https://support.medialooks.com/hc/en-us/articles/360000210192-H-264-encoding-options
Which give these values:
But it seems options like slice_mode is incorrect, and playing around with options like slices and max_nal_size don't do anything. Here is my ffmpeg command:
Are there any other options I can be testing for libopenh264 to improve the quality?