[Libav-user] h264_omx: lock up when calling avcodec_send_frame on Raspberry Pi

Joo Aun Saw jasaw at dius.com.au
Fri Jul 28 06:01:34 EEST 2017


I have compiled ffmpeg version 3.3.2 with --enable-omx
--enable-omx-rpi --enable-mmal options, and running motion software
(latest master with modification to use h264_omx encoder) that uses
libav to encode video.
When running at 1280x720 resolution, quite often the call to
avcodec_send_frame function would lock up, i.e. code does not return
after calling the function.
Works fine at 800 x 600, 1920 x 1080.

I've tested this on multiple models of Raspberry Pi and they all
behave the same. Any clue as to what I might be doing wrong?

Any help or hint is greatly appreciated. Thanks in advance.

Regards,
jasaw


More information about the Libav-user mailing list