LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   HD video playback on 2nd gen core i3 with vlc (https://www.linuxquestions.org/questions/slackware-14/hd-video-playback-on-2nd-gen-core-i3-with-vlc-892195/)

Totoro-kun 07-17-2011 01:50 PM

HD video playback on 2nd gen core i3 with vlc
 
1 Attachment(s)
Good evening,
I have a weird HD video in wmv and mkf files playback problem. Every HD video i attempt to play using vlc with vaapi hardware acceleration looks like this:

My hardware configuration is i3 cpu, and i am using it's integrated HD2000 video card, which has DVI, HDMI and VGA outputs, which all i am using (not at the same time). However, the problem is present in every combination (DVI only. DVI+HDMI. DVI+VGA. DVI+HDMI+VGA).

As for software, I am using stock 32bit Slackware 13.37, with stock 2.37.6 kernel. And for HD video playback I have installed VLC-1.1.10. libva-0.32.0 and MPlayer-20110624 all these packages came from Alien pastures, so they are quality packages :) And my vlc settings are also stock :/

Code:

$ vainfo
libva: libva version 0.32.0-sds2
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: i965 Driver 0.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :        VAEntrypointVLD
      VAProfileMPEG2Main              :        VAEntrypointVLD
      VAProfileH264Baseline          :        VAEntrypointVLD
      VAProfileH264Main              :        VAEntrypointVLD
      VAProfileH264High              :        VAEntrypointVLD
      VAProfileVC1Simple              :        VAEntrypointVLD
      VAProfileVC1Main                :        VAEntrypointVLD
      VAProfileVC1Advanced            :        VAEntrypointVLD

Now if I disable hardaware acceleration feature in vlc settings, all videos are played fine. But I can see alot of horizontal tearing lines.

Maybe someone has an idea what I am missing or where I could start looking for problems?

Many thanks

Totoro-kun 07-19-2011 11:33 AM

Just tried to build mplayer-vaapi-latest-FULL.tar.bz2 from here: http://www.splitted-desktop.com/~gbe...mplayer-vaapi/ done by the method in the README and ./mplayer -vo vaapi -va vaapi <URI> works well. I can see the video, and cpu usage is about 4-6% for 1080p. So this means that something wrong is with vlc. Not sure what though.

Now would be nice to get SlackBuild for mplayer-vaapi, so I could have it installed as main player, however it is a biot annoying to switch btween video out's as -vo vaapi isn't working with normal avi files. So if possible, I would like to fix vlc somehow.

By the way, how do you get on with hd video?

dugan 07-19-2011 01:13 PM

Quote:

Originally Posted by Totoro-kun (Post 4419169)
Now would be nice to get SlackBuild for mplayer-vaapi

Done. Here:

http://pastebin.com/n86XY0Jy

Totoro-kun 07-21-2011 12:47 PM

Thank you for a SlackBuild.
It builds just fine, and I've got mplayer-vaapi package, but for some reason it does not work with -vo vaapi. I can see the video window, but it's black. I can hear audio. And terminal is full of this error:
Code:

[vo_vaapi] vaPutImage(): operation failed
A: 196.4 V: 196.4 A-V:  0.008 ct:  0.096  0/  0 39% 51%  0.7% 0 1

Something is very weird here. If i use mplayer without arguments, or with -vo xv, i can see video just fine.

***!!!EDIT!!!***
False alarm. Everything works well affter revising my .mplayer/config file and removing this line:
vf=pp=de,hqdn3d

I am now a happy slacker. Cheers :)


All times are GMT -5. The time now is 03:06 AM.