[FFmpeg-user] translate rtp to http

Reuben Martin reuben.m at gmail.com
Wed Jun 1 02:21:54 CEST 2016


On Tuesday, May 31, 2016 4:02:37 PM CDT the serial top-poster juan carlos Rebate wrote:
> I don't do top posting
> the encoder is not shit please do not insult, the problem is that FFmpeg
> does not work well
> 

On my computer:

RTP source -
ffmpeg -re -f lavfi -i "testsrc=size=720x576:sar=16/11:rate=25,format=yuv420p" -f lavfi -i "sine=f=440:b=2:r=48000" -c:v libx264 -g 25 -crf 20 -profile:v high -preset:v fast -c:a mp2 -ac 2 -ab 192k -f rtp_mpegts rtp://239.0.0.111:8208/?ttl=2

HTTP transcoder -
ffmpeg -i rtp://239.0.0.111:8208 -c:v libvpx -crf 20 -c:a libopus -f webm -listen 1 http://localhost:80

Playout -
ffplay http://localhost:80

Ran for half an hour without issue. So my assement stands. Either
your RTP encoder is crap, or your transcoder can't keep up.

And stop top posting.

˙sᴉɥʇ ǝʞᴉl sʇsod-doʇ ɹnoʎ oʇ ƃuᴉpuodsǝɹ ʇɹɐʇs llᴉʍ ʎpoqʎɹǝʌǝ ɹO

-Reuben


More information about the ffmpeg-user mailing list