HDHomeRun Video Stream Stutter Issue

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
TheGremlyn
New Cone
New Cone
Posts: 6
Joined: 31 Jul 2012 19:37

HDHomeRun Video Stream Stutter Issue

Postby TheGremlyn » 31 Jul 2012 20:09

I am attempting to play streams from my HDHomeRun, and while the sound quality and video quality is generally good, I a fairly frequent audio stutter, sometimes accompanied by a video stutter. I experience this on both my laptop and desktop computers, which both run Ubuntu 12.04, but I assume it is a network streaming or similar setting that is causing the problem and not the OS (hence why I posted in the OS non-specific area). I have pasted my debug log below that captures the stutter events. Can anyone shed some light on this for me?

Code: Select all

pulse debug: starting deferred pulse debug: listing sink alsa_output.pci-0000_00_14.2.analog-stereo (0): Built-in Audio Analog Stereo pulse debug: started ts warning: discontinuity received 0x8 instead of 0x0 (pid=2057) ts warning: discontinuity received 0xb instead of 0x9 (pid=2056) ts warning: discontinuity received 0xe instead of 0xc (pid=2057) ts warning: discontinuity received 0xd instead of 0xc (pid=2056) ts warning: discontinuity received 0x3 instead of 0x7 (pid=2057) ts warning: discontinuity received 0x0 instead of 0xd (pid=2075) ts warning: discontinuity received 0xe instead of 0xb (pid=2056) ts debug: PMTCallBack called main warning: buffer way too early (-147023), clearing queue pulse warning: too early by 1983069 us pulse debug: changed sample rate to 47954 Hz pulse warning: too early by 1983364 us pulse debug: changed sample rate to 47908 Hz pulse warning: too early by 1983660 us pulse debug: changed sample rate to 47862 Hz pulse warning: too early by 1983731 us pulse debug: changed sample rate to 47816 Hz pulse warning: too early by 1983677 us pulse debug: changed sample rate to 47770 Hz pulse warning: too early by 1982934 us pulse debug: changed sample rate to 47724 Hz pulse warning: too early by 1982256 us pulse debug: changed sample rate to 47678 Hz pulse warning: too early by 1979884 us pulse debug: changed sample rate to 47632 Hz ts warning: discontinuity received 0xb instead of 0x4 (pid=2057) pulse warning: too early by 1975221 us pulse debug: changed sample rate to 47586 Hz pulse warning: underflow pulse debug: listing sink alsa_output.pci-0000_00_14.2.analog-stereo (0): Built-in Audio Analog Stereo main warning: buffer too early (-110317), down-sampling pulse debug: deferring start (1920743 us) main warning: buffer way too early (-126792), clearing queue main warning: timing screwed, stopping resampling pulse debug: starting deferred pulse warning: too early by 1567014 us pulse debug: changed sample rate to 47954 Hz pulse warning: too early by 1564352 us pulse debug: changed sample rate to 47908 Hz pulse debug: listing sink alsa_output.pci-0000_00_14.2.analog-stereo (0): Built-in Audio Analog Stereo pulse debug: started pulse warning: too early by 1552327 us pulse debug: changed sample rate to 47862 Hz ts warning: discontinuity received 0x7 instead of 0x0 (pid=2057) pulse warning: too early by 1549803 us pulse debug: changed sample rate to 47816 Hz pulse warning: too early by 1549269 us pulse debug: changed sample rate to 47770 Hz pulse warning: too early by 1548624 us pulse debug: changed sample rate to 47724 Hz pulse warning: too early by 1547806 us pulse debug: changed sample rate to 47678 Hz pulse warning: too early by 1546316 us pulse debug: changed sample rate to 47632 Hz pulse warning: too early by 1543366 us pulse debug: changed sample rate to 47586 Hz main warning: buffer way too early (-129436), clearing queue pulse warning: too early by 1983205 us pulse debug: changed sample rate to 47540 Hz pulse warning: too early by 1982051 us pulse debug: changed sample rate to 47494 Hz pulse warning: too early by 1981812 us pulse debug: changed sample rate to 47448 Hz pulse warning: too early by 1981406 us pulse debug: changed sample rate to 47402 Hz pulse warning: too early by 1981238 us pulse debug: changed sample rate to 47356 Hz pulse warning: too early by 1979841 us pulse debug: changed sample rate to 47310 Hz pulse warning: too early by 1977247 us pulse debug: changed sample rate to 47264 Hz pulse warning: too early by 1972216 us pulse debug: changed sample rate to 47218 Hz pulse warning: underflow pulse debug: listing sink alsa_output.pci-0000_00_14.2.analog-stereo (0): Built-in Audio Analog Stereo main warning: buffer way too early (-250871), clearing queue pulse debug: deferring start (2031035 us) main debug: auto hiding mouse cursor ts warning: discontinuity received 0x1 instead of 0x9 (pid=2057) ts warning: discontinuity received 0x3 instead of 0x0 (pid=2056) ts warning: discontinuity received 0x3 instead of 0x1 (pid=2075) pulse debug: starting deferred pulse debug: listing sink alsa_output.pci-0000_00_14.2.analog-stereo (0): Built-in Audio Analog Stereo pulse debug: started main warning: picture is too late to be displayed (missing 33 ms) main debug: auto hiding mouse cursor

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

Re: HDHomeRun Video Stream Stutter Issue

Postby Rémi Denis-Courmont » 01 Aug 2012 10:52

It seems that PulseAudio fails to provide proper synchronization. I cannot say if it's a PulseAudio bug, a hardware problem or a network input problem though.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TheGremlyn
New Cone
New Cone
Posts: 6
Joined: 31 Jul 2012 19:37

Re: HDHomeRun Video Stream Stutter Issue

Postby TheGremlyn » 01 Aug 2012 17:15

Any suggestions on how to test it out? I imagine if it were a PulseAudio bug it should happen with all video, right? I'd rule out hardware as I have this issue on two different computers with entirely different hardware. So maybe it is network related? I use the HDHomeRun successfully with MythTV on my HTPC, so I know it can work properly over my network, which is why I'm thinking it must be some sort of settings issue.

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

Re: HDHomeRun Video Stream Stutter Issue

Postby Rémi Denis-Courmont » 01 Aug 2012 17:26

Not on my behalf sorry. It's hard to figure this out just from logs.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TheGremlyn
New Cone
New Cone
Posts: 6
Joined: 31 Jul 2012 19:37

Re: HDHomeRun Video Stream Stutter Issue

Postby TheGremlyn » 08 Aug 2012 21:56

Lets assume that it might be a network sync issue, as I highly doubt hardware is to blame. I have little to no knowledge of network sync, so any guidance that could be provided on understanding what could cause this from a sync standpoint or settings to adjust in one direction or another to see if anything changes?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 31 guests