[mythtv-users] Audio Buffer Underruns with XvMC and HD in 0.20

Michael Halcrow mike at halcrow.us
Sat Sep 16 23:59:02 UTC 2006


On Sat, Sep 16, 2006 at 04:19:38PM -0400, Randall Blecher wrote:
> On 9/16/06, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
> >
> >of note, CBS & NBC are 1080i, FOX is 720p. Perhaps it has something to
> >do with your choice in deinterlace algorithm? Make sure you are using
> >Bob or Onefield, and perhaps trying both (or neither if you have
> >OpenGL Vsync enabled).
> >
> >
> I am having this problem both with and without deinterlace enabled.

I am also having a similar problem. MPlayer can play the .mpg files
back flawlessly w/ about a 25% CPU utilization. MythTV stutters the
audio and video. I have tried everything suggested in this thread,
and I have also tried the XvMC hacks on the wiki. Version 0.19 plays
back fine, until an OSD event occurs, and then it hangs.

---
2006-09-16 18:44:13.153 TV: Attempting to change from None to
WatchingPreRecorded
0: start_time: 974.729 duration: 161.608
1: start_time: 974.698 duration: 161.594
2: start_time: 974.698 duration: 161.603
stream: start_time: 10829.974 duration: 1795.991 bitrate=14312 kb/s
2006-09-16 18:44:13.218 AFD: Opened codec 0x900080, id(MPEG2VIDEO)
type(Video)
2006-09-16 18:44:13.219 AFD: Opened codec 0x8ff4b0, id(AC3)
type(Audio)
2006-09-16 18:44:13.219 AFD: Opened codec 0x900650, id(AC3)
type(Audio)
0: start_time: 974.729 duration: 161.608
1: start_time: 974.698 duration: 161.594
2: start_time: 974.698 duration: 161.603
stream: start_time: 10829.974 duration: 1795.991 bitrate=14312 kb/s
2006-09-16 18:44:13.348 AFD: Opened codec 0x9864b0,
id(MPEG2VIDEO_XVMC) type(Video)
2006-09-16 18:44:13.349 AFD: Opened codec 0x986af0, id(AC3)
type(Audio)
2006-09-16 18:44:13.349 AFD: Opened codec 0x987130, id(AC3)
type(Audio)
2006-09-16 18:44:13.352 Opening ALSA audio device 'default'.
2006-09-16 18:44:13.490 VideoOutputXv: XvMCTex: Init failed
2006-09-16 18:44:13.490 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video
Texture'
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  140
  Minor opcode:  14
  Resource id:  0x1a1
2006-09-16 18:44:14.442 Using realtime priority.
2006-09-16 18:44:14.442 TV: Changing from None to WatchingPreRecorded
2006-09-16 18:44:14.442 New DB connection, total: 3
2006-09-16 18:44:14.444 Connected to database 'mythconverg' at host:
localhost
XvMC: picture structure FRAME
2006-09-16 18:44:14.559 Video sync method can't support double
framerate (refresh rate too low for bob deint)
2006-09-16 18:44:14.571 Video timing method: SGI OpenGL
2006-09-16 18:44:14.606 VideoOutputXv Error: ProcessFrameXvMC: Failed
to get OSD lock
2006-09-16 18:44:14.641 AO: dropping back audio_buffer_unused
2006-09-16 18:44:14.852 WriteAudio: buffer underrun
2006-09-16 18:44:14.921 WriteAudio: buffer underrun
2006-09-16 18:44:14.986 WriteAudio: buffer underrun
---

Mike
.___________________________________________________________________.
The world will end in 5 minutes.  Please log out.


More information about the mythtv-users mailing list