Am Di., 17. März 2020 um 22:38 Uhr schrieb Giuseppe Torelli <[email protected]>: > >> I may misunderstand but avcodec_find_encoder() takes a codec_id, it >> has no connection at all to containers. >> (H264 is 27 here, are you testing an ancient FFmpeg version?) >> > I have ffmpeg 3.4.6 by the way 28 is the id for MPEG-4 Part 14 not libx264.
The constant AV_CODEC_ID_H264 is 28 in old versions of FFmpeg, 27 in newer versions. The value has nothing to do with MPEG-4 Part 14 (it is used for the codec described in MPEG-4 part 10). Carl Eugen _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
