[mythtv-users] VDPAU on older pre-G98 8400 GS

Ben Dailey ben at inspiredtechs.com
Tue Jan 5 20:10:20 UTC 2010


On Tue, Jan 5, 2010 at 9:49 AM, Eric Sharkey <eric at lisaneric.org> wrote:

> On Mon, Jan 4, 2010 at 11:09 PM, Frank Merrill <fmerrill1 at gmail.com>
> wrote:
> > If 1920x1080 is what you want, and/or need, then I doubt that a G86
> > core is going to do it all that well.
>
> I have some evidence to the contrary.  It's starting to look like a
> mythtv issue.  I took the same recording file from the mythtv
> directory and instead of playing it with mythfrontend I played it with
> mplayer -vo vdpau -fs and it played without stutter.  Even adding
> :deint=3 turned on deinterlacing and it still didn't stutter.  But
> mythfrontend can't play it smoothly.
>
> The frontend log says:
>
> 2010-01-05 08:06:21.361 TV: Attempting to change from None to Watching
> WatchingP
> reRecorded
> 2010-01-05 08:06:21.433 TV: StartPlayer(0, Watching WatchingPreRecorded,
> main) -
> - begin
> 2010-01-05 08:06:21.601 AFD: Opened codec 0x8f8c1b0, id(MPEG2VIDEO)
> type(Video)
> 2010-01-05 08:06:21.601 AFD: codec AC3 has 2 channels
> 2010-01-05 08:06:21.601 AFD: Opened codec 0x8f49060, id(AC3) type(Audio)
> 2010-01-05 08:06:21.603 Opening audio device 'spdif'. ch 2(2) sr 48000
> 2010-01-05 08:06:21.603 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
> 2010-01-05 08:06:21.881 Mixer unable to find control Master 1
> 2010-01-05 08:06:21.881 mixer unable to find control Master 1
> 2010-01-05 08:06:21.882 Mixer unable to find control Master 1
> 2010-01-05 08:06:21.882 mixer unable to find control Master 1
> 2010-01-05 08:06:21.882 Opening audio device 'spdif'. ch 2(2) sr 48000
> 2010-01-05 08:06:21.882 Opening ALSA audio device 'iec958:{ AES0 0x02 }'.
> 2010-01-05 08:06:21.887 Mixer unable to find control Master 1
> 2010-01-05 08:06:21.887 mixer unable to find control Master 1
> 2010-01-05 08:06:21.887 Mixer unable to find control Master 1
> 2010-01-05 08:06:21.887 mixer unable to find control Master 1
> 2010-01-05 08:06:22.205 OSD Theme Dimensions W: 1280 H: 720
> 2010-01-05 08:06:23.917 TV: StartPlayer(0, Watching WatchingPreRecorded,
> main) -
> - end ok
> 2010-01-05 08:06:23.918 TV: Changing from None to Watching
> WatchingPreRecorded
> 2010-01-05 08:06:23.918 Realtime priority would require SUID as root.
> 2010-01-05 08:06:23.919 Video timing method: USleep with busy wait
> 2010-01-05 08:06:25.612 Failed to enable deinterlacing
> 2010-01-05 08:06:27.230 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.233 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.397 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.400 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.402 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.404 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.406 WriteAudio: buffer underrun
> 2010-01-05 08:06:27.429 WriteAudio: buffer underrun
> [...]
>
> mplayer says:
> MPlayer SVN-r30075 (C) 2000-2009 MPlayer Team
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
>
> Playing 4134_20091226080000.mpg.
> TS file format detected.
> VIDEO MPEG2(pid=2752) AUDIO A52(pid=2753) NO SUBS (yet)!  PROGRAM N. 1
> VIDEO:  MPEG2  704x480  (aspect 2)  29.970 fps  15000.0 kbps (1875.0
> kbyte/s)
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> Try appending the scale filter to your filter list,
> e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Unsupported PixelFormat -1
> Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> No accelerated IMDCT transform found
> AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ==========================================================================
> AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
> Starting playback...
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [vdpau] 704x480 => 704x528 Planar YV12  [fs]
> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
> framerate.
> demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
> framerate.
> demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
> framerate.
> demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
> [...]
>
> Eric


Eric,

I maybe very wrong here but from my reading of the following log output
mplayer is failing on VDPAU output and falling back to ffmpeg libavcodec
implementation for  playback and not using vdpau.

<snip>
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
</snip>

HTH,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100105/f22cb9b7/attachment.htm>


More information about the mythtv-users mailing list