[FFmpeg-trac] #11109(avformat:new): Matroska output format missing supported video codec tags (additional_video_tags)

FFmpeg trac at avcodec.org
Fri Jul 19 18:57:07 EEST 2024


#11109: Matroska output format missing supported video codec tags
(additional_video_tags)
------------------------------------+------------------------------------
             Reporter:  SuRGeoNix   |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  matroska    |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Description changed by SuRGeoNix:

Old description:

> AVOutputFormat.codec_tag does not include ff_mkv_codec_tags
>
> In matroska.c there is a comment
>
> "If you add a tag here that is not in ff_codec_bmp_tags[] or
> ff_codec_wav_tags[], add it also to additional_audio_tags[]or
> additional_video_tags[] in matroskaenc.c"
>
> but additional_video_tags are not specified.
>
> Wondering if generally we could trust codec_tags for output formats to
> check whether is supported or not by the specified format.

New description:

 AVOutputFormat.codec_tag does not include ff_mkv_codec_tags

 In matroska.c there is a comment

 "If you add a tag here that is not in ff_codec_bmp_tags[] or
 ff_codec_wav_tags[], add it also to additional_audio_tags[]or
 additional_video_tags[] in matroskaenc.c"

 but additional_video_tags are not specified.

 Similarly, avi supports hevc but it is not included in codec_tag list but
 it will work if you set the codec_tag in the output stream's codec params.

 Wondering if generally we could trust codec_tags for output formats to
 check whether is supported or not by the specified format.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11109#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list