User Tools

Site Tools


wiki:ffmpeg_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:ffmpeg_commands [2024/02/29 10:38] – add Add sound to video antisawiki:ffmpeg_commands [2025/11/08 21:40] (current) – add Flac to mp3 conversion antisa
Line 14: Line 14:
 ===== Add sound to video ===== ===== Add sound to video =====
   ffmpeg -i input.mp4 -i input.mp3 -c copy -map 0:v:0 -map 1:a:0 output.mp4   ffmpeg -i input.mp4 -i input.mp3 -c copy -map 0:v:0 -map 1:a:0 output.mp4
 +
 +
 +===== Flac to mp3 conversion =====
 +  find . -name "*.flac" -exec ffmpeg -i {} -ab 160k -map_metadata 0 -id3v2_version 3 {}.mp3 \;
  
 ====== Tested on ====== ====== Tested on ======
wiki/ffmpeg_commands.1709203123.txt.gz · Last modified: by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki