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:18] peterffmpeg:subtitles:add_subtitles_to_mp4_vs_mkv [2024/12/30 22:30] (current) peter
Line 1: Line 1:
 ====== ffmpeg - Subtitles - Add subtitles to MP4 vs MKV ====== ====== ffmpeg - Subtitles - Add subtitles to MP4 vs MKV ======
  
-Different syntax is used for MP4 and MKV.+<WRAP alert> 
 +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. 
 + 
 +</WRAP>
  
 ---- ----
Line 14: 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 24: Line 31:
 -c:s srt output.mkv -c:s srt output.mkv
 </code> </code>
 +
 +<WRAP info>
 +**NOTE:**  Notice the **-c:s srt**.
 +</WRAP>
 +
  
 ---- ----
Line 34: 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.1735597127.txt.gz · Last modified: 2024/12/30 22:18 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki