# ffmpeg to wowza

**URL:** <https://community.wowza.com/t/ffmpeg-to-wowza/36551>\
**Category:** Wowza Streaming Engine\
**Created:** [October 10, 2014, 3:02pm UTC](https://community.wowza.com/t/ffmpeg-to-wowza/36551 "2014-10-10T15:02:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ars\_M](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Ars\_M](https://community.wowza.com/u/Ars_M)\
**Post date:** [October 10, 2014, 3:02pm UTC](https://community.wowza.com/t/ffmpeg-to-wowza/36551/1 "2014-10-10T15:02:52Z")

</div>

Hello

I have source stream:

[FORMAT]

filename=http://SourceIP:8042/ru-perviy

nb\_streams=2

nb\_programs=1

format\_name=mpegts

format\_long\_name=MPEG-TS (MPEG-2 Transport Stream)

start\_time=83166.612844

duration=N/A

size=N/A

bit\_rate=59625

probe\_score=100

[/FORMAT]

I need to take this stream: “[http://SourceIP:8042/ru-perviy](http://SourceIP:8042/ru-perviy)” with ffmpeg and send to wowza.

Actually i can do that, like:

ffmpeg -i [http://SourceIP:8042/9275617894-ru-perviy-hd](http://SourceIP:8042/9275617894-ru-perviy-hd) -preset ultrafast -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 96k -vcodec libx264 -b:v 1900k -maxrate 2000k -bufsize 4000k -g 60 -f flv rtmp://wowza/live/ru-perviy

Please advice right command for less CPU usage. My output stream must have max. bitrate 2000Kbit/s.

I think right way is keeping video stream and only transrate without transcoding.

Please help

Thank You

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [October 10, 2014, 10:49pm UTC](https://community.wowza.com/t/ffmpeg-to-wowza/36551/2 "2014-10-10T22:49:23Z")

</div>

Hi,

You’re command already seems quite efficient. The ultrafast preset is less intensive than other settings as it offers lower compression.

If you want to alter the bitrate then you must transcode (transrate is just a term for reducing the bitrate) but in order to do it you must transcode.

Daren
