I'm trying to figure out how to convert some MPEG2 files to H.264 MPEG4 with ffmpeg. I read the documentation, and it seems like these (and a few other things) should work:
Code:
ffmpeg -i infile.mpg outfile.h264
ffmpeg -i infile.mpg -vcodec h264 outfile.mpg
But it doesn't. The error message is
Code:
Unsupported codec for output stream #0.0
or
Code:
Unknown encoder 'h264'
The documentation says that h264 is supported, so I must be doing something wrong. What am I doing wrong? Do I have to install the h.264 encoders manually?