[FFmpeg-trac] #8416(avformat:new): disposition option ignored when muxing hls from a web url and srt subtitle file together in an mkv container

FFmpeg trac at avcodec.org
Fri Jan 3 14:58:20 EET 2020


#8416: disposition option ignored when muxing hls from a web url and srt subtitle
file together in an mkv container
-------------------------------------+-------------------------------------
             Reporter:  bgx90        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  4.2          |               Resolution:
             Keywords:  disposition  |               Blocked By:
  mkv                                |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mkver):

 Sorry, I have not noticed that you have answered again: Most Matroska
 files contain a track that is flagged as default. This makes the Matroska
 muxer set the dispositions as they are in the input. If no input stream
 has default disposition set, the Matroska muxer makes every stream a
 default stream (even multiple streams of the same kind). This behaviour is
 obviously so because lots of other formats don't even have the concept of
 default streams, so it is not uncommon for no stream to have this set,
 whereas it is common to set this for Matroska (but setting it for all
 streams in a Matroska file is just wrong and will be changed).

 So here is a workaround for you: Set the video and/or the audio track from
 your hls input as default.

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


More information about the FFmpeg-trac mailing list