[Libav-user] H264 saving with LGPL2 license with FFmpeg 6.0

Gonzalo Garramuño ggarra13 at gmail.com
Tue Jun 20 05:54:46 EEST 2023


I am using libav* (ffmpeg v6.0 - LGPL2 license) to encode an H264 movie 
with C++.  I currently can save mpeg4 and some ProRes movies with no 
problem.  However, H264 movies don't work getting an error of -22 on 
avcodec_open2.  I compiled libav* without libx264.

I also tried the encode_video doc/examples demo and could not get it to 
save H264 by trying any of the codecs like: h264, H264, x264, libx264, 264.

Is encoding with this setup not supported?

-- 
Gonzalo Garramuño
ggarra13 at gmail.com



More information about the Libav-user mailing list