Wowza Community

multi-bitrate streaming encoding

What program/commands can I use on a linux dedicated server or amazon e2 to convert a video to mp4 h264 format that is compatible for desktop, iPhone, android and blackberry?

Take a look at these FFmpeg examples:

https://www.wowza.com/docs/how-to-encode-video-on-demand-content

https://www.wowza.com/docs/how-to-use-ffmpeg-with-wowza-media-server-mpeg-ts

Richard

Actually, I meant to point to these:

https://www.wowza.com/docs/how-to-encode-video-on-demand-content

Richard

The 1st one should work in all, and the 2nd one probably will too. Encodes with Main profile, higher bitrate and larger frame sizes are good for desktop streaming but might not work in some devices./

Richard

I don’t have a simple answer, except to use lower complexity options like Baseline profile for widest coverage. And use AAC audio, because some devices do not support mp3 or not well. For vod we recommend Expression 4 Encoder for multi-bitrate encoding because of its key frame alignment capability. All the encodes in a set have to be the same profile when you encode with Expression 4, so choose Baseline.

Richard

It’s a different tool, but I only have the same answer, choose Baseline for wide coverage.

Richard

You are asking about the widest coverage, working on the most devices, so lowest common denominator, what works for all is simplified encoding parameters (eg. baseline profile) and aac audio. Just general advice.

Richard

So…

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 320x180 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre ipod320 -r 24 -g 48 -b 200000 -threads 64 bigbuckbunnyiphone_320.mov

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 640x360 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre ipod640 -r 24 -g 48 -b 520000 -threads 64 bigbuckbunnyiphone_640.mov

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 320x180 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre main -r 24 -g 48 -b 270000 -threads 64 bigbuckbunny_400.mov

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 480x270 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre main -r 24 -g 48 -b 570000 -threads 64 bigbuckbunny_700.mov

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 720x406 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre main -r 24 -g 48 -b 1000000 -threads 64 bigbuckbunny_1100.mov

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 1024x576 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre main -r 24 -g 48 -b 1200000 -threads 64 bigbuckbunny_1300.mov

ffmpeg -i big_buck_bunny_1080p_stereo.avi -s 1080x608 -y -strict experimental -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre main -r 24 -g 48 -b 1400000 -threads 64 bigbuckbunny_1500.mov

will work on desktop, iPhone, android and blackberry??

hmm… then how can I convert a video to multi-bitrate streaming encoding for all devices…I am using linux…

On http://www.encoding.com/using_wowza_media_server if I use Wowza Multi-bitrate Preset for Adaptive Bitrate output will it be compatible with most desktop, iPhone, android and blackberry ?

for multi-bitrate encoding you want me to change wowza_multibitrate to main . I thought the whole deal with multi-bitrate video is to adjust according to the speed and device the viewer have