On Tue, Nov 10, 2009 at 12:21 AM, Mehul Ved <[email protected]> wrote:
> 2009/11/9 Mallikarjun <[email protected]>: > > On Mon, Nov 9, 2009 at 11:16 PM, Moz <[email protected]> wrote: > >> mp4 is only a container format, the codec used to encode the video is > what > >> matters, container could be any of the available ones. Perhaps you do > not > >> have the right codecs. Usually mencoder can do all this very well, but > >> ffmpeg is also very good as well. Checkout > http://en.wikipedia.org/wiki/Mp4 > >> for the format. > >> Moz > >> > > > > Oh, Thanks MOZ, > > I had been using ffmpeg all these days, but will give mencoder a try and > let > > you know. > > mencoder is a great program too but I have been successfully using > ffmpeg to convert video files to 3gp. Will be blogging on this quite > soon. > Following command worked for me to convert a file to mp4 > ffmpeg -i inputfile.flv -acodec copy -s 480x320 -r 30 -b 768 -ar 44100 > -ab 64 -y outputfile.mp4 > 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). > -- > ubuntu-in mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-in >
-- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
