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.<div>
<br></div>
<div>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).</div><div>If I switch to another ALSA device, the playback goes back to being smooth (but now missing audio completely).</div>
<div><br></div><div>Any hints would be appreciated, thanks</div><div><div><br></div><div><br></div><div><br></div><div>Here's a log snippet:</div><div><br></div><div><div>tail -n 100 /tmp/mythfrontend.26033.log </div>
<div>2010-09-03 16:08:58.817 Using screen 0, 1024x768 at 0,0</div><div>2010-09-03 16:08:58.818 Using theme base resolution of 800x600</div><div>2010-09-03 16:08:58.824 LIRC: Successfully initialized '/dev/lircd' using '/home/xxx/.mythtv/lircrc' config</div>
<div>2010-09-03 16:08:58.824 JoystickMenuThread Error: Joystick disabled - Failed to read /home/xxx/.mythtv/joystickmenurc</div><div>2010-09-03 16:08:58.852 Using Frameless Window</div><div>2010-09-03 16:08:58.941 Using the Qt painter</div>
<div>2010-09-03 16:08:59.114 MythFontProperties, Warning: Attempting to define 'small'</div><div> with face 'DejaVu Sans', but it already exists with face 'Arial'</div><div>
Location: /usr/share/mythtv/themes/MythCenter/base.xml @ 989</div>
<div> Name: 'small' Type: 'font'</div><div>2010-09-03 16:08:59.120 MythFontProperties, Error: Failed to load 'Thorndale', got 'DejaVu Sans' instead</div><div> Location: /usr/share/mythtv/themes/MythCenter/base.xml @ 995</div>
<div> Name: 'medium' Type: 'font'</div><div>2010-09-03 16:08:59.133 MythFontProperties, Error: Failed to load 'Thorndale', got 'DejaVu Sans' instead</div><div> Location: /usr/share/mythtv/themes/MythCenter/base.xml @ 1001</div>
<div> Name: 'large' Type: 'font'</div><div>2010-09-03 16:08:59.138 MythFontProperties, Error: Failed to load 'Thorndale', got 'DejaVu Sans' instead</div><div> Location: /usr/share/mythtv/themes/MythCenter/base.xml @ 1007</div>
<div> Name: 'clock' Type: 'font'</div><div>2010-09-03 16:08:59.138 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/MythCenter/base.xml'</div><div>2010-09-03 16:08:59.148 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/default/base.xml'</div>
<div>2010-09-03 16:08:59.153 Current MythTV Schema Version (DBSchemaVer): 1254</div><div>2010-09-03 16:08:59.384 Registering Internal as a media playback plugin.</div><div>2010-09-03 16:08:59.396 Cannot load language en_us for module mytharchive</div>
<div>2010-09-03 16:08:59.398 Cannot load language en_us for module mythbrowser</div><div>2010-09-03 16:08:59.400 Registering WebBrowser as a media playback plugin.</div><div>2010-09-03 16:08:59.400 Cannot load language en_us for module mythbrowser</div>
<div>2010-09-03 16:08:59.418 MediaMonitorUnix::AddDevice() - empty device path.</div><div>2010-09-03 16:08:59.418 MediaMonitorUnix::AddDevice() - empty device path.</div><div>2010-09-03 16:08:59.418 MediaMonitorUnix::AddDevice() - empty device path.</div>
<div>2010-09-03 16:08:59.418 MonitorRegisterExtensions(0x100, gif,jpg,png)</div><div>2010-09-03 16:08:59.419 Cannot load language en_us for module mythgallery</div><div>2010-09-03 16:08:59.422 Cannot load language en_us for module mythgame</div>
<div>2010-09-03 16:08:59.424 Cannot load language en_us for module mythmovies</div><div>2010-09-03 16:08:59.434 Current MythMusic Schema Version (MusicDBSchemaVer): 1017</div><div>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)</div>
<div>2010-09-03 16:08:59.458 Cannot load language en_us for module mythmusic</div><div>2010-09-03 16:08:59.462 Cannot load language en_us for module mythnetvision</div><div>2010-09-03 16:08:59.465 Cannot load language en_us for module mythnews</div>
<div>2010-09-03 16:08:59.469 Current MythVideo Schema Version (mythvideo.DBSchemaVer): 1032</div><div>2010-09-03 16:08:59.483 Cannot load language en_us for module mythvideo</div><div>2010-09-03 16:08:59.487 Cannot load language en_us for module mythweather</div>
<div>2010-09-03 16:08:59.488 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/MythCenter/menu-ui.xml</div><div>2010-09-03 16:08:59.543 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//mainmenu.xml</div>
<div>2010-09-03 16:08:59.544 Found mainmenu.xml for theme 'MythCenter'</div><div>2010-09-03 16:08:59.696 MythContext: Connecting to backend server: <a href="http://192.168.0.4:6543" target="_blank">192.168.0.4:6543</a> (try 1 of 1)</div>
<div>2010-09-03 16:08:59.697 Using protocol version 23056</div><div>2010-09-03 16:14:13.501 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//library.xml</div><div>2010-09-03 16:14:15.107 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/MythCenter/video-ui.xml</div>
<div>2010-09-03 16:14:15.224 New DB connection, total: 2</div><div>2010-09-03 16:14:15.225 Connected to database 'mythconverg' at host: localhost</div><div>2010-09-03 16:14:15.375 Unable to find image file: No Cover</div>
<div>2010-09-03 16:14:15.375 Unable to find image file: No Cover</div><div>2010-09-03 16:14:16.315 Unable to find image file: No Cover</div><div>2010-09-03 16:14:16.316 Unable to find image file: No Cover</div><div>2010-09-03 16:14:16.316 Unable to find image file: No Cover</div>
<div>2010-09-03 16:14:16.317 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.007 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.008 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.009 Unable to find image file: No Cover</div>
<div>2010-09-03 16:14:17.009 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.320 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.320 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.321 Unable to find image file: No Cover</div>
<div>2010-09-03 16:14:17.321 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.431 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.432 Unable to find image file: No Cover</div><div>2010-09-03 16:14:17.432 Unable to find image file: No Cover</div>
<div>2010-09-03 16:14:17.433 Unable to find image file: No Cover</div><div>2010-09-03 16:14:20.252 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/MythCenter/video-ui.xml</div><div>2010-09-03 16:14:20.272 Unable to find image file: mv_browse_nocover_large.png</div>
<div>2010-09-03 16:14:21.180 TV: Attempting to change from None to WatchingVideo</div><div>2010-09-03 16:14:21.397 AFD: Opened codec 0x2a6d830, id(H264) type(Video)</div><div>2010-09-03 16:14:21.397 AFD: codec AAC has 6 channels</div>
<div>2010-09-03 16:14:21.397 AFD: Opened codec 0x2a6de90, id(AAC) type(Audio)</div><div>2010-09-03 16:14:21.403 Opening audio device 'plughw:0,0'. ch 2(2) sr 48000 (reenc 0)</div><div>2010-09-03 16:14:21.403 Opening ALSA audio device 'plughw:0,0'.</div>
<div>2010-09-03 16:14:21.605 Mixer unable to find control Master 1</div><div>2010-09-03 16:14:21.605 mixer unable to find control Master 1</div><div>2010-09-03 16:14:21.605 Mixer unable to find control Master 1</div><div>
2010-09-03 16:14:21.605 mixer unable to find control Master 1</div><div>2010-09-03 16:14:21.732 VDPAU: Created 2 output surfaces.</div><div>2010-09-03 16:14:21.732 VDPAU: Version 1</div><div>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</div>
<div>2010-09-03 16:14:21.732 VDPAU: Created VDPAU render device 972x730</div><div>2010-09-03 16:14:21.760 NVP(0): Forcing decode extra audio option on (Video method requires it).</div><div>2010-09-03 16:14:21.761 FilterManager: Failed to load filter 'colorspace', no such filter exists</div>
<div>2010-09-03 16:14:21.762 OSD Theme Dimensions W: 640 H: 480</div><div>2010-09-03 16:14:21.817 TV: Changing from None to WatchingVideo</div><div>2010-09-03 16:14:21.818 New DB connection, total: 3</div><div>2010-09-03 16:14:21.818 Using realtime priority.</div>
<div>2010-09-03 16:14:21.819 Connected to database 'mythconverg' at host: localhost</div><div>2010-09-03 16:14:21.821 OpenGLVideoSync()</div><div>2010-09-03 16:14:21.847 ScreenSaverX11Private: DPMS Deactivated 1</div>
<div>2010-09-03 16:14:21.931 Video timing method: SGI OpenGL</div><div>2010-09-03 16:14:21.949 VDPAU: Added 2 output surfaces (total 4, max 4)</div><div>2010-09-03 16:14:47.256 TV: Attempting to change from WatchingVideo to None</div>
<div>2010-09-03 16:14:47.280 TV: Changing from WatchingVideo to None</div><div>2010-09-03 16:14:47.280 ScreenSaverX11Private: DPMS Reactivated 1</div><div>2010-09-03 16:14:47.285 ~OpenGLVideoSync() -- closing opengl vsync</div>
</div></div>