Converting .mp4 to .264 using FFmpeg

conversionffmpegterminalvideo conversion

I am completely new to FFmpeg and am trying to convert my test.mp4 to (it has to be specifically) a .h264 file.

I have tried the following in Terminal:

ffmpeg -i test.mp4 -c:v libx264 test.h264

but get the following back: command not found

I tried directing it to my desktop as followed:

~/Bureaublad/media$ ./ffmpeg -i test.mp4 -c:v libx264 test.h264

But then got back: No such file or directory

Can someone please help me out?

Best Answer

try this: ffmpeg -i test.mp4 -an -vcodec libx264 -crf 23 test.h264

source: https://ffmpeg.org/pipermail/ffmpeg-user/2012-May/006647.html

Related Question