[mythtv-users] Audio lag with H264 on internal player.

babstar babstar at internode.on.net
Fri Sep 3 06:28:59 UTC 2010


I'm trying to playback a H264 file, and I get bad audio lag with this file
(several second delay, and speech is in slow-mo). The video is not crisp
(not stuttering, just not smooth).  I suspect the problem is related to my
audio setup, but I cant' figure it out.

If I switch to utilizing Xine instead of the internal player, it plays back
crisply with good audio.  This file also plays back on a laptop (Dell studio
C2D).
If I switch to another ALSA device, the playback goes back to being smooth
(but now missing audio completely).

Any hints would be appreciated, thanks



Here's a log snippet:

tail -n 100 /tmp/mythfrontend.26033.log
2010-09-03 16:08:58.817 Using screen 0, 1024x768 at 0,0
2010-09-03 16:08:58.818 Using theme base resolution of 800x600
2010-09-03 16:08:58.824 LIRC: Successfully initialized '/dev/lircd' using
'/home/xxx/.mythtv/lircrc' config
2010-09-03 16:08:58.824 JoystickMenuThread Error: Joystick disabled - Failed
to read /home/xxx/.mythtv/joystickmenurc
2010-09-03 16:08:58.852 Using Frameless Window
2010-09-03 16:08:58.941 Using the Qt painter
2010-09-03 16:08:59.114 MythFontProperties, Warning: Attempting to define
'small'
                        with face 'DejaVu Sans', but it already exists with
face 'Arial'
                        Location:
/usr/share/mythtv/themes/MythCenter/base.xml @ 989
                        Name: 'small'   Type: 'font'
2010-09-03 16:08:59.120 MythFontProperties, Error: Failed to load
'Thorndale', got 'DejaVu Sans' instead
                        Location:
/usr/share/mythtv/themes/MythCenter/base.xml @ 995
                        Name: 'medium'  Type: 'font'
2010-09-03 16:08:59.133 MythFontProperties, Error: Failed to load
'Thorndale', got 'DejaVu Sans' instead
                        Location:
/usr/share/mythtv/themes/MythCenter/base.xml @ 1001
                        Name: 'large'   Type: 'font'
2010-09-03 16:08:59.138 MythFontProperties, Error: Failed to load
'Thorndale', got 'DejaVu Sans' instead
                        Location:
/usr/share/mythtv/themes/MythCenter/base.xml @ 1007
                        Name: 'clock'   Type: 'font'
2010-09-03 16:08:59.138 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/MythCenter/base.xml'
2010-09-03 16:08:59.148 XMLParseBase: Loaded base theme from
'/usr/share/mythtv/themes/default/base.xml'
2010-09-03 16:08:59.153 Current MythTV Schema Version (DBSchemaVer): 1254
2010-09-03 16:08:59.384 Registering Internal as a media playback plugin.
2010-09-03 16:08:59.396 Cannot load language en_us for module mytharchive
2010-09-03 16:08:59.398 Cannot load language en_us for module mythbrowser
2010-09-03 16:08:59.400 Registering WebBrowser as a media playback plugin.
2010-09-03 16:08:59.400 Cannot load language en_us for module mythbrowser
2010-09-03 16:08:59.418 MediaMonitorUnix::AddDevice() - empty device path.
2010-09-03 16:08:59.418 MediaMonitorUnix::AddDevice() - empty device path.
2010-09-03 16:08:59.418 MediaMonitorUnix::AddDevice() - empty device path.
2010-09-03 16:08:59.418 MonitorRegisterExtensions(0x100, gif,jpg,png)
2010-09-03 16:08:59.419 Cannot load language en_us for module mythgallery
2010-09-03 16:08:59.422 Cannot load language en_us for module mythgame
2010-09-03 16:08:59.424 Cannot load language en_us for module mythmovies
2010-09-03 16:08:59.434 Current MythMusic Schema Version (MusicDBSchemaVer):
1017
2010-09-03 16:08:59.455 MonitorRegisterExtensions(0x40,
mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2010-09-03 16:08:59.458 Cannot load language en_us for module mythmusic
2010-09-03 16:08:59.462 Cannot load language en_us for module mythnetvision
2010-09-03 16:08:59.465 Cannot load language en_us for module mythnews
2010-09-03 16:08:59.469 Current MythVideo Schema Version
(mythvideo.DBSchemaVer): 1032
2010-09-03 16:08:59.483 Cannot load language en_us for module mythvideo
2010-09-03 16:08:59.487 Cannot load language en_us for module mythweather
2010-09-03 16:08:59.488 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/MythCenter/menu-ui.xml
2010-09-03 16:08:59.543 Loading menu theme from
/usr/share/mythtv/themes/defaultmenu//mainmenu.xml
2010-09-03 16:08:59.544 Found mainmenu.xml for theme 'MythCenter'
2010-09-03 16:08:59.696 MythContext: Connecting to backend server:
192.168.0.4:6543 (try 1 of 1)
2010-09-03 16:08:59.697 Using protocol version 23056
2010-09-03 16:14:13.501 Loading menu theme from
/usr/share/mythtv/themes/defaultmenu//library.xml
2010-09-03 16:14:15.107 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/MythCenter/video-ui.xml
2010-09-03 16:14:15.224 New DB connection, total: 2
2010-09-03 16:14:15.225 Connected to database 'mythconverg' at host:
localhost
2010-09-03 16:14:15.375 Unable to find image file: No Cover
2010-09-03 16:14:15.375 Unable to find image file: No Cover
2010-09-03 16:14:16.315 Unable to find image file: No Cover
2010-09-03 16:14:16.316 Unable to find image file: No Cover
2010-09-03 16:14:16.316 Unable to find image file: No Cover
2010-09-03 16:14:16.317 Unable to find image file: No Cover
2010-09-03 16:14:17.007 Unable to find image file: No Cover
2010-09-03 16:14:17.008 Unable to find image file: No Cover
2010-09-03 16:14:17.009 Unable to find image file: No Cover
2010-09-03 16:14:17.009 Unable to find image file: No Cover
2010-09-03 16:14:17.320 Unable to find image file: No Cover
2010-09-03 16:14:17.320 Unable to find image file: No Cover
2010-09-03 16:14:17.321 Unable to find image file: No Cover
2010-09-03 16:14:17.321 Unable to find image file: No Cover
2010-09-03 16:14:17.431 Unable to find image file: No Cover
2010-09-03 16:14:17.432 Unable to find image file: No Cover
2010-09-03 16:14:17.432 Unable to find image file: No Cover
2010-09-03 16:14:17.433 Unable to find image file: No Cover
2010-09-03 16:14:20.252 XMLParseBase: Loading window theme from
/usr/share/mythtv/themes/MythCenter/video-ui.xml
2010-09-03 16:14:20.272 Unable to find image file:
mv_browse_nocover_large.png
2010-09-03 16:14:21.180 TV: Attempting to change from None to WatchingVideo
2010-09-03 16:14:21.397 AFD: Opened codec 0x2a6d830, id(H264) type(Video)
2010-09-03 16:14:21.397 AFD: codec AAC has 6 channels
2010-09-03 16:14:21.397 AFD: Opened codec 0x2a6de90, id(AAC) type(Audio)
2010-09-03 16:14:21.403 Opening audio device 'plughw:0,0'. ch 2(2) sr 48000
(reenc 0)
2010-09-03 16:14:21.403 Opening ALSA audio device 'plughw:0,0'.
2010-09-03 16:14:21.605 Mixer unable to find control Master 1
2010-09-03 16:14:21.605 mixer unable to find control Master 1
2010-09-03 16:14:21.605 Mixer unable to find control Master 1
2010-09-03 16:14:21.605 mixer unable to find control Master 1
2010-09-03 16:14:21.732 VDPAU: Created 2 output surfaces.
2010-09-03 16:14:21.732 VDPAU: Version 1
2010-09-03 16:14:21.732 VDPAU: Information NVIDIA VDPAU Driver Shared
Library  195.36.24  Thu Apr 22 19:52:55 PDT 2010
2010-09-03 16:14:21.732 VDPAU: Created VDPAU render device 972x730
2010-09-03 16:14:21.760 NVP(0): Forcing decode extra audio option on (Video
method requires it).
2010-09-03 16:14:21.761 FilterManager: Failed to load filter 'colorspace',
no such filter exists
2010-09-03 16:14:21.762 OSD Theme Dimensions W: 640 H: 480
2010-09-03 16:14:21.817 TV: Changing from None to WatchingVideo
2010-09-03 16:14:21.818 New DB connection, total: 3
2010-09-03 16:14:21.818 Using realtime priority.
2010-09-03 16:14:21.819 Connected to database 'mythconverg' at host:
localhost
2010-09-03 16:14:21.821 OpenGLVideoSync()
2010-09-03 16:14:21.847 ScreenSaverX11Private: DPMS Deactivated 1
2010-09-03 16:14:21.931 Video timing method: SGI OpenGL
2010-09-03 16:14:21.949 VDPAU: Added 2 output surfaces (total 4, max 4)
2010-09-03 16:14:47.256 TV: Attempting to change from WatchingVideo to None
2010-09-03 16:14:47.280 TV: Changing from WatchingVideo to None
2010-09-03 16:14:47.280 ScreenSaverX11Private: DPMS Reactivated 1
2010-09-03 16:14:47.285 ~OpenGLVideoSync() -- closing opengl vsync
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100903/dee09d75/attachment-0001.htm>


More information about the mythtv-users mailing list