08.02.2009 01:28
Прошу совета у спецов по конвертации видео.
У меня получились файлы .mpg с такими данными. - не слишком хорошей картинкой но большого размера :
ограничение на заливку на vimeo - 1гиг, в общем хотелось бы уменьшить размер... могу порезать mpgtx - но мне кажется нерациональным заливать файл такого большого размера не слишком хорошего качества...
Согласно рекомендациям с vimeo - конверчу так :

что получится - пока даже и не знаю - конверт занимает много времени. Посоветуйте плиз оптимальный вариант... Или только экспериментами можно набить приемлемый и по качеству и по размеру вариант ?
Рекомендации с vimeo :
У меня получились файлы .mpg с такими данными. - не слишком хорошей картинкой но большого размера :
dik@storm:~/barcamp$ ls -l ne-krizis.mpg
-rwxr-xr-x 1 dik dik 1564409856 Фев 7 16:03 ne-krizis.mpg
dik@storm:~/barcamp$ mpgtx -i ne-krizis.mpg
warning: couldn't find any valid system header. I'm continuing anyway
ne-krizis.mpg
Mpeg 2 Program Stream File [Video/Audio]
Muxrate : 10.08 Mbps
Estimated Duration: 33:02.92s
Checking all time stamps (This may take a while.) ...
Time stamps jumped from 71776.029711 to 51.491789 at position 38a3800
---------------------------------------------
Time stamps jumped from 41013.754922 to 1305.837156 at position 5c21d800
Time line is interupted at 22 times.
That means at these points the time stamp is earlier than the previous one.
You may have problems in joining and splitting this file, sorry.
Aspect ratio 4/3 (TV)
Interlaced, chroma format: 4:2:0
Video Format: PAL
Size [720 x 576] 25.00 fps 9.10 Mbps
Audio : Mpeg 2 layer 1
112 kbps 24000 Hz
Stereo, Emphasis CCITT J 17
dik@storm:~/barcamp$ограничение на заливку на vimeo - 1гиг, в общем хотелось бы уменьшить размер... могу порезать mpgtx - но мне кажется нерациональным заливать файл такого большого размера не слишком хорошего качества...
Согласно рекомендациям с vimeo - конверчу так :
ffmpeg -i \"/home/dik/barcamp/ne-krizis.mpg\" -vcodec libx264 -s 720x576 -b 1800 -aspect 4:3 -acodec libfaac -ab 128k -ar 44100 \"/home/dik/ne-krizis.mpg\"
что получится - пока даже и не знаю - конверт занимает много времени. Посоветуйте плиз оптимальный вариант... Или только экспериментами можно набить приемлемый и по качеству и по размеру вариант ?
Рекомендации с vimeo :
Help / Compression
Okay, we’re going to be honest with you: there’s no way we can make exporting/compression guides for every kind of video software on the market. It’s just overwhelming! However, we do want to give you some guidelines for compressing your videos for Vimeo, so look over these tips, find the corresponding settings in your software, and you should be able to make it work for you.
Note: Sometimes these settings are in ‘Advanced’ or ‘Options’ when exporting.
*
Codec
Choose H.264 for the video codec. Choose AAC for the audio codec.
*
Frame rate
This is usually 29.97 for USA/Japan/Canada, while in Europe and rest of the world it's usually 25. If there is an option that says \"current\" just go with that. Please note that Vimeo converts all HD videos only up to 25 frames per second in order to optimize playback performance.
*
Keyframes
Every 30 frames. This is basically how often the compressor references your uncompressed video.
*
Data rate
1800 kbits/sec for standard definition 4:3 video , 2500 kbits/sec for widescreen DV, or 5000 kbits/sec for high definition. Making these numbers higher will increase both quality and size.
*
Size
640x480 for standard definition 4:3 video, 872x480 for widescreen DV, or 1280x720 for high definition. It is also best to export 1920x1080 or 1440x1080 video as 1280x720 too.
*
Deinterlace
Yes. If you do not deinterlace, you will often get weird-looking horizontal lines in your video.
*
Sound sample rate
44.100 kHz
*
Audio quality
You want audio with a bit rate of 128 kbps. You can set your audio to really good quality without increasing file size too much.