View Single Post
Old 06-30-2009, 03:27 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by harvey View Post
Code:
$ ffmpeg -i video.mpg -ar 22050 video.mp4 -t 90
will convert video.mpg to a 22050 bit rate mp4 in 90 seconds clips, all done in your server. So, painless and efortlessly you'll have all your videos converted in matter of hours, just save them to your mobile folder/site and you're set
Don't forget to set your codec for the video. Implying mpeg4 is not always that great, since there are several different codecs.

Code:
ffmpeg -i video.mpg  -vcodec mpeg4 -ar 22050 video.mp4 -t 90
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote