[mythtv-users] Sound a second behind video

Mark Hutchinson mark at onnow.net
Tue Mar 11 15:28:16 UTC 2008


Mark Hutchinson wrote:
> Mark Hutchinson wrote:
>   
>> Running latest 21 ATRPMS on F8.
>> Capture via firewire.
>> Nvidia 7300 on 1280x1024 monitor. ( latest livna nvidia drivers 169 )
>> Audigy B PCU sound card
>> I have tried all playback profiles ( and a few custom ones ) but am  
>> seeing all audio about a second(ish) behind video.
>> Aggressive audio enabled.
>>
>> Ideas?
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>   
>>     
> I should mention.  This is ONLY on the SD channels.  HD channels ( 200+ 
> here on HD settop box ) are perfect.
> Here is a frontend log when this behavior happens:
>
> [mythtv at hdtest ~]$ mythfrontend
> 2008-03-11 09:07:40.464 Using runtime prefix = /usr, libdir = /usr/lib64
> 2008-03-11 09:07:41.254 XScreenSaver support enabled
> 2008-03-11 09:07:41.254 DPMS is disabled.
> 2008-03-11 09:07:41.254 Unable to read configuration file mysql.txt
> 2008-03-11 09:07:41.254 Empty LocalHostName.
> 2008-03-11 09:07:41.254 Using localhost value of hdtest.localdomain.com
> 2008-03-11 09:07:41.263 New DB connection, total: 1
> 2008-03-11 09:07:41.267 Connected to database 'mythconverg' at host: localhost
> 2008-03-11 09:07:41.268 Closing DB connection named 'DBManager0'
> 2008-03-11 09:07:41.268 Total desktop dim: 1280x1024, with 1 screen[s].
> 2008-03-11 09:07:41.269 Connected to database 'mythconverg' at host: localhost
> 2008-03-11 09:07:41.269 Using screen 0, 1280x1024 at 0,0
> 2008-03-11 09:07:41.275 New DB connection, total: 2
> 2008-03-11 09:07:41.276 Connected to database 'mythconverg' at host: localhost
> 2008-03-11 09:07:41.277 mythfrontend version: 0.21.20080304-1 www.mythtv.org
> 2008-03-11 09:07:41.277 Enabled verbose msgs:  important general
> 2008-03-11 09:07:41.467 Total desktop dim: 1280x1024, with 1 screen[s].
> 2008-03-11 09:07:41.467 Using screen 0, 1280x1024 at 0,0
> 2008-03-11 09:07:41.469 Switching to square mode (G.A.N.T)
> 2008-03-11 09:07:41.484 Using the Qt painter
> mythtv: could not connect to socket
> mythtv: No such file or directory
> 2008-03-11 09:07:41.485 lirc_init failed for mythtv, see preceding messages
> 2008-03-11 09:07:41.485 JoystickMenuClient Error: Joystick disabled -
> Failed to read /home/mythtv/.mythtv/joystickmenurc
> 2008-03-11 09:07:42.264 Loading from: /usr/share/mythtv/themes/G.A.N.T/base.xml
> 2008-03-11 09:07:42.331 Loading from: /usr/share/mythtv/themes/default/base.xml
> 2008-03-11 09:07:42.364 Registering Internal as a media playback plugin.
> 2008-03-11 09:07:42.395 MonitorRegisterExtensions(0x100, gif,jpg,png)
> 2008-03-11 09:07:42.462 MythMusic adding CD-Writer: 4,0,0 -- DVD-ROM GDR8164B
> 2008-03-11 09:07:42.491 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
> SIP listening on IP Address 192.168.0.110:5060 NAT address 192.168.0.110
> SIP: Cannot register; proxy, username or password not set
> 2008-03-11 09:07:48.819 Connecting to backend server:
> 192.168.0.110:6543 (try 1 of 5)
> 2008-03-11 09:07:48.820 Using protocol version 40
> 2008-03-11 09:07:48.825 TV: Attempting to change from None to WatchingLiveTV
> 2008-03-11 09:07:48.826 Using protocol version 40
> 2008-03-11 09:07:51.385 New DB connection, total: 3
> 2008-03-11 09:07:51.385 Connected to database 'mythconverg' at host: localhost
> 2008-03-11 09:07:51.393 NVP: Disabling Audio, params(-1,2,44100)
> 2008-03-11 09:07:51.409 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
> 2008-03-11 09:07:51.434 OSD Theme Dimensions W: 640 H: 480
> 2008-03-11 09:07:51.976 TV: Changing from None to WatchingLiveTV
> 2008-03-11 09:07:51.978 New DB connection, total: 4
> 2008-03-11 09:07:51.978 Realtime priority would require SUID as root.
> 2008-03-11 09:07:51.978 Connected to database 'mythconverg' at host: localhost
> 2008-03-11 09:07:52.079 OpenGLVideoSync()
> 2008-03-11 09:07:52.111 Video timing method: SGI OpenGL
> 2008-03-11 09:07:54.400 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
> 2008-03-11 09:07:54.723 AFD: Opened codec 0x4040270, id(MPEG2VIDEO) type(Video)
> 2008-03-11 09:07:54.724 AFD: codec AC3 has 2 channels
> 2008-03-11 09:07:54.725 AFD: Opened codec 0x404c470, id(AC3) type(Audio)
> 2008-03-11 09:07:54.751 Opening audio device '/dev/dsp'. ch 2(2) sr 48000
> 2008-03-11 09:07:54.751 Opening OSS audio device '/dev/dsp'.
> 2008-03-11 09:07:54.755 NVP: Enabling Audio
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   

More info.  Here is the best I cna get it.  HD is great, SD still has 
the audio a second behind vid.  But if I rewind live TV a few seconds, 
it is corrected.

Here is my custom playback setting:
if rez > 0 0 -> libmpeg2 & XVideo
xblit and softblend for video renderer
bob2 and one field for deinterlacers.


Ideas on what I can try for getting SD video and audio sync'd?


More information about the mythtv-users mailing list