[FFmpeg-user] ffmpeg srt to udp

Christian David christian at cdavid.eti.br
Tue Mar 16 14:30:39 EET 2021


Try use srt-live-transmit instead of ffmpeg, will work better.

https://github.com/Haivision/srt/blob/master/docs/srt-live-transmit.md

Best Regards,

Em 16/03/2021 09:27, Javier Fuentes escreveu:
> Good evening
> I need to republish a srt stream unencoded (without a codification) c to
> udp stream, the srt 1.12  and last ffmpeg version has been compiled on
> centos 7.
> ffmpeg - version
> ffmpeg version N-101452-ga7425f7 Copyright (c) 2000-2021 the FFmpeg
> developers
>    built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
>
> My pipe line
> ffmpeg -i "srt://xx.xx.xx.xx:9002?mode=listener" -map 0 -codec copy  -tune
> zerolatency -f mpegts udp://xx.xx.xx.xx:9000?pkt_size=1316
> The output is full of artifacts and is cut off after a few seconds, the bit
> decreases to 0 and is lost, but the ffmpeg keeps sending.
>
> Thanks in advance for your help
> KIng regard
>
>


More information about the ffmpeg-user mailing list