ffmpeg
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ffmpeg [2022/04/15 11:12] – [Editing] Better croppign example rjt | ffmpeg [2025/07/22 01:10] (current) – [Editing] Rotation rjt | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| Most of the time I just use--- | Most of the time I just use--- | ||
| - | < | + | < |
| ---and it usually works fine leaving it to just use defaults. | ---and it usually works fine leaving it to just use defaults. | ||
| Line 15: | Line 15: | ||
| This gives good results (and a smaller file size) converting MP3 to OGG though: | This gives good results (and a smaller file size) converting MP3 to OGG though: | ||
| - | < | + | < |
| + | |||
| + | Fuck-off those .WEBMs. '' | ||
| + | |||
| + | < | ||
| + | |||
| + | A more compact way is to use '' | ||
| + | |||
| + | < | ||
| + | |||
| + | So if you wanted to copy the video stream and just reencode/ | ||
| + | |||
| + | < | ||
| === Multiple === | === Multiple === | ||
| Line 21: | Line 33: | ||
| For doing a whole directory I use this one-liner I got from Stack Exchange. | For doing a whole directory I use this one-liner I got from Stack Exchange. | ||
| - | < | + | < |
| For converting files for my [[m-u-s-u-c]] blog I also strip out the cover images: '' | For converting files for my [[m-u-s-u-c]] blog I also strip out the cover images: '' | ||
| Line 27: | Line 39: | ||
| < | < | ||
| - | You can use the wildcard '' | + | You can use the wildcard '' |
| < | < | ||
| Line 33: | Line 45: | ||
| If you want to put the new videos into a subdirectory, | If you want to put the new videos into a subdirectory, | ||
| - | < | + | < |
| - | For converting a directory of .FLAC files to .MP3. '' | + | For converting a directory of .FLAC files to .MP3. '' |
| - | < | + | < |
| ==== Editing ==== | ==== Editing ==== | ||
| Line 78: | Line 90: | ||
| === Rotation === | === Rotation === | ||
| - | Rotate 90°. | + | Rotate 90°. This will reencode the video. |
| < | < | ||
| + | |||
| + | To rotate -90° is '' | ||
| + | |||
| + | (The easiest, tidiest way to rotate a phone video is to just edit the metadata with [[exiftool]]) | ||
| === Trimming === | === Trimming === | ||
| Line 130: | Line 146: | ||
| Just had an .AVI file throwing error messages about a busted index. Copying the file seemed to fix it. | Just had an .AVI file throwing error messages about a busted index. Copying the file seemed to fix it. | ||
| < | < | ||
| + | |||
| + | ===== Frontends ===== | ||
| + | |||
| + | * [[https:// | ||
| ===== See Also ===== | ===== See Also ===== | ||
ffmpeg.1649985134.txt.gz · Last modified: 2022/04/15 11:12 by rjt
