You are not logged in.

#126 2009-02-18 11:05:47

Rehto
Member
From: Finland
Registered: 2007-04-06
Posts: 41

Re: [Request]MPlayer with vdpau support?

Thank you buddabrod for the packages, mplayer is working great.
I just noticed that I get some serious tearing like vsync isn't working.
How about you guys?

P.S. I also have to disable desktop effects in KDE 4.2 to get decent framerate...

Last edited by Rehto (2009-02-18 11:23:05)

Offline

#127 2009-02-18 12:34:42

Rehto
Member
From: Finland
Registered: 2007-04-06
Posts: 41

Re: [Request]MPlayer with vdpau support?

Offline

#128 2009-02-28 04:29:37

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [Request]MPlayer with vdpau support?

installed smplayer as mplayer frontend and I am getting the following error

/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa, -zoom -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 58720271 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/venky/.config/smplayer/styles.ass -fontconfig -font Arial -subcp ISO-8859-1 -subpos 100 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af equalizer=0:0:0:0:0:0:0:0:0:0 /home/venky/Desktop/Firefox Download/the_dark_knight-tlr3_h1080p.mov

/usr/bin/mplayer: error while loading shared libraries: libfaad.so.1: cannot open shared object file: No such file or directory


Acer Aspire V5-573P Antergos KDE

Offline

#129 2009-02-28 04:44:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

venky80 wrote:

installed smplayer as mplayer frontend and I am getting the following error

/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa, -zoom -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 58720271 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/venky/.config/smplayer/styles.ass -fontconfig -font Arial -subcp ISO-8859-1 -subpos 100 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af equalizer=0:0:0:0:0:0:0:0:0:0 /home/venky/Desktop/Firefox Download/the_dark_knight-tlr3_h1080p.mov

/usr/bin/mplayer: error while loading shared libraries: libfaad.so.1: cannot open shared object file: No such file or directory

The error is because the version of Mplayer that you're running has to be recompiled against the faad2 in the repos. What does this have to do with VDPAU support in Mplayer?

Offline

#130 2009-02-28 04:56:06

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [Request]MPlayer with vdpau support?

oh coz i was using mplayer from this repository, oh so maybe i should wait for an update from this repo
Thanks

On another topic i have dragon player which uses the xine backend and I have xine from this repo, I am not getting any sound but i am getting the video

Last edited by venky80 (2009-02-28 05:05:29)


Acer Aspire V5-573P Antergos KDE

Offline

#131 2009-02-28 14:34:14

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: [Request]MPlayer with vdpau support?

In order to use vdpau, do you have to specify codec and video output manually on a CLI? Is there no way for mplayer to automatically detect "oh, vdpau can be used here, let's use it" or "vdpau doesn't support this, fallback to 'normal codecs and video output'" ?

Offline

#132 2009-02-28 16:40:47

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

skottish wrote:
venky80 wrote:

installed smplayer as mplayer frontend and I am getting the following error

/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa, -zoom -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 58720271 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/venky/.config/smplayer/styles.ass -fontconfig -font Arial -subcp ISO-8859-1 -subpos 100 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af equalizer=0:0:0:0:0:0:0:0:0:0 /home/venky/Desktop/Firefox Download/the_dark_knight-tlr3_h1080p.mov

/usr/bin/mplayer: error while loading shared libraries: libfaad.so.1: cannot open shared object file: No such file or directory

The error is because the version of Mplayer that you're running has to be recompiled against the faad2 in the repos. What does this have to do with VDPAU support in Mplayer?

It IS compiled against faad2 from extra wink

pacman -Qo /usr/lib/libfaad.so.1
/usr/lib/libfaad.so.1 is owned by faad2 2.6.1-2

Check if faad2 is installed correctly.

Edit: The latest revision wont compile and I wont fix anything wink I expect it to be fixed upstream soon.

Last edited by buddabrod (2009-02-28 16:41:52)

Offline

#133 2009-02-28 16:50:12

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

I wasn't thinking about the fact that I have testing enabled. I have a feeling that venky80 might too. faad2 in testing has a so bump. I only installed it to look anyway; I don't use it because Mplayer and FFmpeg have been able to decode aac streams for months without it.

Offline

#134 2009-02-28 19:09:43

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

For everyone's info:

The nVidia drivers that are going into testing today have both the vdpau and cuda headers included. Thanks Arch!

Offline

#135 2009-02-28 20:37:36

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: [Request]MPlayer with vdpau support?

Fackamato wrote:

In order to use vdpau, do you have to specify codec and video output manually on a CLI? Is there no way for mplayer to automatically detect "oh, vdpau can be used here, let's use it" or "vdpau doesn't support this, fallback to 'normal codecs and video output'" ?

You can always select the vdpau video output, even if you use a codec that isn't supported by VDPAU. About the codecs, I have no idea.

Offline

#136 2009-02-28 20:40:35

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: [Request]MPlayer with vdpau support?

Vintendo wrote:
Fackamato wrote:

In order to use vdpau, do you have to specify codec and video output manually on a CLI? Is there no way for mplayer to automatically detect "oh, vdpau can be used here, let's use it" or "vdpau doesn't support this, fallback to 'normal codecs and video output'" ?

You can always select the vdpau video output, even if you use a codec that isn't supported by VDPAU. About the codecs, I have no idea.

Okay, this will work with all movies? I mean, if vdpau output is used, it will accelerate what it can, and play everything else "unaccelerated"? (best of both worlds)

Offline

#137 2009-02-28 20:44:17

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [Request]MPlayer with vdpau support?

skottish wrote:

I wasn't thinking about the fact that I have testing enabled. I have a feeling that venky80 might too. faad2 in testing has a so bump. I only installed it to look anyway; I don't use it because Mplayer and FFmpeg have been able to decode aac streams for months without it.

oh so basically it will be fine when faad2 is out of testing repo..;)
thanks
Also does this mean there will be no more nvidia updates in this repo, since arch now has vdpau in nvidia?

Last edited by venky80 (2009-02-28 20:46:11)


Acer Aspire V5-573P Antergos KDE

Offline

#138 2009-02-28 20:45:01

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: [Request]MPlayer with vdpau support?

No if you  only select the VDPAU output it doesn't excelerate anything. This only happens when you select the right codec. But it saves you to have to select the video output every time you want to use vdpau.

Offline

#139 2009-02-28 21:12:07

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [Request]MPlayer with vdpau support?

ok got faad2 and ffmpeg dowgraded and then installed smplayer, now I am getting the following error

/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa, -zoom -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 56623119 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/venky/.config/smplayer/styles.ass -fontconfig -font Arial -subcp ISO-8859-1 -subpos 100 -volume 40 -cache 2000 -osdlevel 0 -nocorrect-pts -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 /home/venky/Desktop/Firefox Download/the_dark_knight-tlr3_h1080p.mov

MPlayer dev-SVN-r28348-4.3.2 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Unknown option on the command line: -ass
Error parsing option on the command line: -ass
137 audio & 296 video codecs
ID_EXIT=NONE

I dont know how to remove all those flags in mplayer command which smplayer is adding

nevermind I solved it , it was by removing subtitles

Last edited by venky80 (2009-02-28 21:18:53)


Acer Aspire V5-573P Antergos KDE

Offline

#140 2009-03-03 20:43:28

red_erik
Member
Registered: 2009-01-27
Posts: 9

Re: [Request]MPlayer with vdpau support?

ok, so what is the optimal way to get a mplayer with vdpau support at the current time?

Offline

#141 2009-03-03 21:18:02

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

red_erik wrote:

ok, so what is the optimal way to get a mplayer with vdpau support at the current time?

Checkout their svn repo and use that. nvidia dropped support for their own stuff and they will not provide further vdpau patches. At least not officially.

I'm about to create a proper PKGBUILD for that.

Offline

#142 2009-03-03 21:53:05

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: [Request]MPlayer with vdpau support?

so no vdpau for mplayer? or does mplayer devs have to do it by themselves?


Acer Aspire V5-573P Antergos KDE

Offline

#143 2009-03-03 22:14:15

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

venky80 wrote:

so no vdpau for mplayer? or does mplayer devs have to do it by themselves?

It's already done wink I dont know if they adapted nvidias patches or wrote something on their own, but there should be support already.

Offline

#144 2009-03-03 22:23:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:
venky80 wrote:

so no vdpau for mplayer? or does mplayer devs have to do it by themselves?

It's already done wink I dont know if they adapted nvidias patches or wrote something on their own, but there should be support already.

Developers from nVidia worked along side of both FFmpeg and Mplayer to get this done. At least one of them helped out to create the hardware accelerated API that's going into FFmpeg right now (which means into Mplayer also). There's no need for nVidia to provide any patches, and there hasn't been for a while now.

If anyone cares, there's now talk of porting over Mplayers VO code to FFmpeg. That means the FFplay will be able to use a bunch of different output drivers. It also means that new players can start building on that.

Offline

#145 2009-03-03 22:29:24

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

Alright, I added mplayer-svn to my little repo and removed mplayer-vdpau-svn since I see no need for it anymore. Vdpau support of mplayer-svn works great^^

Here goes the PKGBUILD. It'll be in AUR soon, too.

Offline

#146 2009-03-03 22:34:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

Mplayer picks up on vdpau without having to do anything to the PKGBUILD. My Mplayer-svn build is nothing but 'disable' lines and I have VDPAU support. I'm just letting you know because any Mplayer-svn build will automatically factor this in unless told not to.

Offline

#147 2009-03-03 22:49:18

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

skottish wrote:

Mplayer picks up on vdpau without having to do anything to the PKGBUILD. My Mplayer-svn build is nothing but 'disable' lines and I have VDPAU support. I'm just letting you know because any Mplayer-svn build will automatically factor this in unless told not to.

That is right, but there are no mplayer-svn PKGBUILDs around and the latest build in [extra] does not support vdpau.

The only thing I did to the PKGBUILD is to add --enable-vdpau. Just to force it :-)

Last edited by buddabrod (2009-03-03 22:49:45)

Offline

#148 2009-03-03 23:01:23

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:

That is right, but there are no mplayer-svn PKGBUILDs around and the latest build in [extra] does not support vdpau.

I wonder why that is? As I said, I do nothing in my PKGBUILD and Mplayer automatically detects it. There is no reference at all to VDPAU and it works. I'm not suggesting that you're wrong, I just think that it's strange.

Offline

#149 2009-03-03 23:36:51

buddabrod
Member
From: Germany
Registered: 2007-02-25
Posts: 220

Re: [Request]MPlayer with vdpau support?

skottish wrote:
buddabrod wrote:

That is right, but there are no mplayer-svn PKGBUILDs around and the latest build in [extra] does not support vdpau.

I wonder why that is? As I said, I do nothing in my PKGBUILD and Mplayer automatically detects it. There is no reference at all to VDPAU and it works. I'm not suggesting that you're wrong, I just think that it's strange.

Maybe I am wrong. I'll check it again.

Edit: WHat do you mean by "my PKGBUILD". Do you maintain the one from extra?
I checked it and there is no vdpau support. At least not in the precompiled package. iirc somewhen a week ago mplayer and ffmpeg picked up vdpau support.

Last edited by buddabrod (2009-03-03 23:45:51)

Offline

#150 2009-03-04 00:09:31

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Request]MPlayer with vdpau support?

buddabrod wrote:

Edit: WHat do you mean by "my PKGBUILD". Do you maintain the one from extra?
I checked it and there is no vdpau support. At least not in the precompiled package. iirc
somewhen a week ago mplayer and ffmpeg picked up vdpau support.

No, I don't maintain the one in extra. I have a subversion PKGBUILD that's based on the one that was in AUR quite a while back. It's mostly a front end to FFmpeg-svn, so I don't post it anywhere usually. The configure line is entertaining though, so I'll post that:

  ./configure --prefix=/usr --confdir=/etc/mplayer \
      --disable-gui \
      --disable-faad \
      --disable-faad-internal \
      --disable-faac \
      --disable-faac-lavc \
      --disable-libdv \
      --disable-aa \
      --disable-mencoder \
      --disable-liblzo \
      --disable-speex \
      --disable-fribidi \
      --disable-smb \
      --disable-openal \
      --disable-x264 \
      --disable-esd \
      --disable-jack \
      --disable-gl \
      --disable-fbdev \
      --disable-mp3lib \
      --disable-dvb \
      --disable-dvbhead \
      --disable-libvorbis \
      --disable-musepack \
      --disable-directfb \
      --disable-nas \
      --disable-liba52 \
      --disable-libavutil_a \
      --disable-libavcodec_a  \
      --disable-libavformat_a \
      --disable-libswscale_a \
      --disable-libpostproc_a \
      --disable-tv \
      --disable-tv-v4l1 \
      --disable-tv-v4l2 \
      --disable-tv-teletext \
      --disable-v4l2

And the size of the binary is pretty cool too:

pacman -Qi mplayer-svn | grep -i size
Installed Size : 3896.00 K

Offline

Board footer

Powered by FluxBB