[FFmpeg-user] Any better documentation?
james.darnley at gmail.com
Tue Aug 5 11:01:01 CEST 2014
On 2014-08-05 08:48, Stephen Ho wrote:
> I did this command ffmpeg -i abc.mp4 -f hevc abc.avi got my file size
> to 5% of the original, and the resolution is really bad and no sound.
> Then I did ffmpeg -i abc.mp4 -f h264 abc.avi and the file size is 45%, the
> video resolution is great (like the input file), but still no sound.
What do you expect to happen when you ask ffmpeg to create a raw video
stream? -f controls the file format not the video codec.
If you can't handle ffmpeg's own help, accessible through -h, try
reading them online here: http://ffmpeg.org/documentation.html
My suggestion for a good quality encode:
ffmpeg -i INPUT -vcodec libx264 -preset medium -crf 21 -threads 0 OUTPUT
I also wonder why you are wanting to re-encode an MP4 file. I doubt you
will make it that much smaller and keep decent quality seeing the rest
of your requirements.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 683 bytes
Desc: OpenPGP digital signature
More information about the ffmpeg-user