From Dave-Wiki
Jump to navigation Jump to search

Convert Video Format

Set bitrate same as audio bitrate from original file

 ffmpeg -i input.m4v -ab 192000 output.mp4

Convert Video to Audio-only

 ffmpeg -i input.mp4 -f mp3 -ab 192000 -vn output.mp3
output file extension
(I don't think is required, as ffmpeg will otherwise use the file extension to determine format.)
specifies audio bitrate
specifies no video.