Is it possible to transmit a stream during conversion? - FFMPEG

I am wondering if streaming video is possible while the video is being created using conversion.

Any ideas?

+3
source share
2 answers

Assuming your copy of FFmpeg includes something like the rtmpprotocols listed in ffmpeg -protocols, you should do this using a splitvideo filter. The whole command will look something like this:

ffmpeg -i input.mp4 <video options> -filter split rtmp://server[:port][/app] out.mp4
+1
source

make good use of the URL you want to pass (be it udp or rtmp) as the output instead of the output to the file.

For this you will need to use the handset

0
source

Source: https://habr.com/ru/post/1753050/


All Articles