User Tools

Site Tools


ffmpeg

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
ffmpeg [2025/04/10 23:33] – note on what copy means. rjtffmpeg [2025/04/14 16:40] (current) – more info on 'copy' ... mb don't need to bang on so much ... rjt
Line 20: Line 20:
  
 <code>ffmpeg -i [input].webm -acodec copy -vcodec copy [output].mkv</code> <code>ffmpeg -i [input].webm -acodec copy -vcodec copy [output].mkv</code>
 +
 +A more compact way is to use ''-c'', which will copy over all streams (there's also ''-c:a'' (audio) ''-c:v'' (video) ''-c:s'' (subtitles)…:
 +
 +<code>ffmpeg -i [input].webm -c copy [output].mkv</code>
  
 So if you wanted to copy the video stream and just reencode/change the audio, for example: So if you wanted to copy the video stream and just reencode/change the audio, for example:
ffmpeg.1744292024.txt.gz · Last modified: 2025/04/10 23:33 by rjt