ffmpeg to wowza

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” with ffmpeg and send to wowza.

Actually i can do that, like:

ffmpeg -i 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

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