[FFmpeg-trac] #9867(avformat:open): Cannot remove "default" disposition of mov_text subtitle in mp4
FFmpeg
trac at avcodec.org
Tue Aug 9 09:48:53 EEST 2022
#9867: Cannot remove "default" disposition of mov_text subtitle in mp4
------------------------------------+------------------------------------
Reporter: liancea | Owner: (none)
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by mkver):
* status: new => open
* component: undetermined => avformat
Comment:
I can confirm that default_mode is an mkv-muxer option that will
definitely be ignored by the mp4 muxer.
The mov muxer always sets one stream of each type to default; this is done
in enable_tracks() (mainly the last loop in it, lines 6704-6715 in
libavformat/movenc.c as of this writing). One would have to add an option
similar to the mkv muxer's default_mode to do as you want (or one would
have to directly map the AV_DISPOSITION_DEFAULT to MOV_TRACK_ENABLED).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9867#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list