На 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

-- 
Чтв Мар 15 10:20:41 KRAT 2007
Thu Mar 15 03:20:41 UTC 2007
----------------------------------
Visit my home page http://www.akhil.nm.ru
(Last update at 10th Mar 21:07)
----------------------------------
jabber: [EMAIL PROTECTED]
ICQ: 192572572
----------------------------------
Позволь эмоциям быть твоей энергией на пути в бесконечность.
Ахметгалеев Ильдар aka AkhIL
----------------------------------
Uname: Linux artstation 2.6.19-gentoo-r5 #1 Thu Mar 1 06:48:18 KRAT
2007 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux Uptime:
10:20:41 up 12:37, 6 users, load average: 0.08, 0.37, 0.89

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to