ffmpeg-libav-tutorial icon indicating copy to clipboard operation
ffmpeg-libav-tutorial copied to clipboard

Encode video frame by frame

Open devildonkey1392 opened this issue 4 years ago β€’ 3 comments

HI,

Can I encode a video frame by frame rather than whole video?

How can I do that?

Thanks!

devildonkey1392 avatar Jan 21 '21 14:01 devildonkey1392

Hi @devildonkey1392 I don't know if I got your question right but here's the snippet doing exactly what you're asking for https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/3_transcoding.c#L233-L244

leandromoreira avatar Jan 21 '21 23:01 leandromoreira

I want to feed glbuffer as input instead of the file and then encode the glbuffer.

devildonkey1392 avatar Jan 22 '21 07:01 devildonkey1392

@devildonkey1392 I think this might help you http://dranger.com/ffmpeg/

leandromoreira avatar Jan 22 '21 13:01 leandromoreira