Also, any ebuilds?
Thanks.



mplayer2 includes no vaapi code as of now, so this won't help.f4c3m3l70r wrote:There are new masked sources 2.0_p20111126 in portage right now.

Code: Select all
Dropping frame with size not matching configured size
Too many buffered pts
Code: Select all
cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/bs2b -I/usr/include/dirac -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock -c -o libmpdemux/demux_rtp.o libmpdemux/demux_rtp.cpp
libmpdemux/demux_rtp.cpp: In function 'char* openURL_rtsp(RTSPClient*, const char*)':
libmpdemux/demux_rtp.cpp:99:20: error: 'class RTSPClient' has no member named 'describeWithPassword'
libmpdemux/demux_rtp.cpp:101:20: error: 'class RTSPClient' has no member named 'describeURL'
libmpdemux/demux_rtp.cpp: In function 'demuxer_t* demux_open_rtp(demuxer_t*)':
libmpdemux/demux_rtp.cpp:155:82: error: invalid conversion from 'int' to 'const char*'
libmpdemux/demux_rtp.cpp:155:82: error: initializing argument 2 of 'static RTSPClient* RTSPClient::createNew(UsageEnvironment&, const char*, int, const char*, portNumBits)'
libmpdemux/demux_rtp.cpp:155:82: error: invalid conversion from 'const char*' to 'int'
libmpdemux/demux_rtp.cpp:155:82: error: initializing argument 3 of 'static RTSPClient* RTSPClient::createNew(UsageEnvironment&, const char*, int, const char*, portNumBits)'
libmpdemux/demux_rtp.cpp:155:82: error: invalid conversion from 'int' to 'const char*'
libmpdemux/demux_rtp.cpp:155:82: error: initializing argument 4 of 'static RTSPClient* RTSPClient::createNew(UsageEnvironment&, const char*, int, const char*, portNumBits)'
libmpdemux/demux_rtp.cpp:245:21: error: 'class RTSPClient' has no member named 'setupMediaSubsession'
libmpdemux/demux_rtp.cpp:257:24: error: 'class RTSPClient' has no member named 'playMediaSession'
libmpdemux/demux_rtp.cpp: In function 'void teardownRTSPorSIPSession(RTPState*)':
libmpdemux/demux_rtp.cpp:646:27: error: 'class RTSPClient' has no member named 'teardownMediaSession'
libmpdemux/demux_rtp.cpp: In function 'char* openURL_rtsp(RTSPClient*, const char*)':
libmpdemux/demux_rtp.cpp:103:1: warning: control reaches end of non-void function
make: *** [libmpdemux/demux_rtp.o] Error 1
Download mplayer-vaapi here:Gregoire wrote:I had to remove live's useflag in order to compil but mplayer -vo vaapi -va vaapi crash at start.
As I wrote in order to compil both the snapshot and the git source I had to remove live from my system.Arctic wrote:Download mplayer-vaapi here:Gregoire wrote:I had to remove live's useflag in order to compil but mplayer -vo vaapi -va vaapi crash at start.
https://gitorious.org/vaapi/mplayer
It works for me , the cpu use is lower than vlc but the problem is tearing in the movies, ati drivers has an option to avoid it but then cpu use increase at 40% and video isnt smooth , ati drivers for gpu video suck.
I guess if you try to use coreavc it get better but i am not a big fan about privative software is is hard to me use privative ati drivers.
Regards
Code: Select all
./mplayer -vo vaapi -va vaapi /tmp/try.mkv
MPlayer SVN-r34578-4.5.3 (C) 2000-2012 MPlayer Team
Playing /tmp/try.mkv.
Cache fill: 0.00% (0 bytes)
libavformat version 53.22.0 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0
[lavf] stream 2: subtitle (text), -sid 0
VIDEO: [H264] 1280x688 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in /tmp/
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.39.1 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 1 ch, s16le, 640.0 kbit/83.33% (ratio: 80000->96000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [oss] 48000Hz 1ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [vaapi] 1280x688 => 1280x688 H.264 VA-API Acceleration [fs]
[VD_FFMPEG] XVMC-accelerated MPEG-2.
MPlayer interrupted by signal 11 in module: decode video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Parent process disappeared, exiting cache process.
They changed site trees .....................nicoseb wrote:I have managed to install the git version of mplayer-vaapi (thanks for suggesting to remove live package)
Unfortunately it did not configure with vaapi hence did not compile the vaapi Video Output driver...
I used to have it running with that "old" mplayer-vaapi ebuild, I have libva installed, and vlc is able to use it.
I also tried to force the flags "*HW_ACCEL_VAAPI*" but it could not compile because ffmpeg would not recognize these...
What did I do wrong?
Thanks,
Code: Select all
tar -xvzf file_nameCode: Select all
cat /var/log/Xorg.0.log | grep UVDCode: Select all
(II) fglrx(0): UVD feature is enabled(II) fglrx(0):Thank you so much artic!Arctic wrote:Can you paste this output and your card model ????
i am using an HD4290 it must load udvd2 but only load udvCode: Select all
cat /var/log/Xorg.0.log | grep UVD
Code: Select all
(II) fglrx(0): UVD feature is enabled(II) fglrx(0):
Code: Select all
grep UVD /var/log/Xorg.0.log
(II) fglrx(0): UVD2 feature is availableYep. mobile i7 w/Ivy Bridge, seems to be working fine for me.Gregoire wrote:Anyone able to use this mplayer -vo vaapi -va vaapi anyfile with intel GPU ?
In my HD4290 runs smooth ,but you can try VLC works better for me (vaapi)nicoseb wrote:I have been talking too fast...
mplayer compiled with vaapi and I can now use it for my videos, but I get some artifact that I did not use to have:
- for NON-MKV videos, it shows a black screen. If I do any scrolling, the video show up for a second and then go back to a black screen
- for MKV videos (or bluray) the video shows up but with terrible artifacts, one second it is the right frames, and the next it is frames from another scene ...
Any insight guys?
Thanks
Hehe yeah I know both vaapi and bluray are not working too well...Arctic wrote:In my HD4290 runs smooth ,but you can try VLC works better for me (vaapi)
Check video level , only right play 4.1 level or less, bluray (m2ts) linux support is not good.
Try this , install the opensource driver (you can read the wiki radeon howto) , and compile mesa and mplayer with vdpau support , then try to play something using :nicoseb wrote:Hehe yeah I know both vaapi and bluray are not working too well...Arctic wrote:In my HD4290 runs smooth ,but you can try VLC works better for me (vaapi)
Check video level , only right play 4.1 level or less, bluray (m2ts) linux support is not good.
VLC is working better but I just like mplayer better
With my earlier version, mplayer used to be able to play mkv OK without artifact...
Bluray was hopeless at the time though, now I can get it to work but with artifacts!
i'm just not sure if there is anything I can play with to help, or if this is just a lost cause...
Thanks for your answer though!
If the same issue happens to some other people: I used -vo vaapi:gl which was creating artifacts... -vo vaapi works OK a bit too slow on some videos...
Code: Select all
mplayer -vo vdpau videoiwnatoplayThanks again Arctic.Try this , install the opensource driver (you can read the wiki radeon howto) , and compile mesa and mplayer with vdpau support , then try to play something using :
In my pc the cpu uses 5-10% with blu-ray 1080pCode: Select all
mplayer -vo vdpau videoiwnatoplay
Opensource driver has developement some code to uses vdapu api with mesa , using gallium 3d engine for video aceleratopn.
Regards
Code: Select all
mplayer -vo vdpau -vc ffmpeg12vdpau