add buffer

Issues involving a Windows version of FFmpeg. Do not post general usage questions here.
Post Reply
coelliale
Posts: 1
Joined: Wed May 17, 2017 7:17 am

add buffer

Post by coelliale » Wed May 17, 2017 7:42 am

Hi,
I'm reading an audio internet stream (radio) and sending to my paging system with:

Code: Select all

ffmpeg.exe -re -i http://www.rds.it:8000/stream -filter_complex aresample=8000,asetnsamples=n=160 -acodec pcm_mulaw -ac 1 -vn -f rtp udp://239.255.255.230:5556
It works like a charm, but when I have some internet congestion, the flow start "jumping". I try to add caching/buffering with different command, but with no changes. I tried with no success:

ffmpeg.exe -rtbufsize 8000k -re -i http://www.rds.it:8000/stream -filter_complex aresample=8000,asetnsamples=n=160 -acodec pcm_mulaw -ac 1 -vn -f rtp udp://239.255.255.230:5556
ffmpeg.exe -re -i http://www.rds.it:8000/stream -filter_complex aresample=8000,asetnsamples=n=160 -acodec pcm_mulaw -bufsize 6000k -audio_buffer_size 30000 -ac 1 -vn -f rtp udp://239.255.255.230:5556
ffmpeg.exe -i http://www.rds.it:8000/stream -filter_complex aresample=8000,asetnsamples=n=160 -acodec pcm_mulaw -ac 1 -vn -f rtp udp://239.255.255.230:5556 -muxpreload 10 -muxdelay 10

do you have any suggestions?
thanks
Alessandro

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest