4 votes
Accepted

ffmpeg : Copy all the streams (including cover art) except the first video stream from one MP4 file to another

-map 0 will map all streams from the first input. A negative mapping can then be applied to disable an already mapped stream. So, ffmpeg -i toto1.mp4 -map 0 -map -0:v:0 -c copy toto2.mp4
Gyan's user avatar
  • 33k
3 votes

How to add a time stamp using ffmpeg to a screenshot capture of a video

Use ffmpeg -start_at_zero -copyts -ss 00:00:14.435 -i input.mp4 -vf "drawtext=fontfile=/path/to/Arial.ttf: fontsize=45:fontcolor=yellow:box=1:boxcolor=black:x=(W-tw)/2:y=H-th-10: ...
Gyan's user avatar
  • 33k
2 votes
Accepted

Extract key frame from video with ffmpeg

No ffmpeg code can identify interesting frames. At most, there are filters which detect representative frames and filters which identify frames with a scene change. So, at best, there's a thumbnail ...
Gyan's user avatar
  • 33k
2 votes

Generating thumbnail from only the first megabytes of a video file

Can there be a reliable answer? No. As with almost everything is video. The real answer is: It depends. With mp4, the moov must be at the beginning, AND the mdat must properly interleave tracks. For ...
m3u8's user avatar
  • 31
1 vote

Is it possible to embed a thumbnail in a .mkv file?

I was also going down this rabbit hole and found that there's an option -attach filename that's more specific to mkv files. It's at the end of the "Main Options" section of the manual: https:...
Samuel Powell's user avatar
1 vote

ffmpeg : Copy all the streams (including cover art) except the first video stream from one MP4 file to another

As someone already replied, -map 0 is used to grab everything from the first given input, in your case -i toto1.mp4. To achieve what you want you can remove a specific stream this way (notice the - ...
manero's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible