User Tools

Site Tools


terminal:mp3toflac

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
terminal:mp3toflac [2024/08/18 02:52] meloterminal:mp3toflac [2024/08/20 16:37] (current) melo
Line 1: Line 1:
-===== mp3 to flac =====+===== flac to mp3 =====
  
 one off: one off:
Line 5: Line 5:
  
 bash loop: bash loop:
-<code>for f in *.flac; do ffmpeg -i "$f" -ab 320k -map_metadata 0 -id3v2_version 3 "$f.mp3"; done</code>+<code>for f in *.flac; do ffmpeg -i "$f" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.*}.mp3"; done</code>
terminal/mp3toflac.1723949562.txt.gz · Last modified: 2024/08/18 02:52 by melo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki