User Tools

Site Tools


ffmpeg:subtitles:add_subtitles_to_mp4_vs_mkv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:subtitles:add_subtitles_to_mp4_vs_mkv [2024/12/30 22:24] peterffmpeg:subtitles:add_subtitles_to_mp4_vs_mkv [2024/12/30 22:30] (current) peter
Line 2: Line 2:
  
 <WRAP alert> <WRAP alert>
-Different **syntax** is used for MP4 and MKV.+Different **syntax** is used for MP4 vs MKV.
  
   * In both cases you must specify video and audio codec, or just copy stream if you just want to add subtitle.   * In both cases you must specify video and audio codec, or just copy stream if you just want to add subtitle.
Line 17: Line 17:
 -c:s mov_text output.mp4 -c:s mov_text output.mp4
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  Notice the **-c:s mov_text**.
 +</WRAP>
  
 ---- ----
Line 27: Line 31:
 -c:s srt output.mkv -c:s srt output.mkv
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  Notice the **-c:s srt**.
 +</WRAP>
 +
  
 ---- ----
Line 37: Line 46:
 </WRAP> </WRAP>
  
 +----
 +
 +<WRAP info>
 +**NOTE:**  .srt files must be imported with -c:s copy not with -c:s mov_text
 +</WRAP>
  
 ---- ----
ffmpeg/subtitles/add_subtitles_to_mp4_vs_mkv.1735597478.txt.gz · Last modified: 2024/12/30 22:24 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki