# multi-bitrate streaming encoding

**URL:** https://community.wowza.com/t/multi-bitrate-streaming-encoding/706
**Category:** Wowza Streaming Engine
**Created:** [May 21, 2012, 7:57am UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706 "2012-05-21T07:57:39Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [May 21, 2012, 7:57am UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/1 "2012-05-21T07:57:39Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 21, 2012, 7:18pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/2 "2012-05-21T19:18:00Z")

</div>

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-encode-video-on-demand-content)

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

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 21, 2012, 7:23pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/3 "2012-05-21T19:23:09Z")

</div>

Actually, I meant to point to these:

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

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 21, 2012, 9:21pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/4 "2012-05-21T21:21:19Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 21, 2012, 10:17pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/5 "2012-05-21T22:17:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 22, 2012, 10:04pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/6 "2012-05-22T22:04:56Z")

</div>

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

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 22, 2012, 10:58pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/7 "2012-05-22T22:58:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Welby\_Obeng](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@Welby\_Obeng](https://community.wowza.com/u/Welby_Obeng)
#### Post date: [May 21, 2012, 12:21pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/8 "2012-05-21T12:21:24Z")

</div>

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??

---

<div class="post-metadata">

### Author: ![Welby\_Obeng](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@Welby\_Obeng](https://community.wowza.com/u/Welby_Obeng)
#### Post date: [May 21, 2012, 2:00pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/9 "2012-05-21T14:00:44Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Welby\_Obeng](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@Welby\_Obeng](https://community.wowza.com/u/Welby_Obeng)
#### Post date: [May 22, 2012, 1:58pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/10 "2012-05-22T13:58:04Z")

</div>

On [http://www.encoding.com/using\_wowza\_media\_server](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 ?

---

<div class="post-metadata">

### Author: ![Welby\_Obeng](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@Welby\_Obeng](https://community.wowza.com/u/Welby_Obeng)
#### Post date: [May 22, 2012, 2:51pm UTC](https://community.wowza.com/t/multi-bitrate-streaming-encoding/706/11 "2012-05-22T14:51:28Z")

</div>

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
