Problem with audio and mplayer vaapi

Players, codecs, and video acceleration
Post Reply
lars
Posts: 6
Joined: Thu Jul 30, 2009 9:56 pm

Problem with audio and mplayer vaapi

Post by lars »

Hi all,
I have installed Ubuntu 8.04 on my fit-Pc2 according to Denis step by step described in
http://www.fit-pc2.com/forum/viewtopic.php?f=9&t=655

But when I start mplayer the video runs very well but the audio is not in sync with the video.
I have tried a lot of different -ao options when I start the mplayer from the command line.
But no luck.


Any suggestions ?

/Lars
See below ....


xxxxx~/Videos$ mplayer -vo vaapi -va vaapi True.Blood.S01E05.720p.HDTV.x264-2HD.mkv
MPlayer UNKNOWN-4.2.4 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing True.Blood.S01E05.720p.HDTV.x264-2HD.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
libva: libva version 0.30.4-sds2
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/psb_drv_video.so
psb_drv_video error: vsync enabled for psb video driver, will try best to eliminate tearing.
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VA API accelerated codec.
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 VA API Acceleration)
VDec: using H.264 VA API Acceleration as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1280x720 => 1280x720 H.264 VA API Acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
A: 60.6 V: 60.1 A-V: 0.497 ct: 0.042 0/ 0 1% 31% 2.5% 103 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************


Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 77.4 V: 75.4 A-V: 2.032 ct: 0.042 0/ 0 2% 45% 2.5% 456 0

lars
Posts: 6
Joined: Thu Jul 30, 2009 9:56 pm

Re: Problem with audio and mplayer vaapi

Post by lars »

Hi,
The problem is solved by upgrading to Ubuntu 9.04 and using
OSS/ioctl audio output. :D

Post Reply

Return to “Multimedia in Linux”