Stuttering then wathing live tv, using 4therecord pvr plugin

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
FernetMenta Online
Team-XBMC Member
Posts: 1,614
Joined: Jul 2010
Reputation: 34
Location: Munich
Post: #11
Looking at gculley's log I am wondering what station does broadcast 1920x1080 as mpeg2. There are CRC errors in the audio packets which might cause the stutter.

KRA77: indeed, the log looks clean. Can you confirm that it drops regularly? Does the dropping counter (codec screen, 'o' key) indicate drops?

Nevertheless, this is a case for the addon author. Will point him to this thread if he not already knows.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 1,942
Joined: Feb 2009
Reputation: 24
Location: Heerlen, The Netherlands
Post: #12
>> Looking at gculley's log I am wondering what station does broadcast 1920x1080 as mpeg2
discovery HD does here, as the only channel I know

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
pkscuot Offline
Fan
Posts: 598
Joined: Jan 2011
Reputation: 10
Location: Honolulu, HI
Post: #13
(2012-03-23 20:58)FernetMenta Wrote:  Looking at gculley's log I am wondering what station does broadcast 1920x1080 as mpeg2. There are CRC errors in the audio packets which might cause the stutter.

I know our local CBS, NBC, and PBS stations do. I get the first one only as QAM and the other two both ATSC and QAM.
find quote
margro Offline
Fan
Posts: 530
Joined: Oct 2009
Reputation: 16
Location: The Netherlands
Post: #14
@gculley: I see you are using the MediaPortal (ffmpeg) addon. I have also problems with HD playback using RTSP streams in XBMC. The MPEGTS over RTSP implementation of XBMC's ffmpeg library is problematic. It takes a long time to tune a channel and playback shows many artifacts. I'm not able to solve this without digging into the ffmpeg code, which is especially under Windows a real challenge. Therefore I started with a new MediaPortal addon that skips the RTSP step.

You might want to try this addon (MediaPortal (tsreader) found in my Windows XBMC-pvr builds and in my github repository.

@KRA77: seems that we might need to wait a bit between tuning and playback (to increase the buffer size) because delayed playback via a recording does work...
Another reason would be that the route for Live TV playback (without demuxing at the addon side) is too slow. I'm seeing also a drop in fps (<24) on some HD channels with my MediaPortal (tsreader) addon. Older builds from before Dec. 2011 have less problems. I'm not sure yet which changes cause the stuttering and framedrops...

Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo).
http://www.scintilla.utwente.nl/~marcelg/xbmc
find quote
KRA77 Offline
Senior Member
Posts: 192
Joined: Jul 2010
Reputation: 0
Post: #15
Thank you for your reply, I also had a theory that playback was too close to end of TS buffer. But I was unsure because audio was fine.

I will also check for dropped frames in playback, and report back.
find quote
gculley Offline
Junior Member
Posts: 19
Joined: Mar 2012
Reputation: 0
Post: #16
Thanks everyone for looking into this for me.

The 1920x1080 is probably coming from my HDHomeRun box. I've been trying to stream our local TV station that broadcasts in HD (but not at that resolution). I'm wondering if the HDHomeRun tuner is upconverting the video.

The PVR streams the channel smoothly with Dharma, just not with the latest code in Eden.

Margro, I'll see if I can find your repository (I'm new to all this). Do I have to do anything to disable ffmpeg before installing your addon?
find quote
gculley Offline
Junior Member
Posts: 19
Joined: Mar 2012
Reputation: 0
Post: #17
Here's the log with the ffmpeg client disabled and the tsreader client enabled. I still see exactly the same issue.

From looking at the log, my screen resolution is 1920x1200, so maybe that's an issue?

http://pastebin.ca/2131914
find quote
gculley Offline
Junior Member
Posts: 19
Joined: Mar 2012
Reputation: 0
Post: #18
Just an update on this issue:

I noticed this when I upgraded to Eden Beta and thought it was the PVR, but I discovered this evening that it's happening when I try to watch the stream directly (not through the PVR). The HDHomeRun quick viewer displays the video fine, and so does my Media Portal setup. It was also fine with XBMC Dharma, but appears to be broken in Eden.

I'm guessing that there's something broken in Eden for the HDHomeRun device.
find quote
Post Reply