I try to convert a mpeg2 video to mov with codec ac3 but when put ffmpeg -i 1.mpg 1.mov the audio don't convert.
¿Anyone know why?
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It only takes a minute to sign up.Sign up to join this community
ffmpeg -i 1.mpg -c:v libx264 -c:a ac3 -b:a 192k 1.mov
in order to convert to a MOV file containing H.264 video and AC3 audio. I've used 192kb/s as bitrate for the audio and the H.264 encoding will use the defaults of CRF 23 and preset 'medium'.
To convert only video, and strip out audio, use
ffmpeg -i 1.mpg -c:v libx264 -an 1.mov