code-google-com / mythbox

Automatically exported from code.google.com/p/mythbox
GNU General Public License v2.0
0 stars 1 forks source link

Viewing recording as it records stops every ~10 minutes #163

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Try to watch a recording as it is recording (HD).
2.  Tested  with the viewing starting approx 5 minutes after the recording 
starts.

What is the expected output? What do you see instead?
Should be able to watch the recording as it records.  Plays for about 10 
minutes and then stops.  I can then start playing it again, skip to where it 
last stopped, a watch but after about 10 minutes it stops.  I tried pausing 
occasionally but that had no effect.

What version of the product are you using? On what operating system?
Mythbox 1.0.2 XBMCLive 10.1 Mythbuntu 10.10 (MythTv 23.1)  XBMCLive client is a 
Zotac IONITX-L-E.  Tuners are 2 HDHR dual tuner boxes.  Network is GBe.

Please provide any additional information below.
Recordings and live tv play fine. As a resource test I ran 3 processes 
simultaneously -  record a HD stream, record a SD stream, and watch a HD 
stream.  No problems.  On the same network I have a 10.1 XBMC client on Windows 
7.  It will play a recording as it is recording without a problem.

A full log can be found here:
http://pastebin.com/ZAQRZ0L4

Original issue reported on code.google.com by for708...@gmail.com on 18 Mar 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Note that this is NOT the same as issue 160.  The recording is set to mark for 
commercials after the recording has been completed and we never get to the end 
of the recording (no in program commercials to skip).

Original comment by for708...@gmail.com on 18 Mar 2011 at 5:18

GoogleCodeExporter commented 9 years ago
Playing started @ 17:40:00

~11 minutes later @ 17:51:58 we get this in your attached log on line 652:

17:51:58 T:2980043632 M:1295036416 WARNING: CDVDMessageQueue(audio)::Get - 
asked for new data packet, with nothing available
17:51:58 T:2966162288 M:1295036416 WARNING: CDVDMessageQueue(video)::Get - 
asked for new data packet, with nothing available

Then playback stops. Sounds like a clear case of xbmc trying to read from the 
filesystem and the read operation fails. Are you running the file mount over a 
wireless link? That could possibly explain not being able to keep up with the 
data requested. This is really outside of mythbox's control.  One thing you 
might want to do is turn on debug in XBMC > Settings > System and reproduce the 
problem again. It looks like xbmc is only producing NOTICE and above logging. 
DEBUG logging might produce some more useful information. Re-post and I can 
take a look..

Original comment by semir.pa...@gmail.com on 27 Mar 2011 at 1:28

GoogleCodeExporter commented 9 years ago
I'm running full GB from the server to the client.  Note that recorded shows 
play without issues.  I'll run it with XBMC debugging on.  I'll also try it on 
another Live client.

Original comment by for708...@gmail.com on 29 Mar 2011 at 4:28

GoogleCodeExporter commented 9 years ago
The debug log is in 2 files:
http://pastebin.com/FCq41pVa
and
http://pastebin.com/729YJjRm
Note that it stopped once, stopped when the stop key was pressed, then stopped 
a couple times more.  I don't have a log from a second client yet (nothing I 
could bear to watch.)  ;)

Original comment by for708...@gmail.com on 30 Mar 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Based on your latest log:

17:39:23 T:2576325488 M:1219162112   DEBUG: CPullupCorrection: detected pattern 
of length 1: 33366.67
17:39:24 T:3079219072 M:1217933312   DEBUG: ------ Window Deinit 
(DialogSeekBar.xml) ------
17:40:58 T:2565835632 M:1218342912   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:142848026.513111, should be:142837860.820794, error:-10165.692317
17:41:55 T:2565835632 M:1218580480   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:200191847.924794, should be:200181750.490022, error:-10097.434772
17:42:52 T:2565835632 M:1219313664   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:257536036.341022, should be:257525941.478180, error:-10094.862842
17:43:50 T:2565835632 M:1217892352   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:314880624.442180, should be:314870525.606084, error:-10098.836096
17:44:47 T:2565835632 M:1216647168   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:372224082.170084, should be:372213987.473975, error:-10094.696110
17:45:44 T:2565835632 M:1218244608   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:429568387.466975, should be:429558291.151007, error:-10096.315968
17:46:42 T:2565835632 M:1216917504   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:486912338.397007, should be:486902240.864778, error:-10097.532229
17:47:39 T:2565835632 M:        0   DEBUG: CDVDPlayerAudio:: Discontinuity - 
was:544255977.802778, should be:544245883.336748, error:-10094.466029
17:48:19 T:2565835632 M:1216946176   DEBUG: CDVDPlayerAudio - 
CDVDMsg::GENERAL_EOF
17:48:19 T:2565835632 M:1216946176 WARNING: CDVDMessageQueue(audio)::Get - 
asked for new data packet, with nothing available
17:48:19 T:2576325488 M:1216946176 WARNING: CDVDMessageQueue(video)::Get - 
asked for new data packet, with nothing available

MythBox has nothing to do with the event at: 

17:48:19 T:2565835632 M:1216946176   DEBUG: CDVDPlayerAudio - 
CDVDMsg::GENERAL_EOF

If you played the same file directly from the filesystem in XBMC, I would think 
you'd have the same problem.

Have you tried that yet? Are you sure you don't have any errors messages in 
your kernel log related to mounted filesystems? Whats the output of dmesg?

Original comment by semir.pa...@gmail.com on 15 Jun 2011 at 12:31