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

FFmpeg trac at avcodec.org
Sat Apr 8 17:20:08 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           |
------------------------------------+----------------------------------
Changes (by slhck):

 * blockedby:  1845 =>


Comment:

 With recent ffmpeg (testing 3.2.4 here), the error message now says:

 {{{
 $ ffmpeg -i video.mp4 -i subtitles.srt -c:v copy -c:a copy -map 0 -map 1
 output.mp4
 …
 Automatic encoder selection failed for output stream #0:2. Default encoder
 for format mp4 (codec none) is probably disabled. Please choose an encoder
 manually. Error selecting an encoder for stream 0:2
 }}}

 When using `-c:s mov_text`, the encoded video plays fine in QuickTime now.
 And #1845 seems to be fixed anyway.

 So the `mov_text` codec autoselection for MOV/MP4 could now be
 implemented.

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


More information about the FFmpeg-trac mailing list