Answer the question
In order to leave comments, you need to log in
How to segment the incoming video stream?
How to segment an incoming 1920x1080 video stream into 9 video streams, the format of each of them is 640x360. Streaming is carried out by using a streaming server implemented on the basis of linux + nginx + rtmp-module. Those. in other words, you need to turn a large incoming stream into 9 outgoing streams, as if cutting it with a 3 by 3 grid
Answer the question
In order to leave comments, you need to log in
I wonder what problem you are solving?
You can do this (example commands), the idea is to run 9 ffmpeg and stream to the outgoing rtmp-module:
ffmpeg -i rtmp://input_1920 -filter_complex "[0:v]crop=640:360:0:0" -f flv -ar 44100 -y rtmp://out_1
ffmpeg -i rtmp://input_1920 -filter_complex "[0:v]crop=640:360:640:0" -f flv -ar 44100 -y rtmp://out_2
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question