<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On 1 May 2014, at 1:47 pm, "Anthony Hill" &lt;<a href="mailto:arhill@gmail.com">arhill@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div><div><div><div><div><div>Hey all,<br><br></div><div>Please excuse the repost - but I've had no TV for almost 2 weeks - I (and the kids) are getting frantic !<br></div><div><br></div>..to reiterate -&nbsp; I;ve got this killer problem - with VDPAU and audio enabled, video and audio stutter and play real slow on the latest mythbuntu.<br>
<br></div>I've tried all the available nvidia drivers (from the hardware drivers menu), messed with the audio buffers, created scripts to spin the CPU to make sure it doesnt drop too low, and tried every combination of audio output devices and each VDPAU profile. Audio is just standard analog stereo out the front headphone / speaker jack.<br>
<br></div>The only things that have made any significant difference are :-<br><br></div>* disable audio. Video is smooth and full speed using all VDPAU profiles for HD and SD video and TV if I use the null audio driver.<br>
</div>* disable VDPAU. Sound and video are fine, as long as I dont play HD video or TV.<br><br></div>..this is a stock mythbuntu system - no crazy drivers from weird repositories or anything. The hardware has been awesome on older mythtv's using VDPAU.<br>
<br></div>Totem and XBMC both play HD video fine. mplayer is a bit crap tho. (audio sync is all over the place)<br><br></div>I'm surprised no one else is having these problems - I would have thought this hardware would have been a pretty popular frontend - and as I said - its a stock standard mythbuntu install.<br>
<div><div><br></div><div>..I am at a loss - should I raise a ticket ?<br><br></div><div>Thanks.<br><br></div><div>btw. Here is a repost of the logs I collected by watching live SD TV, VDPAU slim profile, with alsa 
default audio.<div dir="ltr"><div><br></div><div>Both the audio and the video were very stuttery and slow. 1/2 speed or less :-<br></div>
<div><div><br></div><div><div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext tv_play.cpp:1058 (TV) TV: Creating TV object</div><div>Apr
 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
 mythmainwindow.cpp:2638 (PauseIdleTimer) Suspending idle timer</div>
<div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext tv_play.cpp:1275 (Init) TV: Created TvPlayWindow.</div><div>Apr
 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
 tv_play.cpp:2201 (HandleStateChange) TV: Attempting to change from None
 to WatchingLiveTV</div>
<div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext mythcorecontext.cpp:423 (ConnectCommandSocket) 
MythCoreContext: Connecting to backend server: <a href="http://10.0.100.10:6543" target="_blank">10.0.100.10:6543</a> (try 1 of 1)</div>
<div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: N 
CoreContext tv_play.cpp:2270 (HandleStateChange) TV: Spawning LiveTV 
Recorder -- begin</div><div>Apr 28 20:59:28 zeddy mythfrontend.real: 
mythfrontend[10855]: N CoreContext tv_play.cpp:2277 (HandleStateChange) 
TV: Spawning LiveTV Recorder -- end</div>
<div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext tv_play.cpp:2298 (HandleStateChange) TV: playbackURL(myth://<a href="http://10.0.100.10:6543/1560_20140428105853.mpg" target="_blank">10.0.100.10:6543/1560_20140428105853.mpg</a>) cardtype(DUMMY)</div>
<div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: E 
CoreContext audio/audiooutputalsa.cpp:172 (GetPCMInfo) ALSA: 
snd_pcm_info_get_card: Operation not permitted</div><div>Apr 28 20:59:28
 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext 
audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio</div>
<div>Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext mythrender_vdpau.cpp:1689 (CreatePresentationSurfaces) 
VDPAU: Created 2 output surfaces.</div><div>Apr 28 20:59:28 zeddy 
mythfrontend.real: mythfrontend[10855]: I CoreContext 
mythrender_vdpau.cpp:411 (Create) VDPAU: Created VDPAU render device 
1920x1080</div>
<div>Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext mythplayer.cpp:1780 (InitAVSync) Player(1): Video timing 
method: USleep with busy wait</div><div>Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext tv_play.cpp:5595 (StartPlayer) TV: Created player.</div>
<div>Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext tv_play.cpp:2459 (HandleStateChange) TV: Changing from None 
to WatchingLiveTV</div><div>Apr 28 20:59:29 zeddy mythfrontend.real: 
mythfrontend[10855]: I CoreContext tv_play.cpp:2471 (HandleStateChange) 
TV: State is LiveTV &amp; mctx == ctx</div>
<div>Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext tv_play.cpp:2473 (HandleStateChange) TV: UpdateOSDInput done</div><div>Apr
 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
 tv_play.cpp:2475 (HandleStateChange) TV: UpdateLCD done</div>
<div>Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext tv_play.cpp:2477 (HandleStateChange) TV: ITVRestart done</div><div>Apr
 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
 tv_play.cpp:2550 (HandleStateChange) TV: Main UI disabled.</div>
<div>Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext tv_play.cpp:411 (StartTV) TV: Entering main playback loop.</div><div>Apr
 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
 mythrender_vdpau.cpp:597 (CheckOutputSurfaces) VDPAU: Added 2 output 
surfaces (total 4, max 4)</div>
<div>Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 2 
channels</div><div>Apr 28 20:59:31 zeddy mythfrontend.real: 
mythfrontend[10855]: I CoreContext avformatdecoder.cpp:2378 
(OpenAVCodec) AFD: Opened codec 0x22e5160, id(AC3) type(Audio)</div>
<div>Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: W 
CoreContext mythpainter.cpp:36 (Teardown) MythPainter: 5 images not yet 
de-allocated.</div><div>Apr 28 20:59:31 zeddy mythfrontend.real: 
mythfrontend[10855]: I CoreContext mythpainter_vdpau.cpp:108 
(ClearCache) VDPAU Painter: Clearing VDPAU painter cache.</div>
<div>Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext mythrender_vdpau.cpp:1689 (CreatePresentationSurfaces) 
VDPAU: Created 2 output surfaces.</div><div>Apr 28 20:59:31 zeddy 
mythfrontend.real: mythfrontend[10855]: I CoreContext 
mythrender_vdpau.cpp:411 (Create) VDPAU: Created VDPAU render device 
1920x1080</div>
<div>Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: N 
CoreContext mythplayer.cpp:523 (CheckExtraAudioDecode) Player(1): 
Forcing decode extra audio option on (Video method requires it).</div><div>Apr
 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
 avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x1949580, 
id(MPEG2VIDEO) type(Video)</div>
<div>Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext audio/audiooutputbase.cpp:792 (Reconfigure) AOBase: Opening 
audio device 'default' ch 2(2) sr 48000 sf 32 bit floating point reenc 0</div>
<div>Apr 28 20:59:32 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext mythrender_vdpau.cpp:597 (CheckOutputSurfaces) VDPAU: Added 2
 output surfaces (total 4, max 4)</div><div>Apr 28 20:59:37 zeddy 
mythfrontend.real: mythfrontend[10855]: I CoreContext tv_play.cpp:2201 
(HandleStateChange) TV: Attempting to change from WatchingLiveTV to None</div>
<div>Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: W 
CoreContext mythpainter.cpp:36 (Teardown) MythPainter: 5 images not yet 
de-allocated.</div><div>Apr 28 20:59:37 zeddy mythfrontend.real: 
mythfrontend[10855]: I CoreContext mythpainter_vdpau.cpp:108 
(ClearCache) VDPAU Painter: Clearing VDPAU painter cache.</div>
<div>Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: I 
CoreContext tv_play.cpp:2459 (HandleStateChange) TV: Changing from 
WatchingLiveTV to None</div><div>Apr 28 20:59:37 zeddy 
mythfrontend.real: mythfrontend[10855]: I CoreContext tv_play.cpp:413 
(StartTV) TV: Exiting main playback loop.</div>
<div>Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: N 
CoreContext mythmainwindow.cpp:2643 (PauseIdleTimer) Resuming idle timer</div></div></div></div><div><div><div><div><div><div><div><br>-- <br><div dir="ltr"><div>Regards,<br><br></div>Anthony Hill<br></div>
</div></div></div></div></div></div></div></div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><br></div></blockquote>Do the problems occur with both playback of recorded tv or only LiveTV? If problems with playback of recordings in addition to LiveTV can you post the output of ffmpeg -i '/recording/path/and/file/name.mpg' (or mythffmpeg if that is easier) just to check no weird-and-wonderful things there.<div><br></div><div>Might be also able to start MFE with additional logging parameters to get more info. Others will need to guide you on the specific switches however as I am behind on my reading.</div><div><br></div><div>Seemed to be a short log snippet, would be worth posting right from MFE startup to see if there are any pointers in initialisation. And get say 30sec of stuttering playback in log file.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>