encoding for web streaming
Posted 18 August 2009 - 02:50 PM
Posted 18 August 2009 - 03:45 PM
I'd work with the h.264 codec, it works pretty well-- they use it for the apple.com/trailers trailers.
There's a preset in Compressor for H.264 called h.264 for apple tv which i think is 720p; looks nice. I also use the preset, h.264 for ipod and iphone for a smaller file size for the downloads of my reel (example : http://adriansierkow...com/demo4_1.mov )
Posted 18 August 2009 - 06:47 PM
All Macs have quicktime, but that's a tiny amount of the internet; other computers are generally somewhat more likely to have Flash than Quicktime. I find that the Quicktime has somewhat clunkier performance in general and Flash tends to handle video more easily - there's less browser lockup before things start playing, and the experience is generally more fluid. Also, although Quicktime has improved massively of late, Flash does support a wider variety of h.264's optional extensions which can improve bitrate-to-quality ratio.
There's probably no reason to consider anything other than h.264. It's possible to create files that are playable with both quicktime and flash, which would maximise the playability of the thing, although it's just as easy to create two files and avoid the messing about. It's somewhat less easy to create a web page which will automatically evaluate the availability of either plugin and serve the appropriate content, but you can always have a "try the other option" button.
Even though a lot of internet connections claim lots and lots of megabits, it's often not a good idea to go above about 750kpbs or 1Mbps without having the user specifically hit a "high bitrate please" button. It's possible to make most SD or sub-SD video look somewhat acceptable at these rates, with careful encoding. HD needs, well, several megabits.
Posted 20 August 2009 - 02:09 PM
Posted 20 August 2009 - 04:40 PM
ffmpeg -deinterlace -i inputfile.mov -acodec libfaac -ab 128k -vcodec libx264 -s 640x480 -aspect 4:3 -vpre libx264-hq.ffpreset -crf 20 -threads 0 outputfile.mp4
Adjust resolution, deinterlacing and aspect ratio to suit; decrease CRF factor to increase bitrate.