set video writer iframe interval

asked Jun 17 '19

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)

Preview: (hide)

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 (Jun 17 '19)edit