[Libav-user] How to access the struct AVCodecTag?
Carl Eugen Hoyos
ceffmpeg at gmail.com
Tue Mar 17 23:46:55 EET 2020
Am Di., 17. März 2020 um 22:38 Uhr schrieb Giuseppe Torelli
<giutorcom at gmail.com>:
>
>> 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
More information about the Libav-user
mailing list