ffmpeg -i mpeg-4videofilename -vn -ac 2 -ar 44100 -ab 320k -f mp3 output.mp3 # Explanation of the command line options: # # -i input file # -vn no video # -ac audio channel # -ar audio sample rate # -ab audio bitrate # -f output format
ffmpeg -i sample.mp4 -ss 00:00:00 -t 00:33:00.0 -q:a 0 -map a sample.mp3 # -ss : 시작시간 # -t : 플레이 시간