user-1: 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? 

user1871: Use
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


-1: <p>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.</p>

<p>¿Anyone know why? </p>
 1871: <p>Use</p>

<pre><code>ffmpeg -i 1.mpg -c:v libx264 -c:a ac3 -b:a 192k 1.mov
</code></pre>

<p>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'.</p>

<p>To convert only video, and strip out audio, use</p>

<pre><code>ffmpeg -i 1.mpg -c:v libx264 -an 1.mov
</code></pre>
