Ffmpeg¶
Show video details¶
Extracting video information of a video file using ffmpeg
Downsample Video¶
by scale¶
by frame per second¶
to target size¶
Add Audio to video¶
How to add a new audio (not mixing) into a video using ffmpeg?
Remove Audio¶
(-c:v copy says to copy instead of using a codec.)
Extract Audio from video¶
Join mp4 video files¶
Concat multiple (self-generated) videos using ffmpeg
Cut mp4 into pieces¶
Rotate Video¶
For the transpose parameter you can pass:
0 = 90CounterCLockwise and Vertical Flip (default) 1 = 90Clockwise 2 = 90CounterClockwise 3 = 90Clockwise and Vertical Flip
And to flip it horizontally ffmpeg documentation:
For example to horizontally flip the video in input with ffmpeg: