[mythtv-users] Playback problems after upgrading from SVN 13635 to 13769

Ben Dailey ben at inspiredtechs.com
Mon Jul 9 20:36:42 UTC 2007


Dave,

My apologies I looked only at my response and not the complete thread
and assumed you were having a different issue. What version of myth do
you have compiled? I believe there has been a recent change to
re-enable pthreads in the ffmpeg libs this is just purely a guess as
to what was causing your pre-buffer pauses but I have seen improved
playback performance since pthreads have been re-enabled.

Thanks,
Ben

On 7/9/07, David Frascone <dave at frascone.com> wrote:
> Was that the wrong changset? It seems unrelated, since I do not experience a
> crash?
>
> Let's make sure I was responding to proper thread . . Oh -- maybe not . .
> I'm getting lots of these:
>  2007-06-26 21:24:54.094 NVP: prebuffering pause
>
> But with no other relevant errors:
> 2007-07-09 14:49:55.073 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
> Texture'
> 2007-07-09 14:49:55.763 Using realtime priority.
> 2007-07-09 14:49:55.763 TV: Changing from None to WatchingPreRecorded
> 2007-07-09 14:49:55.866 Video timing method: RTC
> 2007-07-09 14:50:30.958 NVP: Prebuffer wait timed out 10 times.
> 2007-07-09 14:50:39.185 NVP: prebuffering pause
> 2007-07-09 14:50:40.491 NVP: prebuffering pause
> 2007-07-09 14:50:41.877 NVP: prebuffering pause
> 2007-07-09 14:51:22.569 NVP: prebuffering pause
> 2007-07-09 14:51: 34.163 NVP: prebuffering pause
> 2007-07-09 14:51:35.152 NVP: prebuffering pause
> 2007-07-09 14:51:39.038 NVP: prebuffering pause
> 2007-07-09 14:51:54.270 NVP: prebuffering pause
> 2007-07-09 14:53:51.858 NVP: prebuffering pause
> 2007-07-09 14:54:45.024 NVP: prebuffering pause
> 2007-07-09 14:54:45.617 NVP: prebuffering pause
> 2007-07-09 14:54:55.784 NVP: prebuffering pause
> 2007-07-09 14:54:58.181 NVP: prebuffering pause
> 2007-07-09 14:55: 03.027 NVP: prebuffering pause
> 2007-07-09 14:55:23.579 NVP: prebuffering pause
> 2007-07-09 14:55:27.465 NVP: prebuffering pause
> 2007-07-09 14:55:31.127 NVP: prebuffering pause
> 2007-07-09 14:56:21.245 NVP: prebuffering pause
> 2007-07-09 14:56:23.338 NVP: prebuffering pause
> 2007-07-09 14:56:25.591 NVP: prebuffering pause
> 2007-07-09 14:57:11.836 NVP: prebuffering pause
> 2007-07-09 14:57:21.061 NVP: prebuffering pause
>
>
> I'll start adding more debug to see what's going on.
>
> -Dave
>
>
>
> On 7/9/07, Ben Dailey <ben at inspiredtechs.com> wrote:
> > Dave,
> >
> > This has been resolved since r13796 in svn head. Details here:
> > http://svn.mythtv.org/trac/changeset/13796
> >
> > Hope this helps.
> > Ben
> >
> > On 7/9/07, David Frascone < dave at frascone.com> wrote:
> > > On 6/27/07, Ben Dailey <ben at inspiredtechs.com> wrote:
> > >
> > > > Matt,
> > > >
> > > > If you roll back to 13764 do you still have the issue? There are have
> been
> > > two (2) recent ffmpeg sync's one at revision 13655 which introduced an
> audio
> > > through a blender type sound because AC3 decoding was moved internally
> to
> > > ffmpeg from liba52. Then a second ffmpeg sync was done on 13765 to
> resolve
> > > the audio issues created by 13655. Since 13765 mythfrontend crashes
> after
> > > playing a a fraction to a few seconds of audio. I haven't had time to
> build
> > > a debug release yet and get a ticket filed because I am still trying to
> > > convince the wife that this is worth my time and the more time it is
> broken
> > > that worse my cause :). So to get my system working well again I
> recompile
> > > with the following additional configure options: --enable-liba52
> > > --enable-liba52bin --disable-decoder=ac3 --enable-decoder=liba52. These
> move
> > > AC3 decoding out to the external liba52 to do audio decoding this
> requires
> > > that you have a52dec installed on your system. I hope this has been
> helpful
> > > and look forward to see if this helps solve your problem?
> > > >
> > > > Thanks,
> > > > Ben
> > > >
> > > >
> > > >
> > > > On 6/27/07, Matt < skd5aner at gmail.com> wrote:
> > > > > On 6/27/07, Matt <skd5aner at gmail.com> wrote:
> > > > > > Here is my log with -v audio,playback.  I'm only attaching the
> part of
> > > > > > the log where (I'm fairly sure) the issue is appearing.  Although,
> I'm
> > > > > > not sure if it points out useful info or not:
> > > > > >
> > > > > > 2007-06-27 11:35:16.639 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.639 AO: audio waiting for buffer to fill: have
> > > > > > 4160 want 6144
> > > > > > 2007-06-27 11:35:16.639 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:16.669 AO: audio waiting for buffer to fill: have
> > > > > > 4160 want 6144
> > > > > > 2007-06-27 11:35: 16.669 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:16.699 AO: audio waiting for buffer to fill: have
> > > > > > 4160 want 6144
> > > > > > 2007-06-27 11:35:16.699 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:16.729 AO: audio waiting for buffer to fill: have
> > > > > > 4160 want 6144
> > > > > > 2007-06-27 11:35:16.729 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35: 16.729 Avg read interval was 184 msec. 64K block
> size
> > > > > > 2007-06-27 11:35:16.739 NVP: prebuffering pause
> > > > > > 2007-06-27 11:35:16.740 NVP: Waiting for prebuffer.. 0
> > > > > > AAAAAAAAAAAAAAAAAAAAAAAAauALAAA
> > > > > > 2007-06-27 11:35:16.759 AO: OutputAudioLoop: audio paused
> > > > > > 2007-06-27 11:35:16.759 AO: 62912 bytes free on soundcard
> > > > > > 2007-06-27 11:35:16.759 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.780 Avg read interval was 198 msec. 64K block
> size
> > > > > > 2007-06-27 11:35:16.789 AO: 62528 bytes free on soundcard
> > > > > > 2007-06-27 11:35:16.789 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.819 AO: 62176 bytes free on soundcard
> > > > > > 2007-06-27 11:35:16.819 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.849 AO: 61824 bytes free on soundcard
> > > > > > 2007-06-27 11:35:16.849 NVP: Waiting for prebuffer.. 1
> > > > > > AAAAAAAAAAAAAAAAAAAAAAAAAUUuUuL
> > > > > > 2007-06-27 11:35: 16.850 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.880 AO: 61440 bytes free on soundcard
> > > > > > 2007-06-27 11:35:16.880 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.910 AO: 61088 bytes free on soundcard
> > > > > > 2007-06-27 11:35: 16.910 WriteAudio: Preparing 6144 bytes (1536
> > > frames)
> > > > > > 2007-06-27 11:35: 16.910 Avg read interval was 185 msec. 64K block
> size
> > > > > > 2007-06-27 11:35:16.940 AO: 60736 bytes free on soundcard
> > > > > > 2007-06-27 11:35: 16.940 WriteAudio: Preparing 6144 bytes (1536
> > > frames)
> > > > > > 2007-06-27 11:35:16.960 NVP: Waiting for prebuffer.. 2
> > > > > > uULAAAAAAAAAAAAAAAAAAAAAAUUUUUu
> > > > > > 2007-06-27 11:35:16.970 AO: 60384 bytes free on soundcard
> > > > > > 2007-06-27 11:35:16.970 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:16.971 Avg read interval was 180 msec. 64K block
> size
> > > > > > 2007-06-27 11:35: 16.990 AO: 58112 bytes free on soundcard
> > > > > > 2007-06-27 11:35:17.010 AO: 61952 bytes free on soundcard
> > > > > > 2007-06-27 11:35:17.010 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35: 17.011 Avg read interval was 198 msec. 64K block
> size
> > > > > > 2007-06-27 11:35:17.030 AO: 59680 bytes free on soundcard
> > > > > > 2007-06-27 11:35:17.031 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.051 AO: OutputAudioLoop: Play Event
> > > > > > 2007-06-27 11:35: 17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.051 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.051 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.051 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35: 17.051 WriteAudio: Preparing 6144 bytes (1536
> > > frames)
> > > > > > 2007-06-27 11:35:17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.051 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35: 17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.051 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.051 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.051 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35: 17.052 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > > 2007-06-27 11:35:17.052 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35: 17.052 WriteAudio: Preparing 6144 bytes (1536
> > > frames)
> > > > > > 2007-06-27 11:35:17.052 AO: audio waiting for buffer to fill: have
> > > > > > 4928 want 6144
> > > > > > 2007-06-27 11:35:17.052 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.071 AO: audio waiting for buffer to fill: have
> > > > > > 4928 want 6144
> > > > > > 2007-06-27 11:35:17.071 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35: 17.091 AO: audio waiting for buffer to fill:
> have
> > > > > > 4928 want 6144
> > > > > > 2007-06-27 11:35:17.091 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.111 AO: Broadcasting free space avail
> > > > > > 2007-06-27 11:35:17.111 WriteAudio: Preparing 6144 bytes (1536
> frames)
> > > > > >
> > > > > >
> > > > > > Thanks!
> > > > > > Matt
> > > > > >
> > > > >
> > > > > Just rolled back to 13635 - and the issue disappeared.  This
> > > > > eliminates the upgraded Alsa version as the cause.  I suspect this
> is
> > > > > due to the recent ffmpeg sync.  Please let me know what I can do to
> > > > > help.  If I don't receive any feedback on the list, I'll submit a
> bug
> > > > > report.
> > > > >
> > > > > Thanks!
> > > > > Matt
> > > >
> > >
> > >
> > > Have there been any updates to this?  I just realized that this is
> exactly
> > > the problem I'm seeing.
> > >
> > > -Dave
> > >
> > >
> > >
> > >
> > > --
> > > David Frascone
> > >
> > > Oxymoron: Safe Sex.
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > >
> > >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
>
>
> --
>
> David Frascone
>
> Oxymoron: Safe Sex.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>


More information about the mythtv-users mailing list