Am Di., 17. März 2020 um 21:50 Uhr schrieb Giuseppe Torelli
<[email protected]>:

> many thanks for replying. I'm really surprised there is no way to get all the 
> encoders
> linked to a particular container.

You can get a default encoder for a given container but as explained
FFmpeg expects its
users to know what to put in a specific container (libavformat may
fail but if it does not
fail, this is still not an indication that the output file will be
readable at all or by specific
software).

> I was able to use avcodec_find_encoder(28) where 28 is the ID for MPEG-4 Part 
> 14 and I
> correctly get "libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10" but of 
> course there
> is also libx265 that encodes a video in the MP4 format.

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?)

Please find out what top-posting means and avoid it here, 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".

Reply via email to