S
S
sv22042018-03-21 10:35:30
fmpeg
sv2204, 2018-03-21 10:35:30

How to properly run a stream with transcoding via FFmpeg to 3 outputs?

How to properly run a stream with transcoding via FFmpeg to 3 outputs?
Here is an example diagram:

ffmpeg -i video.mp4 -c:v libx264 -s 500x300 -r 25 -vb 300k -profile:v high -preset:v slow -c:a libfdk_aac  -b:a 22k -ac 2 -ar 22050 -f flv \
rtmp://output1 \
rtmp://output2 \
rtmp://output3

That is, the transcoding parameters for all 3 streams are the same, you need to run one process.
How to do it right?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question