rescale_video
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| rescale_video [2017/08/17 18:11] – walkeradmin | rescale_video [2017/08/17 18:14] (current) – walkeradmin | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ffmpeg -i input.mov -vf scale=320: | ffmpeg -i input.mov -vf scale=320: | ||
| \\ | \\ | ||
| + | |||
| + | ---- | ||
| + | You can also rescale without specifying the exact aspect ratio, so here we have specified the width, and the height will be worked out automatically from the original aspect ratio. | ||
| + | \\ | ||
| + | ffmpeg -i input.mp4 -vf scale=320: | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | To transcode and rescale in one go, you can use the following example: | ||
| + | \\ | ||
| + | ffmpeg -i source.mov -vcodec h264 -b:v 50M -vf scale=960: | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
rescale_video.1502993510.txt.gz · Last modified: (external edit)
