[FFmpeg-trac] #11462(undetermined:new): Cannot embed .scc file into .mp4 using -c:s copy

FFmpeg trac at avcodec.org
Mon Feb 10 16:26:14 EET 2025


#11462: Cannot embed .scc file into .mp4 using -c:s copy
-------------------------------------+-------------------------------------
             Reporter:  Zach         |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  important    |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Devin Heitmueller):

 I took a look at the actual command line provided by the OP, as well as
 the code, and it does work as expected when the MP4 is created in MOV
 mode.

 To create the file in MOV mode, specify the filename as ".mov" rather than
 ".mp4".  For example:

 ./ffmpeg -i ../../whatever.ts -i ../../AIM-2301_premiereExport.scc -map
 0:v -map 0:a -map 1 -c:v copy -c:a copy -c:s copy output.mov

 Once you do that, it creates the output file with a caption track, and the
 result is playable in Quicktime:

 Example output:

   Stream #0:7[0x8]: Subtitle: eia_608 (c608 / 0x38303663), 0 kb/s
 (default)
     Metadata:
       handler_name    : ClosedCaptionHandler
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11462#comment:24>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list