Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV)

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


michael at waremanfamily

Apr 11, 2012, 8:58 AM

Post #1 of 39 (3124 views)
Permalink
0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV)

..then we get dropped back to the main menu.

I'm seeing this since I upgraded last night. Using mythbuntu, HD Homerun
and my frontends are both ION systems (using VDPAU). Is anyone else seeing
this symptom? Where do I go looking?

Michael.


nospam at netrom

Apr 11, 2012, 9:03 AM

Post #2 of 39 (2976 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Wed, Apr 11, 2012 at 11:58 AM, Michael Wareman <michael [at] waremanfamily
> wrote:

> ..then we get dropped back to the main menu.
>
> I'm seeing this since I upgraded last night. Using mythbuntu, HD Homerun
> and my frontends are both ION systems (using VDPAU). Is anyone else seeing
> this symptom? Where do I go looking?
>
> Michael.
> !DSPAM:500,4f85ab85325861522114592!
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
>
Yes, seeing it with my HD Homerun prime as well. Just started today. Can
watch varying amounts of live content and then the video freezes, a tuner
LED on the HD unit is flashing instead of solid and after a bit the above
error message comes up.


michael at waremanfamily

Apr 11, 2012, 9:17 AM

Post #3 of 39 (2976 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

Look like this may still not be resolved?

http://code.mythtv.org/trac/ticket/10490

Should I add to this ticket?

On Wed, Apr 11, 2012 at 11:03 AM, John <nospam [at] netrom> wrote:

> On Wed, Apr 11, 2012 at 11:58 AM, Michael Wareman <
> michael [at] waremanfamily> wrote:
>
>> ..then we get dropped back to the main menu.
>>
>> I'm seeing this since I upgraded last night. Using mythbuntu, HD Homerun
>> and my frontends are both ION systems (using VDPAU). Is anyone else seeing
>> this symptom? Where do I go looking?
>>
>> Michael.
>> !DSPAM:500,4f85ab85325861522114592!
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>>
>>
> Yes, seeing it with my HD Homerun prime as well. Just started today. Can
> watch varying amounts of live content and then the video freezes, a tuner
> LED on the HD unit is flashing instead of solid and after a bit the above
> error message comes up.
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>


josu.lazkano at gmail

Apr 11, 2012, 9:19 AM

Post #4 of 39 (2986 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

2012/4/11 Michael Wareman <michael [at] waremanfamily>:
> Look like this may still not be resolved?
>
> http://code.mythtv.org/trac/ticket/10490
>
> Should I add to this ticket?
>
>
> On Wed, Apr 11, 2012 at 11:03 AM, John <nospam [at] netrom> wrote:
>>
>> On Wed, Apr 11, 2012 at 11:58 AM, Michael Wareman
>> <michael [at] waremanfamily> wrote:
>>>
>>> ..then we get dropped back to the main menu.
>>>
>>> I'm seeing this since I upgraded last night. Using mythbuntu, HD Homerun
>>> and my frontends are both ION systems (using VDPAU). Is anyone else seeing
>>> this symptom? Where do I go looking?
>>>
>>> Michael.
>>> !DSPAM:500,4f85ab85325861522114592!
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users [at] mythtv
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>
>>>
>>
>> Yes, seeing it with my HD Homerun prime as well. Just started today. Can
>> watch varying amounts of live content and then the video freezes, a tuner
>> LED on the HD unit is flashing instead of solid and after a bit the above
>> error message comes up.
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

Is this happens on program guide change?

Regards.

--
Josu Lazkano
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 11, 2012, 9:21 AM

Post #5 of 39 (2955 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Wed, Apr 11, 2012 at 9:17 AM, Michael Wareman
<michael [at] waremanfamily> wrote:
> Look like this may still not be resolved?
>
> http://code.mythtv.org/trac/ticket/10490
>
> Should I add to this ticket?

No need, we're aware of the issue and working to solve it.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


michael at waremanfamily

Apr 11, 2012, 9:34 AM

Post #6 of 39 (2938 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

OK - Thanks Jim!

On Wed, Apr 11, 2012 at 11:21 AM, Jim Stichnoth <stichnot [at] gmail> wrote:

> On Wed, Apr 11, 2012 at 9:17 AM, Michael Wareman
> <michael [at] waremanfamily> wrote:
> > Look like this may still not be resolved?
> >
> > http://code.mythtv.org/trac/ticket/10490
> >
> > Should I add to this ticket?
>
> No need, we're aware of the issue and working to solve it.
>
> Jim
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


snharris99 at live

Apr 13, 2012, 8:07 AM

Post #7 of 39 (2910 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

> > Look like this may still not be resolved?
> >
> > http://code.mythtv.org/trac/ticket/10490
> >
> > Should I add to this ticket?
>
> No need, we're aware of the issue and working to solve it.
>
> Jim
I should report that since 2 updates ago (the update immediately after danielk's "I misread Jim's.." reversion comment in ticket 10490), LiveTV transitions for me have been near flawless. I get a ~1 second audio drop and a nano second video blip (I also posted this in the ticket for feedback). Thanks you guys!


stichnot at gmail

Apr 13, 2012, 9:05 AM

Post #8 of 39 (2906 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 13, 2012 at 8:07 AM, Scott and Nicole Harris
<snharris99 [at] live> wrote:
>
>
>> > Look like this may still not be resolved?
>> >
>> > http://code.mythtv.org/trac/ticket/10490
>> >
>> > Should I add to this ticket?
>>
>> No need, we're aware of the issue and working to solve it.
>>
>> Jim
> I should report that since 2 updates ago (the update immediately after
> danielk's"I misread Jim's.." reversion comment in ticket 10490), LiveTV
> transitions for me have been near flawless. I get a ~1 second audio drop
> and a nano second video blip (I also posted this in the ticket for
> feedback). Thanks you guys!

Are you referring to this commit?

In 2531893d539ceb7158033a5862e9fbd51e01da1d/mythtv:
RingBuffer?: Set the oldfile flag only once per live TV segment.

So far this is only in Master, not 0.25-fixes, because I don't believe
it is addressing the root cause.

I appreciate feedback on these changes, since the problem is affecting
different systems in different ways.

By the way, the slight stuttering at program transitions is
unavoidable for now, according to Daniel K., since there is some DB
stuff going on within the UI thread that won't necessarily complete
within a 60Hz (or whatever) frame interval.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


snharris99 at live

Apr 13, 2012, 10:42 AM

Post #9 of 39 (2898 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

> >> > Look like this may still not be resolved?
> >> >
> >> > http://code.mythtv.org/trac/ticket/10490
> >> >
> >> > Should I add to this ticket?
> >>
> >> No need, we're aware of the issue and working to solve it.
> >>
> >> Jim
> > I should report that since 2 updates ago (the update immediately after
> > danielk's "I misread Jim's.." reversion comment in ticket 10490), LiveTV
> > transitions for me have been near flawless. I get a ~1 second audio drop
> > and a nano second video blip (I also posted this in the ticket for
> > feedback). Thanks you guys!
>
> Are you referring to this commit?
>
> In 2531893d539ceb7158033a5862e9fbd51e01da1d/mythtv:
> RingBuffer?: Set the oldfile flag only once per live TV segment.
>
> So far this is only in Master, not 0.25-fixes, because I don't believe
> it is addressing the root cause.
>
> I appreciate feedback on these changes, since the problem is affecting
> different systems in different ways.
>
> By the way, the slight stuttering at program transitions is
> unavoidable for now, according to Daniel K., since there is some DB
> stuff going on within the UI thread that won't necessarily complete
> within a 60Hz (or whatever) frame interval.
>
> Jim
I don't know what to tell you, my frontend failed to the main menu at LiveTV transitions 100% (literally) of the time from the time I upgraded to 0.25 a few weeks ago. Since the update that coresponded to that comment in 10490, I have not had one single failure. As far as the ~1 stutter, I wasn't complaining, I was rejoicing :).


jaglover at gmail

Apr 13, 2012, 10:46 AM

Post #10 of 39 (2902 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, 13 Apr 2012 09:05:43 -0700
Jim Stichnoth <stichnot [at] gmail> wrote:

> On Fri, Apr 13, 2012 at 8:07 AM, Scott and Nicole Harris
> <snharris99 [at] live> wrote:
> >
> >
> >> > Look like this may still not be resolved?
> >> >
> >> > http://code.mythtv.org/trac/ticket/10490
> >> >
> >> > Should I add to this ticket?
> >>
> >> No need, we're aware of the issue and working to solve it.


> I appreciate feedback on these changes, since the problem is affecting
> different systems in different ways.

Currently the only way for me to change live TV analog channel is to
switch to digital and then back to desired analog channel. (I have set
up 2250 as dual analog and pcHDTV-5500 as digital).

--
Cheers, Saul
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 13, 2012, 11:10 AM

Post #11 of 39 (2899 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 13, 2012 at 10:46 AM, Saul A. Peebsen <jaglover [at] gmail> wrote:
> Currently the only way for me to change live TV analog channel is to
> switch to digital and then back to desired analog channel. (I have set
> up 2250 as dual analog and pcHDTV-5500 as digital).

This sounds like http://code.mythtv.org/trac/ticket/10566 , which has
been fixed in Master and 0.25-fixes. If you still see problems with
channel changing, we'll get them fixed.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 13, 2012, 11:22 AM

Post #12 of 39 (2913 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 13, 2012 at 10:42 AM, Scott and Nicole Harris
<snharris99 [at] live> wrote:
>> Are you referring to this commit?
>>
>> In 2531893d539ceb7158033a5862e9fbd51e01da1d/mythtv:
>> RingBuffer?: Set the oldfile flag only once per live TV segment.
>>
>> So far this is only in Master, not 0.25-fixes, because I don't believe
>> it is addressing the root cause.
>>
>> I appreciate feedback on these changes, since the problem is affecting
>> different systems in different ways.
>>
>> By the way, the slight stuttering at program transitions is
>> unavoidable for now, according to Daniel K., since there is some DB
>> stuff going on within the UI thread that won't necessarily complete
>> within a 60Hz (or whatever) frame interval.
>>
>> Jim
>
>
> I don't know what to tell you, my frontend failed to the main menu at LiveTV
> transitions100% (literally) of the time from the time I upgraded to 0.25 a
> few weeks ago. Since the update that coresponded to that comment in 10490,
> I have not had one single failure. As far as the ~1 stutter, I wasn't
> complaining, I was rejoicing :).

Since 0.25 has been out less than a week, it sounds like you've been
running Master, meaning you picked up the commit in question and it
helped. That's good to hear.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


snharris99 at live

Apr 13, 2012, 11:41 AM

Post #13 of 39 (2890 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

> >> Are you referring to this commit?
> >>
> >> In 2531893d539ceb7158033a5862e9fbd51e01da1d/mythtv:
> >> RingBuffer?: Set the oldfile flag only once per live TV segment.
> >>
> >> So far this is only in Master, not 0.25-fixes, because I don't believe
> >> it is addressing the root cause.
> >>
> >> I appreciate feedback on these changes, since the problem is affecting
> >> different systems in different ways.
> >>
> >> By the way, the slight stuttering at program transitions is
> >> unavoidable for now, according to Daniel K., since there is some DB
> >> stuff going on within the UI thread that won't necessarily complete
> >> within a 60Hz (or whatever) frame interval.
> >>
> >> Jim
> >
> >
> > I don't know what to tell you, my frontend failed to the main menu at LiveTV
> > transitions 100% (literally) of the time from the time I upgraded to 0.25 a
> > few weeks ago. Since the update that coresponded to that comment in 10490,
> > I have not had one single failure. As far as the ~1 stutter, I wasn't
> > complaining, I was rejoicing :).
>
> Since 0.25 has been out less than a week, it sounds like you've been
> running Master, meaning you picked up the commit in question and it
> helped. That's good to hear.
>
> Jim
I can' answer that for sure (I don't follow it closely enough). I simply use the Mythbuntu repos, which I *believe* have moved over to 0.25/fixes.... mythbackend --versionMythTV Version : v0.25
MythTV Branch : fixes/0.25
Network Protocol : 72
Library API : 0.25.20120408-1


jaglover at gmail

Apr 13, 2012, 12:22 PM

Post #14 of 39 (2888 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, 13 Apr 2012 11:10:10 -0700
Jim Stichnoth <stichnot [at] gmail> wrote:

> On Fri, Apr 13, 2012 at 10:46 AM, Saul A. Peebsen
> <jaglover [at] gmail> wrote:
> > Currently the only way for me to change live TV analog channel is to
> > switch to digital and then back to desired analog channel. (I have
> > set up 2250 as dual analog and pcHDTV-5500 as digital).
>
> This sounds like http://code.mythtv.org/trac/ticket/10566 , which has
> been fixed in Master and 0.25-fixes. If you still see problems with
> channel changing, we'll get them fixed.

This ticket is about changing channels from guide, I can't change
channels from guide nor by typing the numbers.

BE

2012-04-13 14:17:01.244340 W DevRdB(/dev/video1): Poll took an
unusually long time 2503 ms 2012-04-13 14:17:03.754044 W
DevRdB(/dev/video1): Poll took an unusually long time 2503 ms
2012-04-13 14:17:06.263502 W DevRdB(/dev/video1): Poll took an
unusually long time 2503 ms 2012-04-13 14:17:08.115864 I TVRec(7): HW
Tuner: 7->7 2012-04-13 14:17:08.321125 E MPEGRec(/dev/video1): Device
EOF detected 2012-04-13 14:17:08.333497 I V4LChannel(/dev/video1):
SetInputAndFormat(7, NTSC) (v4l v2) input_switch: 0 mode_switch: 1
2012-04-13 14:17:08.636688 N AutoExpire: CalcParams(): Max required
Free Space: 2.0 GB w/freq: 15 min 2012-04-13 14:17:08.713835 N
AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15
min 2012-04-13 14:17:08.720114 E
RecordingInfo::InsertProgram(ProgramInfo(1063_20120413141708.mpg):
channame(Turner Classic Movies) startts(Fri Apr 13 13:15:00 2012)
endts(Fri Apr 13 15:00:00 2012) recstartts(Fri Apr 13 14:17:08 2012)
recendts(Fri Apr 13 15:00:00 2012) title(Seven Brides for Seven
Brothers)): recording already exists... 2012-04-13 14:17:19.108956 I
TVRec(7): Changing from WatchingLiveTV to None 2012-04-13
14:17:26.109926 I MainServer::ANN Playback

FE

2012-04-13 14:17:01.095217 N Player(0): Waited 7362ms for video
buffers AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.197406 N
Player(0): Waited 7464ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.299860 N
Player(0): Waited 7566ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.402054 N
Player(0): Waited 7668ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.504241 N
Player(0): Waited 7771ms for video buffers
AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.512050 W AFD:
Audio 523 ms behind video but already 220 video frames queued. AV-Sync
might be broken. 2012-04-13 14:17:01.514109 W AFD: Audio 557 ms behind
video but already 220 video frames queued. AV-Sync might be broken.
2012-04-13 14:17:01.516159 W AFD: Audio 542 ms behind video but
already 220 video frames queued. AV-Sync might be broken. 2012-04-13
14:17:01.520097 W AFD: Audio 551 ms behind video but already 220 video
frames queued. AV-Sync might be broken. 2012-04-13 14:17:01.524914 W
AFD: Audio 537 ms behind video but already 220 video frames queued.
AV-Sync might be broken. 2012-04-13 14:17:03.598867 I
RingBuf(/home/mythtv/rec/1025_20120413141653.mpg): Waited 0.2 seconds
for data to become available... 23108 < 32768 2012-04-13
14:17:03.654220 I RingBuf(/home/mythtv/rec/1025_20120413141653.mpg):
Waited 0.2 seconds for data to become available... 23108 < 32768
2012-04-13 14:17:19.045676 E
FileRingBuf(/home/mythtv/rec/1063_20120413141709.mpg): OpenFile(): File
too small (0B). 2012-04-13 14:17:19.045713 E Player(0):
JumpToProgram's OpenFile failed (card type: MPEG). 2012-04-13
14:17:19.045850 E LiveTVChain has 6 entries DUMMY: 1063 (14:16:42 to
14:16:42) MPEG: 1063 (14:16:43 to 14:16:53) discontinuous DUMMY: 1025
(14:16:52 to 14:16:53) discontinuous MPEG: 1025 (14:16:53 to 14:17:08)
discontinuous DUMMY: 1063 (14:17:08 to 14:17:08) discontinuous
* MPEG: 1063 (14:17:09 to 15:00:00) discontinuous

2012-04-13 14:17:19.045876 E Player(0): Unknown recorder error,
exiting decoder 2012-04-13 14:17:19.089768 I TV: Attempting to change
from WatchingLiveTV to None 2012-04-13 14:17:26.109265 E
MythSocket(7f67b880cb60:48): readStringList: Error, timed out after
7000 ms. 2012-04-13 14:17:26.109330 E
RemoteEncoder::SendReceiveStringList(): No response. 2012-04-13
14:17:26.109368 I TV: Changing from WatchingLiveTV to None

--
Cheers, Saul
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


michael at waremanfamily

Apr 13, 2012, 12:28 PM

Post #15 of 39 (2915 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

..but this thread is about 'Video Frame Buffering Failed Too Many Times'
whenever a new program starts (Live TV) - without changing channel.

In my case - I'm on 0.25-fixes (v0.25-5-g5c87d03) for sure. I have no
issues with changing channels - but live program transitions are still
failing and on a regular basis - simply leaving LiveTV on thru program
transitions often causes the buffer issue and a drop back to the main menu.

Per Jim's comment above though - I'm not expecting that to be fixed in
-fixes yet. I'm waiting for the root cause to be identified - and my Wife
is simply using a cable box for LiveTV in the meantime. Inconvenient, yes -
but tolerable.

Jim, if there is anything from my system or logs that would help pin it
down - I would be happy to help out. If I may namedrop a little - I work a
few cubes over from the author of this page http://www.mythtv.org/docs/ at
the same company - I'm sure he will provide a suitable reference to my
troubleshooting prowess if you ask him. :P

Michael.

On Fri, Apr 13, 2012 at 2:22 PM, Saul A. Peebsen <jaglover [at] gmail> wrote:

> On Fri, 13 Apr 2012 11:10:10 -0700
> Jim Stichnoth <stichnot [at] gmail> wrote:
>
> > On Fri, Apr 13, 2012 at 10:46 AM, Saul A. Peebsen
> > <jaglover [at] gmail> wrote:
> > > Currently the only way for me to change live TV analog channel is to
> > > switch to digital and then back to desired analog channel. (I have
> > > set up 2250 as dual analog and pcHDTV-5500 as digital).
> >
> > This sounds like http://code.mythtv.org/trac/ticket/10566 , which has
> > been fixed in Master and 0.25-fixes. If you still see problems with
> > channel changing, we'll get them fixed.
>
> This ticket is about changing channels from guide, I can't change
> channels from guide nor by typing the numbers.
>
> BE
>
> 2012-04-13 14:17:01.244340 W DevRdB(/dev/video1): Poll took an
> unusually long time 2503 ms 2012-04-13 14:17:03.754044 W
> DevRdB(/dev/video1): Poll took an unusually long time 2503 ms
> 2012-04-13 14:17:06.263502 W DevRdB(/dev/video1): Poll took an
> unusually long time 2503 ms 2012-04-13 14:17:08.115864 I TVRec(7): HW
> Tuner: 7->7 2012-04-13 14:17:08.321125 E MPEGRec(/dev/video1): Device
> EOF detected 2012-04-13 14:17:08.333497 I V4LChannel(/dev/video1):
> SetInputAndFormat(7, NTSC) (v4l v2) input_switch: 0 mode_switch: 1
> 2012-04-13 14:17:08.636688 N AutoExpire: CalcParams(): Max required
> Free Space: 2.0 GB w/freq: 15 min 2012-04-13 14:17:08.713835 N
> AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15
> min 2012-04-13 14:17:08.720114 E
> RecordingInfo::InsertProgram(ProgramInfo(1063_20120413141708.mpg):
> channame(Turner Classic Movies) startts(Fri Apr 13 13:15:00 2012)
> endts(Fri Apr 13 15:00:00 2012) recstartts(Fri Apr 13 14:17:08 2012)
> recendts(Fri Apr 13 15:00:00 2012) title(Seven Brides for Seven
> Brothers)): recording already exists... 2012-04-13 14:17:19.108956 I
> TVRec(7): Changing from WatchingLiveTV to None 2012-04-13
> 14:17:26.109926 I MainServer::ANN Playback
>
> FE
>
> 2012-04-13 14:17:01.095217 N Player(0): Waited 7362ms for video
> buffers AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.197406 N
> Player(0): Waited 7464ms for video buffers
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.299860 N
> Player(0): Waited 7566ms for video buffers
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.402054 N
> Player(0): Waited 7668ms for video buffers
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.504241 N
> Player(0): Waited 7771ms for video buffers
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAUuLP 2012-04-13 14:17:01.512050 W AFD:
> Audio 523 ms behind video but already 220 video frames queued. AV-Sync
> might be broken. 2012-04-13 14:17:01.514109 W AFD: Audio 557 ms behind
> video but already 220 video frames queued. AV-Sync might be broken.
> 2012-04-13 14:17:01.516159 W AFD: Audio 542 ms behind video but
> already 220 video frames queued. AV-Sync might be broken. 2012-04-13
> 14:17:01.520097 W AFD: Audio 551 ms behind video but already 220 video
> frames queued. AV-Sync might be broken. 2012-04-13 14:17:01.524914 W
> AFD: Audio 537 ms behind video but already 220 video frames queued.
> AV-Sync might be broken. 2012-04-13 14:17:03.598867 I
> RingBuf(/home/mythtv/rec/1025_20120413141653.mpg): Waited 0.2 seconds
> for data to become available... 23108 < 32768 2012-04-13
> 14:17:03.654220 I RingBuf(/home/mythtv/rec/1025_20120413141653.mpg):
> Waited 0.2 seconds for data to become available... 23108 < 32768
> 2012-04-13 14:17:19.045676 E
> FileRingBuf(/home/mythtv/rec/1063_20120413141709.mpg): OpenFile(): File
> too small (0B). 2012-04-13 14:17:19.045713 E Player(0):
> JumpToProgram's OpenFile failed (card type: MPEG). 2012-04-13
> 14:17:19.045850 E LiveTVChain has 6 entries DUMMY: 1063 (14:16:42 to
> 14:16:42) MPEG: 1063 (14:16:43 to 14:16:53) discontinuous DUMMY: 1025
> (14:16:52 to 14:16:53) discontinuous MPEG: 1025 (14:16:53 to 14:17:08)
> discontinuous DUMMY: 1063 (14:17:08 to 14:17:08) discontinuous
> * MPEG: 1063 (14:17:09 to 15:00:00) discontinuous
>
> 2012-04-13 14:17:19.045876 E Player(0): Unknown recorder error,
> exiting decoder 2012-04-13 14:17:19.089768 I TV: Attempting to change
> from WatchingLiveTV to None 2012-04-13 14:17:26.109265 E
> MythSocket(7f67b880cb60:48): readStringList: Error, timed out after
> 7000 ms. 2012-04-13 14:17:26.109330 E
> RemoteEncoder::SendReceiveStringList(): No response. 2012-04-13
> 14:17:26.109368 I TV: Changing from WatchingLiveTV to None
>
> --
> Cheers, Saul
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


stichnot at gmail

Apr 13, 2012, 4:17 PM

Post #16 of 39 (2887 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 13, 2012 at 12:22 PM, Saul A. Peebsen <jaglover [at] gmail> wrote:
> This ticket is about changing channels from guide, I can't change
> channels from guide nor by typing the numbers.
[logs]

This probably deserves a new ticket. If you open one, attach FE and
BE logs with "-v general,playback,channel", and make sure the version
info is clear. Also indicate whether these tuners are part of an
input group you defined. I found some suspicious code in the frontend
channel-changing code, particularly with respect to input groups, but
I couldn't actually get anything to fail so I left it alone.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 13, 2012, 4:26 PM

Post #17 of 39 (2895 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 13, 2012 at 12:28 PM, Michael Wareman
<michael [at] waremanfamily> wrote:
> Jim, if there is anything from my system or logs that would help pin it down
> - I would be happy to help out.

Thanks for the offer. Fortunately (or cursedly, depending on how you
look at it), I can easily reproduce the problem and have gigabytes of
logs to show for it, but I'm new to this part of the code base and the
expert can't reproduce it...

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


michael at waremanfamily

Apr 20, 2012, 4:38 PM

Post #18 of 39 (2741 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

Hi Jim,

I saw your commit towards this (
http://www.gossamer-threads.com/lists/mythtv/commits/514122 ) - but still
having the issue. Just wanted to let you know that (at least for me) your
suspicion about this not being the root cause is a good one.

It's strange - the transition just not (FOX - Simpsons => The Office)
seemed to happen OK - then at 4 mins into The Office the video paused - and
then after a minute or so dropped back to main menu with the dreaded 'Video
frame buffering failed too many times'. I wonder why it took 4 minutes.

Michael.

On Fri, Apr 13, 2012 at 6:26 PM, Jim Stichnoth <stichnot [at] gmail> wrote:

> On Fri, Apr 13, 2012 at 12:28 PM, Michael Wareman
> <michael [at] waremanfamily> wrote:
> > Jim, if there is anything from my system or logs that would help pin it
> down
> > - I would be happy to help out.
>
> Thanks for the offer. Fortunately (or cursedly, depending on how you
> look at it), I can easily reproduce the problem and have gigabytes of
> logs to show for it, but I'm new to this part of the code base and the
> expert can't reproduce it...
>
> Jim
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>


jyavenard at gmail

Apr 20, 2012, 5:03 PM

Post #19 of 39 (2754 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On 21 April 2012 09:38, Michael Wareman <michael [at] waremanfamily> wrote:
> Hi Jim,
>
> I saw your commit towards this (
> http://www.gossamer-threads.com/lists/mythtv/commits/514122) - but still
> having the issue. Just wanted to let you know that (at least for me) your
> suspicion about this not being the root cause is a good one.
>
> It's strange - the transition just not (FOX - Simpsons => The Office) seemed
> to happen OK - then at 4 mins into The Office the video paused - and then
> after a minute or so dropped back to main menu with the dreaded 'Video frame
> buffering failed too many times'. I wonder why it took 4 minutes.

you are running master or fixes/0.25?

and don't top post
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


michael at waremanfamily

Apr 20, 2012, 6:51 PM

Post #20 of 39 (2735 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 20, 2012 at 7:03 PM, Jean-Yves Avenard <jyavenard [at] gmail>wrote:
>
> you are running master or fixes/0.25?
>
> and don't top post


fixes/0.25 from Mythbuntu (currently 0.25.0+fixes.20120420.eb7e73e).

..and sorry 'bout the top-post. Mail client default - I should know better..

Michael.


stichnot at gmail

Apr 20, 2012, 7:21 PM

Post #21 of 39 (2739 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Fri, Apr 20, 2012 at 4:38 PM, Michael Wareman
<michael [at] waremanfamily> wrote:
> Hi Jim,
>
> I saw your commit towards this (
> http://www.gossamer-threads.com/lists/mythtv/commits/514122) - but still
> having the issue. Just wanted to let you know that (at least for me) your
> suspicion about this not being the root cause is a good one.
>
> It's strange - the transition just not (FOX - Simpsons => The Office) seemed
> to happen OK - then at 4 mins into The Office the video paused - and then
> after a minute or so dropped back to main menu with the dreaded 'Video frame
> buffering failed too many times'. I wonder why it took 4 minutes.

That change didn't quite work, though it was a step in the right
direction. A subsequent commit to Master does it right, but I haven't
committed it to 0.25-fixes because I'm now seeing a new premature EOF
problem when the program transition happens.

I can't explain why it would fail midway through a program, but I've
seen that reported elsewhere.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jyavenard at gmail

Apr 20, 2012, 9:05 PM

Post #22 of 39 (2725 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Saturday, 21 April 2012, Michael Wareman wrote:

>
>
> fixes/0.25 from Mythbuntu (currently 0.25.0+fixes.20120420.eb7e73e).
>
>
Then the fixes aren't in there yet as the roOt cause hasn't been identified
yet.


>


kenni at kelu

Apr 21, 2012, 4:25 AM

Post #23 of 39 (2723 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

Den 21/04/2012 01.38 skrev "Michael Wareman" <michael [at] waremanfamily>:
>
> Hi Jim,
>
> I saw your commit towards this (
http://www.gossamer-threads.com/lists/mythtv/commits/514122 ) - but still
having the issue. Just wanted to let you know that (at least for me) your
suspicion about this not being the root cause is a good one.
>
> It's strange - the transition just not (FOX - Simpsons => The Office)
seemed to happen OK - then at 4 mins into The Office the video paused - and
then after a minute or so dropped back to main menu with the dreaded 'Video
frame buffering failed too many times'. I wonder why it took 4 minutes.
>

Interesting...I noticed the same pattern the other day. Every time the
error occurred in the middle of a program, it did it at xx:x4 o'clock. Eg.
at 10:04, 10:14, 10:24, etc. And this was on a news-channel with program
transitions every 10 minutes - 10:00, 10:10, 10:20 etc.

I haven't had time to verify this any further, but I'm fairly sure that all
occurrences I've had of buffer errors, which didn't occur at program
transitions, happened at the beginning of a program. It is not unlikely
that this always was 4 minutes into the program.

Best regards
Kenni


snharris99 at live

Apr 21, 2012, 4:51 AM

Post #24 of 39 (2725 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

>On Saturday, 21 April 2012, Michael Wareman wrote:
>fixes/0.25 from Mythbuntu (currently 0.25.0+fixes.20120420.eb7e73e).


>>Then the fixes aren't in there yet as the roOt cause hasn't been identified yet.

I’m so confused, because everyone keeps saying the “fix” hasn’t been ported to 0.25/fixes yet, but my system magically started being near flawless with live TV transitions right at the same time the “fixes” in 10490 were reported. Prior to that, it had a 100% failure rate.

I’m pretty sure I’m also on fixes, not master....

MythTV Version : v0.25-27-ged7c43e
MythTV Branch : fixes/0.25
Network Protocol : 72
Library API : 0.25.20120408-1

Then again, his version “number” includes a date in it and mine doesn’t. His date indicates 4/20 and I haven’t seen a myth update for a couple days now. I’m also using the Mythbuntu repos.


stichnot at gmail

Apr 21, 2012, 6:29 AM

Post #25 of 39 (2723 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

On Sat, Apr 21, 2012 at 4:51 AM, Scott & Nicole Harris
<snharris99 [at] live> wrote:
>>>Then the fixes aren't in there yet as the roOt cause hasn't been
>>> identified yet.
>
> Im so confused, because everyone keeps saying the fix hasnt been ported
> to 0.25/fixes yet, but my system magically started being near flawless with
> live TV transitions right at the same time the fixes in 10490 were
> reported. Prior to that, it had a 100% failure rate.

The problem seems to affect different systems in different ways.
You're just one of the lucky ones. :)

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


snharris99 at live

Apr 21, 2012, 10:55 AM

Post #26 of 39 (1604 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed Too Many Times' whenever a new program starts (Live TV) [In reply to]

>>>>Then the fixes aren't in there yet as the roOt cause hasn't been
>>>> identified yet.
>>
>> Im so confused, because everyone keeps saying the fix hasnt been
>> ported
>> to 0.25/fixes yet, but my system magically started being near flawless
>> with
>> live TV transitions right at the same time the fixes in 10490 were
>> reported. Prior to that, it had a 100% failure rate.

>The problem seems to affect different systems in different ways.
>You're just one of the lucky ones. :)

>Jim

But that's where my confusion is coming from. My system was *useless* for
live TV up until the "oldfile / stop reads" commit / revert in 10490.
However, unless I'm not understanding, because I'm running 0.25+fixes, none
of these "fixes" in 10490 should have made their way to my system....but
it's fixed and suddenly.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


snharris99 at live

Apr 21, 2012, 12:26 PM

Post #27 of 39 (1603 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

>>>>>Then the fixes aren't in there yet as the roOt cause hasn't been
>>>>> identified yet.
>>>
>>> Im so confused, because everyone keeps saying the fix hasnt been
>>> ported
>>> to 0.25/fixes yet, but my system magically started being near flawless
>>> with
>>> live TV transitions right at the same time the fixes in 10490 were
>>> reported. Prior to that, it had a 100% failure rate.

>>The problem seems to affect different systems in different ways.
>>You're just one of the lucky ones. :)

>>Jim

>But that's where my confusion is coming from. My system was *useless* for
>live TV up until the "oldfile / stop reads" commit / revert in 10490.
>However, unless I'm not understanding, because I'm running 0.25+fixes, none
>of these "fixes" in 10490 should have made their way to my system....but
>it's fixed and suddenly.

I may stand corrected. I sat down to start watching some TV, and it seems
to be back to it's old tricks. "Video Frame Buffering Failed Too Many
Times".

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 21, 2012, 2:12 PM

Post #28 of 39 (1604 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Sat, Apr 21, 2012 at 12:26 PM, Scott & Nicole Harris
<snharris99 [at] live> wrote:
>>> The problem seems to affect different systems in different ways.
>>> You're just one of the lucky ones. :)
>
>> But that's where my confusion is coming from. My system was *useless* for
>> live TV up until the "oldfile / stop reads" commit / revert in 10490.
>> However, unless I'm not understanding, because I'm running 0.25+fixes, none
>> of these "fixes" in 10490 should have made their way to my system....but
>> it's fixed and suddenly.
>
>
> I may stand corrected. I sat down to start watching some TV, and it seems
> to be back to it's old tricks. "Video Frame Buffering Failed Too Many
> Times".

I think only one commit in this area has gone to fixes/0.25, with a
couple other subsequent commits going only to Master.

The latest commit to Master may (crossing my fingers) solve the bulk
of the problem. My plan is to let that bake for a week or two and
then commit everything to fixes/0.25. I'd appreciate hearing from
folks running Master whether this changes anything.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


michael at waremanfamily

Apr 21, 2012, 6:25 PM

Post #29 of 39 (1644 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Sat, Apr 21, 2012 at 4:12 PM, Jim Stichnoth <stichnot [at] gmail> wrote:

> The latest commit to Master may (crossing my fingers) solve the bulk
> of the problem. My plan is to let that bake for a week or two and
> then commit everything to fixes/0.25. I'd appreciate hearing from
> folks running Master whether this changes anything.
>
> Jim


Jim,

I just saw this ( http://code.mythtv.org/trac/ticket/10490#comment:29 ) -
keeping fingers crossed it works.

Many thanks for tracking this down for us! Even though I know most
probably never watch live - it's gets a lot of use in our house - with the
TV being background noise to a home worker. I did see a slight change today
- again on a program change the stream 'hung' on the frontend - then we
dropped back to the main menu - then LiveTV spawned again instead of
throwing the buffer failed message. Very strange.

Michael.


warpme at o2

Apr 22, 2012, 8:47 AM

Post #30 of 39 (1628 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On 4/21/12 11:12 PM, Jim Stichnoth wrote:
> On Sat, Apr 21, 2012 at 12:26 PM, Scott& Nicole Harris
> <snharris99 [at] live> wrote:
>>>> The problem seems to affect different systems in different ways.
>>>> You're just one of the lucky ones. :)
>>> But that's where my confusion is coming from. My system was *useless* for
>>> live TV up until the "oldfile / stop reads" commit / revert in 10490.
>>> However, unless I'm not understanding, because I'm running 0.25+fixes, none
>>> of these "fixes" in 10490 should have made their way to my system....but
>>> it's fixed and suddenly.
>>
>> I may stand corrected. I sat down to start watching some TV, and it seems
>> to be back to it's old tricks. "Video Frame Buffering Failed Too Many
>> Times".
> I think only one commit in this area has gone to fixes/0.25, with a
> couple other subsequent commits going only to Master.
>
> The latest commit to Master may (crossing my fingers) solve the bulk
> of the problem. My plan is to let that bake for a week or two and
> then commit everything to fixes/0.25. I'd appreciate hearing from
> folks running Master whether this changes anything.
>
> Jim
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Jim,

FYI
I backported all recent (0349883 & 7c7852f) master LiveTV commits to
0.25-fixes and unfortunately livetv works much worse for me compared to
current vanilla 0.25-fixes.
With recent commits from master almost every transition ends in main
menu, while current 0.25-fixes ends let say 1 on 10.
With current 0.25-fixes I also observed another trigger causing livetv
"return main menu": pressing info on just switched new livetv segment.
Doing this causes hang on livetv playback every 2-4 tries.
Sorry passing not nice feedback....

My sys has separate BE & FE. FE are disk-less PXE booted over GE
network. BE part is ext3.

-br
Attachments: warpme.vcf (83 B)


stichnot at gmail

Apr 22, 2012, 9:11 AM

Post #31 of 39 (1630 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Sun, Apr 22, 2012 at 8:47 AM, Warpme <warpme [at] o2> wrote:
> FYI
> I backported all recent (0349883 & 7c7852f) master LiveTV commits to
> 0.25-fixes and unfortunately livetv works much worse for me compared to
> current vanilla 0.25-fixes.
> With recent commits from master almost every transition ends in main menu,
> while current 0.25-fixes ends let say 1 on 10.
> With current 0.25-fixes I also observed another trigger causing livetv
> "return main menu": pressing info on just switched new livetv segment. Doing
> this causes hang on livetv playback every 2-4 tries.
> Sorry passing not nice feedback....
>
> My sys has separate BE & FE. FE are disk-less PXE booted over GE network. BE
> part is ext3.

Thanks for the feedback, now I have another person to bug for feedback
on future changes. :)

On my system running Master, transitions have pretty much stopped
failing with the "video frame buffering failed" messages. However,
there is often a 15-20 second freeze between transitions which I'm now
looking into, so I don't consider it fixed by any means. Behavior
tends to be slightly different depending on whether I'm viewing ATSC
OTA or HDPVR content. I suspect that has to do with bitrate -- lower
bitrate recordings may be more likely to show the bugs as they are
more likely to cause false EOF conditions.

FWIW, my FE/BE setup is similar to yours, except the file systems are ext4.

Progress is unfortunately slow, as I have limited windows of time to
play around with the production backend, and then it takes time to
study frontend and backend logs that are 20-30 MB each...

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 22, 2012, 10:35 AM

Post #32 of 39 (1621 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Sun, Apr 22, 2012 at 9:11 AM, Jim Stichnoth <stichnot [at] gmail> wrote:
> On Sun, Apr 22, 2012 at 8:47 AM, Warpme <warpme [at] o2> wrote:
>> FYI
>> I backported all recent (0349883 & 7c7852f) master LiveTV commits to
>> 0.25-fixes and unfortunately livetv works much worse for me compared to
>> current vanilla 0.25-fixes.
>> With recent commits from master almost every transition ends in main menu,
>> while current 0.25-fixes ends let say 1 on 10.
>> With current 0.25-fixes I also observed another trigger causing livetv
>> "return main menu": pressing info on just switched new livetv segment. Doing
>> this causes hang on livetv playback every 2-4 tries.
>> Sorry passing not nice feedback....
>>
>> My sys has separate BE & FE. FE are disk-less PXE booted over GE network. BE
>> part is ext3.
>
> Thanks for the feedback, now I have another person to bug for feedback
> on future changes. :)
>
> On my system running Master, transitions have pretty much stopped
> failing with the "video frame buffering failed" messages. However,
> there is often a 15-20 second freeze between transitions which I'm now
> looking into, so I don't consider it fixed by any means. Behavior
> tends to be slightly different depending on whether I'm viewing ATSC
> OTA or HDPVR content. I suspect that has to do with bitrate -- lower
> bitrate recordings may be more likely to show the bugs as they are
> more likely to cause false EOF conditions.
>
> FWIW, my FE/BE setup is similar to yours, except the file systems are ext4.
>
> Progress is unfortunately slow, as I have limited windows of time to
> play around with the production backend, and then it takes time to
> study frontend and backend logs that are 20-30 MB each...

For those people still seeing the problem in Master, I would
appreciate hearing if the following makes any difference. In
libs/libmythtv/ringbuffer.cpp, find the single instance of
"remotefile->SetTimeout(true);" (in the RingBuffer::run() method) and
comment it out. Only the frontend needs to be restarted with this
change. I'm still seeing problems with this mechanism even after the
related commits to Master.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 23, 2012, 12:16 PM

Post #33 of 39 (1577 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Sun, Apr 22, 2012 at 8:47 AM, Warpme <warpme [at] o2> wrote:
> FYI
> I backported all recent (0349883 & 7c7852f) master LiveTV commits to
> 0.25-fixes and unfortunately livetv works much worse for me compared to
> current vanilla 0.25-fixes.
> With recent commits from master almost every transition ends in main menu,
> while current 0.25-fixes ends let say 1 on 10.
> With current 0.25-fixes I also observed another trigger causing livetv
> "return main menu": pressing info on just switched new livetv segment. Doing
> this causes hang on livetv playback every 2-4 tries.
> Sorry passing not nice feedback....

At this point, I have fixed all the "error to the main menu"
situations that I can reproduce, in both fixes/0.25 and master. There
are still a couple of minor issues I'm aware of: a slight glitch at
the program transition, and weird current time and duration
information in the progress bar after the first transition, but I
stopped seeing the failures.

After picking up the changes, if anyone still sees an error to the
main menu, I'd like to hear about it.

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


warpme at o2

Apr 23, 2012, 12:54 PM

Post #34 of 39 (1555 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On 4/23/12 9:16 PM, Jim Stichnoth wrote:
> On Sun, Apr 22, 2012 at 8:47 AM, Warpme<warpme [at] o2> wrote:
>> FYI
>> I backported all recent (0349883& 7c7852f) master LiveTV commits to
>> 0.25-fixes and unfortunately livetv works much worse for me compared to
>> current vanilla 0.25-fixes.
>> With recent commits from master almost every transition ends in main menu,
>> while current 0.25-fixes ends let say 1 on 10.
>> With current 0.25-fixes I also observed another trigger causing livetv
>> "return main menu": pressing info on just switched new livetv segment. Doing
>> this causes hang on livetv playback every 2-4 tries.
>> Sorry passing not nice feedback....
> At this point, I have fixed all the "error to the main menu"
> situations that I can reproduce, in both fixes/0.25 and master. There
> are still a couple of minor issues I'm aware of: a slight glitch at
> the program transition, and weird current time and duration
> information in the progress bar after the first transition, but I
> stopped seeing the failures.
>
> After picking up the changes, if anyone still sees an error to the
> main menu, I'd like to hear about it.
>
> Jim
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Jim,

I just rebuild latest 0.25-fixes (v0.25-54-g46062bf-dirty-20120423) and
will let You know how it goes. So far testing briefly on few transitions
and looks OK. After few days of test I will report how it goes.

During those tests however I got BE deadlock :-(
Iit is repeatable as I remember few days ago I had it also.

Scenario:
-is 8:28PM, livetv plays.
-I have scheduled another recording at 8:30PM.
-just before 8:30PM I got pop-up with question: watch& record; back to
main menu & record; cancel recording and keep watching.
-I select cancel recording and decided to watching livetv.
-At 8:30PM livetv freezes and BE become deadlocked (famous PROTO_EMPTY
on all FE).

Unfortunately no logs as I was in panic & quickly restarted BE as all my
home mates become highly nervous about unresponsive system....

-br
Attachments: warpme.vcf (83 B)


stichnot at gmail

Apr 23, 2012, 1:05 PM

Post #35 of 39 (1616 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Mon, Apr 23, 2012 at 12:54 PM, Warpme <warpme [at] o2> wrote:
> I just rebuild latest 0.25-fixes (v0.25-54-g46062bf-dirty-20120423) and will
> let You know how it goes. So far testing briefly on few transitions and
> looks OK. After few days of test I will report how it goes.
>
> During those tests however I got BE deadlock :-(
> Iit is repeatable as I remember few days ago I had it also.
>
> Scenario:
> -is 8:28PM, livetv plays.
> -I have scheduled another recording at 8:30PM.
> -just before 8:30PM I got pop-up with question: watch& record; back to main
> menu & record; cancel recording and keep watching.
> -I select cancel recording and decided to watching livetv.
> -At 8:30PM livetv freezes and BE become deadlocked (famous PROTO_EMPTY on
> all FE).
>
> Unfortunately no logs as I was in panic & quickly restarted BE as all my
> home mates become highly nervous about unresponsive system....

That happened to me too, and I was able to capture a backtrace and
logs. I expect that should get fixed quickly. Fortunately it's a
completely unrelated problem.
http://code.mythtv.org/trac/ticket/10647

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jaglover at gmail

Apr 23, 2012, 1:14 PM

Post #36 of 39 (1584 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Mon, 23 Apr 2012 12:16:26 -0700
Jim Stichnoth <stichnot [at] gmail> wrote:

> After picking up the changes, if anyone still sees an error to the
> main menu, I'd like to hear about it.

Thank you for your work, below is the FE output on terminal, attempted
channel change, did git pull 10 min ago.


2012-04-23 15:11:55.228516 N Player(0): Waited 307ms for video buffers
UUUUUUuLAAAAAAAAAAAAAAAAAAAUUUUP 2012-04-23 15:12:07.391336 E
FileRingBuf(/home/mythtv/rec/1063_20120423151157.mpg): OpenFile(): File
too small (0B). 2012-04-23 15:12:07.391375 E Player(0):
JumpToProgram's OpenFile failed (card type: MPEG). 2012-04-23
15:12:07.391467 E LiveTVChain has 4 entries DUMMY: 1027 (15:11:46 to
15:11:47) MPEG: 1027 (15:11:47 to 15:11:56) discontinuous DUMMY: 1063
(15:11:56 to 15:11:57) discontinuous
* MPEG: 1063 (15:11:57 to 16:15:00) discontinuous

2012-04-23 15:12:07.391494 E Player(0): Unknown recorder error,
exiting decoder 2012-04-23 15:12:07.435504 I TV: Attempting to change
from WatchingLiveTV to None 2012-04-23 15:12:14.467509 E
MythSocket(2755ad0:47): readStringList: Error, timed out after 7000 ms.
2012-04-23 15:12:14.467575 E RemoteEncoder::SendReceiveStringList():
No response. 2012-04-23 15:12:14.467615 I TV: Changing from
WatchingLiveTV to None 2012-04-23 15:12:14.467657 I MythCoreContext:
Connecting to backend server: 192.168.2.4:6543 (try 1 of 1) 2012-04-23
15:12:14.468154 I Using protocol version 72 2012-04-23 15:12:14.490715
I TV: Exiting main playback loop. 2012-04-23 15:12:14.490727 E
MythSystemEventHandler: SendMythSystemPlayEvent() called with empty
ProgramInfo 2012-04-23 15:12:14.494802 I TV: Attempting to change from
None to WatchingLiveTV 2012-04-23 15:12:14.494910 I MythCoreContext:
Connecting to backend server: 192.168.2.4:6543 (try 1 of 1) 2012-04-23
15:12:14.495187 I Using protocol version 72 2012-04-23 15:12:14.499497
N TV: Spawning LiveTV Recorder -- begin 2012-04-23 15:12:21.502589 E
MythSocket(3f7dbb0:29): readStringList: Error, timed out after 7000 ms.
2012-04-23 15:12:21.502647 E RemoteEncoder::SendReceiveStringList():
No response. 2012-04-23 15:12:21.502669 N TV: Spawning LiveTV Recorder
-- end 2012-04-23 15:12:21.503222 E GetEntryAt(-1) failed. 2012-04-23
15:12:21.503233 E It appears that your backend may be misconfigured.
Check your backend logs to determine whether your capture cards,
lineups, channels, or storage configuration are reporting errors. This
issue is commonly caused by failing to complete all setup steps
properly. You may wish to review the documentation for mythtv-setup.
2012-04-23 15:12:21.503287 E EntryToProgram(0 [at] We Dec 31 18:00:00
1969) failed to get pginfo 2012-04-23 15:12:21.503299 E TV:
HandleStateChange(): LiveTV not successfully started 2012-04-23
15:12:21.503334 E TV: LiveTV not successfully started 2012-04-23
15:12:21.503369 I TV: Main UI disabled. 2012-04-23 15:12:21.503378 I
TV: Entering main playback loop. 2012-04-23 15:12:21.503672 I
ScreenSaverX11Private: DPMS Reactivated 1 2012-04-23 15:12:21.504289 I
ScreenSaverX11Private: DPMS Deactivated 1 2012-04-23 15:12:21.504317 I
TV: Exiting main playback loop. 2012-04-23 15:12:21.540783 N Resuming
idle timer

--
Cheers, Saul
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jaglover at gmail

Apr 23, 2012, 1:19 PM

Post #37 of 39 (1562 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Mon, 23 Apr 2012 15:14:54 -0500
"Saul A. Peebsen" <jaglover [at] gmail> wrote:

> On Mon, 23 Apr 2012 12:16:26 -0700
> Jim Stichnoth <stichnot [at] gmail> wrote:
>
> > After picking up the changes, if anyone still sees an error to the
> > main menu, I'd like to hear about it.
>
> Thank you for your work, below is the FE output on terminal, attempted
> channel change, did git pull 10 min ago.
>
>
> 2012-04-23 15:11:55.228516 N Player(0): Waited 307ms for video
...

Forgot to add, BE became unresponsive, nothing less than kill -9 shut
it down.

--
Cheers, Saul
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


stichnot at gmail

Apr 24, 2012, 6:24 AM

Post #38 of 39 (1564 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Mon, Apr 23, 2012 at 1:19 PM, Saul A. Peebsen <jaglover [at] gmail> wrote:
> On Mon, 23 Apr 2012 15:14:54 -0500
> "Saul A. Peebsen" <jaglover [at] gmail> wrote:
>
>> On Mon, 23 Apr 2012 12:16:26 -0700
>> Jim Stichnoth <stichnot [at] gmail> wrote:
>>
>> > After picking up the changes, if anyone still sees an error to the
>> > main menu, I'd like to hear about it.
>>
>> Thank you for your work, below is the FE output on terminal, attempted
>> channel change, did git pull 10 min ago.
>>
>>
>> 2012-04-23 15:11:55.228516 N Player(0): Waited 307ms for video
> ...
>
> Forgot to add, BE became unresponsive, nothing less than kill -9 shut
> it down.

The unresponsive backend is a separate issue that I've also
encountered while testing live TV, but haven't looked into yet. If
you can reproduce it reliably, then a new ticket should be opened (but
first I need to figure out the best logging arguments).

Jim
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


michael at waremanfamily

Apr 24, 2012, 8:13 PM

Post #39 of 39 (1551 views)
Permalink
Re: 0.25-fixes 'Video Frame Buffering Failed TooMany Times' whenever a new program starts (Live TV) [In reply to]

On Mon, Apr 23, 2012 at 2:16 PM, Jim Stichnoth <stichnot [at] gmail> wrote:
>At this point, I have fixed all the "error to the main menu"

> >situations that I can reproduce, in both fixes/0.25 and master. There

> >are still a couple of minor issues I'm aware of: a slight glitch at

> >the program transition, and weird current time and duration

> >information in the progress bar after the first transition, but I

> >stopped seeing the failures.

> >

> >After picking up the changes, if anyone still sees an error to the
>main menu, I'd like to hear about it.

Thanks Jim - I have 0.25.0+fixes.20120423.46062bf now on all my nodes. I'll
let it bake a few days and let you know. Unfortunately - everyone was out
today so not much LiveTV to go on.

Michael.

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.