Closed mm318 closed 5 years ago
By replacing avcodec_find_encoder_by_name("h264_omx")
with avcodec_find_encoder(AV_CODEC_ID_H264)
, the behavior on Ubuntu x86/x64 will be correct, but the Raspberry Pi behavior will be to use libx264 by default instead, which is not that we want.
Fix has been merged.
On Ubuntu 18.04 Bionic Beaver x86_64, I am finding that ffmpeg is indicating the "h264_omx" encoder is available even though it is not working ("libOMXCore.so" is not available), which means the h264_video_encoder node is effectively broken on Bionic Beaver x86/x64.