Lamb
7th June 2008, 19:58
Hi all,
I have been reading these forums for a while, and first of all I have to thank you for all those interesting information I have learnt here! I have to launch a web video hosting platform in the following months, and I would really need your help and advices.
The video sources will be amateur videos. Public aimed is very large, with all kind of computers. My problem is I don’t have a precise idea of CPU required to decode the kind of videos I plan to put online. Videos will be played using Flash. It is probably the worst AVC decoder, so I am looking for the best "quality / decoding speed" ratio, in order to be sure that most users will be able to play these videos.
I’ll keep bitrate low - around 350Kbit/sec - because it might be easier to decode, and because these videos will be streamed (php streaming or RED5, don’t know yet which one is the best option?). I will also scale the videos to a maximum resolution of 512 x 384 (Maybe I should lower it to 448 x 336 because of the low bitrate?) with 30FPS max (guess it will be 25, most of the time). Finally, I am using mencoder with x264 (don’t know if ffmpeg is better?).
1st pass:
/usr/bin/mencoder (…) -ovc x264 -x264encopts bitrate=350:subq=3:frameref=1:me=hex:partitions=all:8x8dct:bframes=3:b_adapt:b_pyramid:weight_b:brdo:bime:threads=auto:analyse=all:pass=1 (…)
2nd pass - Only changes here are “subq=6”, “frameref=5” and “me=umh” in order to optimize encoding speed on my server (this shouldn’t reduce quality at all).
/usr/bin/mencoder (…) -ovc x264 -x264encopts bitrate=350:subq=6:frameref=5:me=umh:partitions=all:8x8dct:bframes=3:b_adapt:b_pyramid:weight_b:brdo:bime:threads=auto:analyse=all:pass=2 (…)
Does the “quality / decoding speed” ratio sounds good to you? Do you think that the largest number of PC/Mac/Linux users will be able to playback that kind of videos? I don’t know if disabling CABAC and using partitions=i4x4,i8x8,p8x8,b8x8 will be necessary?
Thank you in advance for your answers!
I have been reading these forums for a while, and first of all I have to thank you for all those interesting information I have learnt here! I have to launch a web video hosting platform in the following months, and I would really need your help and advices.
The video sources will be amateur videos. Public aimed is very large, with all kind of computers. My problem is I don’t have a precise idea of CPU required to decode the kind of videos I plan to put online. Videos will be played using Flash. It is probably the worst AVC decoder, so I am looking for the best "quality / decoding speed" ratio, in order to be sure that most users will be able to play these videos.
I’ll keep bitrate low - around 350Kbit/sec - because it might be easier to decode, and because these videos will be streamed (php streaming or RED5, don’t know yet which one is the best option?). I will also scale the videos to a maximum resolution of 512 x 384 (Maybe I should lower it to 448 x 336 because of the low bitrate?) with 30FPS max (guess it will be 25, most of the time). Finally, I am using mencoder with x264 (don’t know if ffmpeg is better?).
1st pass:
/usr/bin/mencoder (…) -ovc x264 -x264encopts bitrate=350:subq=3:frameref=1:me=hex:partitions=all:8x8dct:bframes=3:b_adapt:b_pyramid:weight_b:brdo:bime:threads=auto:analyse=all:pass=1 (…)
2nd pass - Only changes here are “subq=6”, “frameref=5” and “me=umh” in order to optimize encoding speed on my server (this shouldn’t reduce quality at all).
/usr/bin/mencoder (…) -ovc x264 -x264encopts bitrate=350:subq=6:frameref=5:me=umh:partitions=all:8x8dct:bframes=3:b_adapt:b_pyramid:weight_b:brdo:bime:threads=auto:analyse=all:pass=2 (…)
Does the “quality / decoding speed” ratio sounds good to you? Do you think that the largest number of PC/Mac/Linux users will be able to playback that kind of videos? I don’t know if disabling CABAC and using partitions=i4x4,i8x8,p8x8,b8x8 will be necessary?
Thank you in advance for your answers!