Project

General

Profile

Stuttering live streams with Ffmpeg 4.1.1

Added by M. Bergmann almost 6 years ago

Within TVHeadend I added an 'IPTV automatic'-network to watch online live streams.
A few days ago I updated ffmpeg to version 4.1.1 (Ubuntu 16.04 LTS, ppa from Jonathan) and since then the streams are stuttering and sometimes even are freezing.
This does not appear when I input the link of the stream directly into the VLC player, so I imagine it is related to the ffmpeg-update.

Is this a known issue?
How do I downgrade using the JonathonF-ppa ?


Replies (6)

RE: Stuttering live streams with Ffmpeg 4.1.1 - Added by Njuskalo Njusko almost 6 years ago

I had similar experience (also ubuntu 16.04 LTS) so I downgraded to ffmpeg to 3.4.4. It would sometimes completely freeze my Rpi2 with Libreelec / Kodi / PVR HTS client that it had to be power cycled.

I removed the ppa and ffmpeg 4.*

sudo apt-get install ppa-purge && sudo ppa-purge ppa:jonathonf/ffmpeg-4

I added the ppa for ffmpeg 3.* and updated the stock ffmpeg

sudo add-apt-repository ppa:jonathonf/ffmpeg-3
sudo apt-get update

After a couple of hours of testing with various stream sources it seems that the stuttering and freezing has gone.

Hope this helps

RE: Stuttering live streams with Ffmpeg 4.1.1 - Added by saen acro almost 6 years ago

TVH not use external FFMPEG, there is a build-in one.

RE: Stuttering live streams with Ffmpeg 4.1.1 - Added by Njuskalo Njusko almost 6 years ago

Forgot to mention that I'm using ffmpeg pipe muxes hence the external ffmpeg binary version makes the difference in my case.

RE: Stuttering live streams with Ffmpeg 4.1.1 - Added by M. Bergmann almost 6 years ago

Yes, that's the point:
with the Automatic IPTV Network type and a M3U playlist containing pre-defined streams, I am using the external ffmpeg version, which doesn't work.
Selecting a normal IPTV network and entering the URL for the stream in the URL box, works without problems.

RE: Stuttering live streams with Ffmpeg 4.1.1 - Added by M. Bergmann almost 6 years ago

Njuskalo, yesterday a new version was published by JonathanF.
First tests ran successfully here, could you also test it?

RE: Stuttering live streams with Ffmpeg 4.1.1 - Added by Njuskalo Njusko almost 6 years ago

I tested it last night, not a single problem.

    (1-6/6)