set video writer iframe interval

asked 2019-06-17 04:50:33 -0500

Alon gravatar image

Hi, we are encoding a movie but would like to make it smaller by putting a lot less iframes (it is really static), is there a way to configure the iframes interval? Thanks!

also if anyone has any idea, when encoding h264, we get diagonal green lines on the image (but other encoding works?)

Thanks ! (writing rgb frames)

edit retag flag offensive close merge delete

Comments

we are encoding a movie

abusing a computer-vision library for this

is there a way to configure the iframes interval?

not from opencv (it's not meant to do that from here). please use libraries like ffmpeg gstreamer, etc instead.

berak gravatar imageberak ( 2019-06-17 06:20:18 -0500 )edit