Advertisement
kazoda

mp4tomp3

Apr 14th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. for f in $(ls -1 *.mp4); do ff=$(echo $f | sed -e 's/「/_/g' -e 's/」//g');mv $f $ff; done
  2. for f in $(ls -1 *.mp4);do ffmpeg -i "${f}" -codec:a libmp3lame -qscale:a 4 -id3v2_version 3 -metadata artist="artist name" "${f%.mp4}".mp3;done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement