[FFmpeg-trac] #2260(ffmpeg:new): FFmpeg doesn't auto-select subtitle codec for MP4

FFmpeg trac at avcodec.org
Mon Apr 10 11:21:59 EEST 2017

#2260: FFmpeg doesn't auto-select subtitle codec for MP4
             Reporter:  slhck       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffmpeg
              Version:  git-master  |               Resolution:
             Keywords:  mov         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by slhck):

 > If it could autoselect the codec when using -map 0 -c:v copy -c:a copy
 that would be great.

 That's what it would do anyway.

 If you do not specify `-map 0` it will only take the first subtitle stream
 and re-encode it. (Or as currently implemented, not re-encode it, but

 > there are other subtitle streams of other types that I want to keep.

 Then you need to specify `-c:s:1 copy` or whatever the stream index of the
 subtitle stream you want copied is.

Ticket URL: <https://trac.ffmpeg.org/ticket/2260#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list