rofafor / vdr-plugin-iptv

IPTV plugin for the Video Disk Recorder (VDR)
http://www.saunalahti.fi/~rahrenbe/vdr/iptv/
GNU General Public License v2.0
6 stars 7 forks source link

EXT stream issues with Xenial #5

Open mohahn opened 6 years ago

mohahn commented 6 years ago

I'm using some 3rd party HLS streams (for example http://62.113.210.250/medienasa-live/mdf1_high/playlist.m3u8) with mostly standard configuration of VDR and setup based on your readme. I've setup the complete DVR backend as headless Docker container. Regardless of using distribution packages of VDR or PPA packages (for example from Frodo) or compiling it on my own, regardless of using latest VDR 2.4.0 or last stable 2.2.0... When setting up VDR on Ubuntu Trusty 14.04 all is fine. The above HLS stream can be played via vlc2iptv without any issues on a remote machine.

But when switching to Ubuntu Xenial with exactly the same VDR config, there are massive interruptions and artefacts when playing the stream on my remote laptop via VLC. This affects, like I said, distribution packages and self compiled versions as well as V2.4.0 and V2.2.0. I understand that this could not be related to your plugin, but can you reproduce this behavior?

I forgot to mention, that I get a lot of errors like "mpeg2video: rc buffer underflow" when playing this stream if VDR runs on Xenial.

rofafor commented 6 years ago

Sorry ,I can't help. I'm using Gentoo, so these different Ubuntu versions and their software/library versions and kernel settings are total mystery for me. However, you symptoms sounds like networking problems, so I'd start checking the Docker network settings, active firewalls and kernel parameters for IPv4 stack.

mohahn commented 6 years ago

Hm, I always setup Docker containers the same way, so I believe it hasn't to do anything with host system. Because the only difference between "works" and "does not work" is "Ubuntu Trusty" and "Ubuntu Xenial". BTW: same behavior on Ubuntu Bionic. I'm sitting for days now trying to fix this problem, as TVheadend has too many timeshift issues for me.

I've made an interesting observation: When adding "fps=25" to the transcode options of your vlc2iptv script, the stuttering is much more better. For sure, there are some "rc buffer underflow" errors left that occur inside VDR and stuttering and artifacts are not gone, but with this simple option, it's really better for Xenial and above. So, even if you don't use Ubuntu, do you have any further idea?