I came across on the Vegas Video forum.  Could be helpful:


http://www.sonymediasoftware.com/forums/ShowMessage.asp?MessageID=510861&Replies=2


On 3/15/07, IL'dar AKHmetgaleev <[EMAIL PROTECTED]> wrote:

На Thu, 15 Mar 2007 02:24:02 +0100
Jan Luo <[EMAIL PROTECTED]> записано:

> hi,
>
> want to render a video for you tube upload.
> they recommand this:
> >
> >     * MPEG4 (Divx, Xvid) format
> >     * 320x240 resolution
> >     * MP3 audio
> >     * 30 frames per second
> >
> has anyone tried this before & some shell commands handy?
>

I have some experience with vision.rambler.ru (same russian service).
I am using h264 video and aac audio encoded to mp4 container.

You can do this with ffmpeg with two passes

$  ffmpeg -i input_file -me full -s 640x480 -vcodec h264 -pass 1 -b
640 -an  -y output_file.mp4
$  ffmpeg -i input_file -me full -s 640x480 -vcodec h264 -pass 2 -ar
22050 -acodec aac -ab 64  -y output_file.mp4

-s video resolution
-ar - audio sampling rate
-b - video bit rate
-ab - audio bit rate



--
Mark Stavar

Swan Dancer Productions

Email:  [EMAIL PROTECTED]
Mobile: 0410 638 671

http://www.the-writers-retreat.com/

Reply via email to