[MPlayer-users] Trouble playing UDP multicast stream in mplayer
Prabashwara Seneviratne
prabash.s at outlook.com
Tue Dec 2 13:22:55 CET 2014
Thanks for the reply @reimar
I followed your suggestions and installed the latest svn mplayer and updated my distro (xubuntu 14.04) for good measure. It also worth mentioning that i moved to a faster machine as well (Core 2 Duo 2.8ghz, 2GB DDR2, Nvidia GTS 450)
I tried using the ffmpeg://udp:// command instead and it resulted in this
bash at Bash-C2D:~/peo$ mplayer ffmpeg://udp://226.11.3.77:6000
MPlayer SVN-r37329-4.8 (C) 2000-2014 MPlayer Team
Playing ffmpeg://udp://226.11.3.77:6000.
libavformat version 56.15.101 (internal)
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
[udp @ 0xb7480e20]Part of datagram lost due to insufficient buffer size
[udp @ 0xb7480e20]Part of datagram lost due to insufficient buffer size
[udp @ 0xb7480e20]Part of datagram lost due to insufficient buffer size
[udp @ 0xb7480e20]Part of datagram lost due to insufficient buffer size
.
.
and while playback does eventually start, it is significantly worse than before (has green blocks as well now, instead of just glitches)
trying this command, also resulted in no avail (playback does not even start)
bash at Bash-C2D:~/peo$ mplayer -cache 8192 ffmpeg://udp://226.11.3.77:6000
MPlayer SVN-r37329-4.8 (C) 2000-2014 MPlayer Team
Playing ffmpeg://udp://226.11.3.77:6000.
libavformat version 56.15.101 (internal)
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Cache fill: 0.00% (0 bytes)
[udp @ 0xb7413e20]Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option
using the same command that i used before, with a bigger cache (mplayer --cache 8192 udp://226.11.3.77:6000) the playback was slightly better(i.e not as many artifacts), but still not perfect (perhaps due to the faster machine)
I tried changing the value of the udp_rmem_min value (using sudo sysctl -w net.ipv4.udp_rmem_min=8192) from its default of 4096 to 8192 and even 8388608 but still there were no improvements (in any instance above) and the last percentage value in mplayer remained above 500% when using the ffmpeg://udp:// command and around 17% when using just udp:// command
Any suggestions?
Thanks again
More information about the MPlayer-users
mailing list