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.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to