[FFmpeg-user] multiple srt outputs with tee

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Oct 18 09:39:49 EEST 2022



> Am 17.10.2022 um 22:52 schrieb info at mbsoft.biz:
> 
> I would use the tee filter to output 3 srt streams.


> ffmpeg.exe -report -f gdigrab -framerate 25 -offset_x 1063 -offset_y 147
> -video_size 854x480 -draw_mouse 0 -show_region 0 -i desktop -filter:v
> "scale=-2:720" -vcodec libx264 -x264-params
> "nal-hrd=cbr:force-cfr=1:keyint=250" -preset medium -profile high -pix_fmt
> yuv420p -tune zerolatency -b:v 1000k -bufsize 1200k -f tee -map 0:v
> "[-f=mpegts]srt://0.0.0.0:9866?pkt_size=1316&mode=listener/|[-f=mpegts]srt:/
> /0.0.0.0:9867?pkt_size=1316&mode=listener/|[-f=mpegts]srt://0.0.0.0:9868?pkt
> _size=1316&mode=listener/"

Please look again at the examples:
http://ffmpeg.org/ffmpeg-formats.html#Examples-12
You appear to use too many dashes.

Carl Eugen


More information about the ffmpeg-user mailing list