Jan 5, 2016

0 Convert mp3 using ffmpeg and retain ID3 tags











Convert mp3 using ffmpeg and retain all ID3 tags

 1. Copy ffmpeg.exe in „C:\Windows\System32

 2. Create *.bat script , and copy this code :

@echo off
:next
if "%~1" == "" goto done
ffmpeg -i "%~1" -y -map_metadata 0 -id3v2_version 3 -write_id3v1 1 -codec:a libmp3lame -ab 160k "%~1.mp3"
del "%~1"
shift
goto next
:done
exit

3. Now you can drag and drop your mp3 on this this icon and ffmpeg will start encoding.
    ! You can Drag&Drop up to ~85 mp3's at once.

4. Please pay attention , that source file will be deleted after encoding.
    To avoid deletion , remove line with "del "%~1""



0 comments :

Post a Comment

Comment: