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 [2025/11/08 21:40] – add Flac to mp3 conversion antisawiki:ffmpeg_commands [2026/03/21 09:58] (current) – add m4a to mp3 conversion antisa
Line 18: Line 18:
 ===== Flac to mp3 conversion ===== ===== Flac to mp3 conversion =====
   find . -name "*.flac" -exec ffmpeg -i {} -ab 160k -map_metadata 0 -id3v2_version 3 {}.mp3 \;   find . -name "*.flac" -exec ffmpeg -i {} -ab 160k -map_metadata 0 -id3v2_version 3 {}.mp3 \;
 +
 +===== m4a to mp3 conversion =====
 +  find . -name "*.m4a" -exec ffmpeg -i {} -c:v copy -c:a libmp3lame -q:a 4 {}.mp3 \;
  
 ====== Tested on ====== ====== Tested on ======
Line 28: Line 31:
   * https://superuser.com/questions/377343/cut-part-from-video-file-from-start-position-to-end-position-with-ffmpeg   * https://superuser.com/questions/377343/cut-part-from-video-file-from-start-position-to-end-position-with-ffmpeg
   * https://superuser.com/questions/590201/add-audio-to-video-using-ffmpeg   * https://superuser.com/questions/590201/add-audio-to-video-using-ffmpeg
 +  * https://superuser.com/questions/704493/ffmpeg-convert-m4a-to-mp3-without-significant-loss
wiki/ffmpeg_commands.txt · 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