util:multimedia:ffmpeg
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
util:multimedia:ffmpeg [2015/04/21 02:27] – external edit 127.0.0.1 | util:multimedia:ffmpeg [2024/02/20 10:38] (current) – Added section about MP3 encoding phil | ||
---|---|---|---|
Line 51: | Line 51: | ||
* scale to yres of 480, keeping aspect ratio (-1) | * scale to yres of 480, keeping aspect ratio (-1) | ||
* drop audio input (-an) | * drop audio input (-an) | ||
+ | |||
+ | ===== Concatenating Videos ===== | ||
+ | |||
+ | A quick and easy way to concat videos without re-encoding is to use the | ||
+ | '' | ||
+ | |||
+ | $ cat mylist.txt | ||
+ | file '/ | ||
+ | file '/ | ||
+ | file '/ | ||
+ | | ||
+ | $ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4 | ||
+ | |||
+ | ===== Encoding MP3s ===== | ||
+ | |||
+ | While this is about transcoding from FLAC to MP3, the same command should do | ||
+ | for about any supported source format: | ||
+ | |||
+ | ffmpeg -i input.flac -q:a 0 -map a output.mp3 | ||
+ | |||
+ | By default, ffmpeg will write an ID3 version 2.4 section based on FLAC tags. | ||
+ | Though since hardly any ID3-related tool seems to support them, it is advisable | ||
+ | to pass '' | ||
+ | compatibility, | ||
+ | |||
+ | ===== Links ===== | ||
+ | |||
+ | [[https:// | ||
util/multimedia/ffmpeg.1429583220.txt.gz · Last modified: 2015/04/21 02:27 by 127.0.0.1