Input at command line:
$ ffmpeg -i file.wmv -vn new.mp3
Notes:
- It actually works for many types of video files as well
- You can remove the -vn option and use it on different kinds of audio files to convert to mp3 files
$ ffmpeg -i file.wmv -vn new.mp3
$ ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts new1.ts
$ ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts new2.ts
$ ffmpeg -i "concat:new1.ts|new2.ts" -c copy -bsf:a aac_adtstoasc output.mp4