[FFmpeg-user] FFmpeg on live streaming to Android devices

Leonardo Pagotto leonardo.pagotto at gmail.com
Thu Sep 24 16:12:10 EEST 2020


Hello everyone,

I'm working to have UDP live streams sent to Android setopboxes, it has to
be 720p CBR 5Mbps @25fps HEVC. Source is UDP 1080p UDP H264. I've tried
several settings but none of them seems to work, video starts to play then
stops.

My server runs os Ubuntu 18.04 Server Edition and it has 2 Eth adapters and
a GTX-1050TI 4GB GPU, hardware is deeply tested and works very well on
Wowza sending HLS to the same setopboxes; all streams play just fine after
FFmpeg on VLC in my laptop. This is the latest try:

ffmpeg -vsync 0 -hwaccel cuda -c:v h264_cuvid -resize 1280x720 -i 'udp://
230.8.0.4:10008?fifo_size=1000000&overrun_nonfatal=1&localaddr=10.10.71.14'
-c:a copy -c:v hevc_nvenc -preset llhp -profile:v main10 -crf 25 -b:v 3M
-maxrate 3M -bufsize:v 3M -f mpegts 'udp://
239.210.210.4:1234?pkt_size=1316&localaddr=10.10.71.14'

Thanks!

LP


More information about the ffmpeg-user mailing list