IPTV stream is stuttering in the VLC

*nix specific usage questions
Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 17:55

Hey! I'm newcomer here,
so would you kindly forgive if I've chosen the incorrect topic for my question.

So the problem is:
when I put a compressed in my vlc *.ts file (15 frames, 800 video bitrate 192 audio bitrate , it is an audio with the picture of album cover mixed )
into the iptv stream and open the stream in the same vlc application
its playing ok for about quarter-half of the file duration. Then it begins stuttering.
At first only occasional tiny gaps, than gaps appearing frequency is rapidly increasing until the file is unlistenable.
It's not the file corrupted, because after you reconnect to the stream it working smoothly again
The IPTV player under window7 seems to be working good, but i need the VLC under the MINT.
Here is my channels list: http://78.26.164.4/list/USA_Radio.m3u
You may open it and see yourself (check the "FICTION" channel)

I use MINT (as I've already told) and 3.0.9.2 Vetinary VLC build
All the audio I render with the "audacity", then I add the album cover and make a video file in the "open shot" app, after that the file is recompressed to the TS format with VLC.
So please someone tell me how to originate the issue?
Is there any chance to see the reason of the playback gaps?

Caching and different ffmpeg presets didn't help.
Thank you for your support!

Rémi Denis-Courmont
Developer
Developer
Posts: 15358
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: IPTV stream is stuttering in the VLC

Postby Rémi Denis-Courmont » 30 Nov 2021 18:32

Checks the VLC verbose logs.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 18:52

Can't give log messages while gaps yet,
But some error has been already found in the list below:

main error: buffer deadlock prevented

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 18:59

Still no gaps appeared, but new errors:

dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting All properties
ts warning: discontinuity received 0x0 instead of 0x7 (pid=0)
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 7) for PID 0
ts debug: PATCallBack called
ts warning: discontinuity received 0x0 instead of 0x7 (pid=32)
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 7) for PID 32
ts debug: PMTCallBack called for program 1
ts debug: new PMT program number=1 version=2 pid_pcr=100
ts debug: * pid=200 type=0x3 ISO/IEC 11172 Audio
ts debug: - ES descriptor tag 0xa
ts debug: found language:
ts debug: => pid 200 has now es fcc=mpga
ts debug: * pid=100 type=0x1b AVC video stream as defined in ITU-T Rec. H.264
ts debug: - ES descriptor tag 0xa
ts debug: => pid 100 has now es fcc=h264
ts debug: * pid=17 listening for SDT
ts debug: enabling pid 200 from program 1
ts debug: enabling pid 100 from program 1
ts debug: enabling pcr pid 100 from program 1
ts warning: discontinuity received 0x0 instead of 0x7 (pid=17)
ts error: libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 7) for PID 17
ts debug: SDTCallBack called
ts warning: discontinuity received 0x0 instead of 0x9 (pid=200)
ts warning: discontinuity received 0x0 instead of 0x7 (pid=100)
main warning: clock gap, unexpected stream discontinuity
main warning: feeding synchro with a new reference point trying to recover from clock gap
main error: Timestamp conversion failed (delay 1000000, buffering 13307, bound 9000000)
main error: Could not convert timestamp 8435450758 for FFmpeg
main warning: early picture skipped
main warning: playback way too early (-518554): playing silence
main debug: inserting 22868 zeroes
main error: Timestamp conversion failed (delay 1000000, buffering 27622, bound 9000000)
main error: Could not convert timestamp 8435550758 for FFmpeg
main warning: early picture skipped
main error: Timestamp conversion failed (delay 1000000, buffering 54577, bound 9000000)
main error: Could not convert timestamp 8435650758 for FFmpeg
main warning: early picture skipped
main error: Timestamp conversion failed (delay 1000000, buffering 54577, bound 9000000)
main error: Could not convert timestamp 8435750758 for FFmpeg
main warning: early picture skipped
main error: Timestamp conversion failed (delay 1000000, buffering 68484, bound 9000000)
main error: Could not convert timestamp 8435850758 for FFmpeg
main warning: early picture skipped
main error: Timestamp conversion failed (delay 1000000, buffering 68484, bound 9000000)
main error: Could not convert timestamp 8435950758 for FFmpeg
main warning: early picture skipped
dbus debug: Getting All properties
dbus debug: Getting All properties
dbus debug: Getting All properties

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 19:17

I faced the gap and Messages say:


pulse debug: underflow
dbus debug: Getting All properties
pulse debug: underflow
dbus debug: Getting All properties
dbus debug: Getting All properties

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 19:40

Trying to test with libdvdcss2 installed,
Somebody told it could help

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 21:28

It appears to be helping.

I've done two things:
- network caching set to 10000 in the player
- sudo apt-get install libdvdcss2

After the VLC player restart I don't hear sound lags. At least now.
Continuing testing...

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 30 Nov 2021 21:44

The question is mostly relevant for you, how about the windows VLC version?
What is the way to avoid gaps, as it shows up in the build for windows too?
Is there something similar to libdvdcss2 ?
Thanks

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 01 Dec 2021 22:37

Nope the issue hasn't been solved yet.
libdvdcss2 doesn't change anything.

All that remains is to check playback with the network cache increased
or recompress the file.

Dmitry_765
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Nov 2021 17:33

Re: IPTV stream is stuttering in the VLC

Postby Dmitry_765 » 01 Dec 2021 23:04

Input codecs -> Network caching helps a lot.
I've set the 5000 ms value and glitch was gone


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests