[FFmpeg-user] ordering of default codec?

bat guano batguano999 at hotmail.com
Wed Aug 1 01:25:56 CEST 2012





> for instance
> $ ffmpeg -i yo.mpg -c:v libx264 -an nul.mp4
> 
> encodes by default to aac.

That command won't choose any audio codec at all.
"-an" means no audio.
;-)

If you're particular about which aac codec is required, why leave it to chance?


For libfdk-aac use a command like this:-
ffmpeg -i yo.mpg -c:v libx264 -c:a libfdk_aac -b:a 128k -ac 2 -ar 44100 nul.mp4
 		 	   		  


More information about the ffmpeg-user mailing list