[ubuntu-in] FFMPEG Video to Mp4, Mp4 to video/audio problem
Mehul Ved
mehul.n.ved at gmail.com
Tue Nov 10 03:07:29 GMT 2009
2009/11/10 Mallikarjun <mallik.v.arjun at gmail.com>:
> On Tue, Nov 10, 2009 at 12:21 AM, Mehul Ved <mehul.n.ved at gmail.com> wrote:
> This works, but how do you improve the quality of video & how to convert mp4
> to other format.
> Also if you could explain the parameters, i will be thankful
>
>>
>> Remember to put -acodec copy otherwise ffmpeg uses aac which will not
>> give you any sound. You can play around with size(-s), frame rate(-r),
>> bitrate(-b), audio rate(-ar) and audio bitrate(-ab).
Parameters are explained right below your reply.
To get a better qualilty you can look at the following:
-s vga(640x480) or svga(800x600)
-ab 128 to 320 depending on the audio bitrate of original video, the
audio quality you want for the output file and the size consideration
for the output file.
Of course, the original video should be of good quality else it won't
be of much use.
You can get much more information on the options on this page[1]
To convert mp4 to other format you can look at -vcodec[2] option to
specify the video codec and -acodec[3] to specify the audio codec.
Also look at the output of ffmpeg -formats
1. http://ffmpeg.org/ffmpeg-doc.html
2. http://ffmpeg.org/general.html#SEC6
3. http://ffmpeg.org/general.html#SEC7
More information about the ubuntu-in
mailing list