You are not logged in.

#26 2009-06-29 12:05:39

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

Congrats!! I'll try it!

and replace that function at the start with an empty one

Do you mean compile_check() ?

Last edited by lolilolicon (2009-06-29 14:33:59)


This silver ladybug at line 28...

Offline

#27 2009-06-29 12:45:47

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

Do you mean compile_check()

No the patch from AUR on tmp_run(), although it's probably not necessary.

Offline

#28 2009-06-29 13:22:24

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

I just recompiled with yaourt -Sb mplayer to modify some config options
I noticed "--enable-fontconfig" will lead to failure like this:
.....
ass_fontconfig.csad.text+0x941): undefined reference to `FcPatternGetInteger'
ass_fontconfig.csad.text+0x971): undefined reference to `FcPatternGetInteger'
ass_fontconfig.csad.text+0x9a1): undefined reference to `FcPatternGetBool'
....
removed --enable-fontconfig from options it all built fine.
Coming to this, I guess maybe building from svn could just be done with that patch in AUR and ' add "-fomit-frame-pointer" to CFLAGS= in /etc/makepkg.conf ' (look at my post at #17, you can see the second time I tried it failed with this same ass_fontconfig.csad.text error, which now we know how to solve.)

Procyon, the sub complex path problem sounds really weird... will be fixed soon I believe.

Edit:
Turns out the .ssa sub I was trying to load was encoded in UTF-16, converting the encoding solved the problem.
Edit again::
But shouldn't libass do the encoding detection/converting since it depends on enca...

Last edited by lolilolicon (2009-06-29 14:13:10)


This silver ladybug at line 28...

Offline

#29 2009-06-29 15:12:00

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

Remove all your --enables from the ./configure line except --enable-largefiles and --enable-menu. The rest will be autodetected if it is installed and will be configured accordingly, if it's not present no harm done. By using --enable you force the option without the proper detection of the necessary library paths.

Offline

#30 2009-06-29 15:59:34

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

Nepherte wrote:

Remove all your --enables from the ./configure line except --enable-largefiles and --enable-menu. The rest will be autodetected if it is installed and will be configured accordingly, if it's not present no harm done. By using --enable you force the option without the proper detection of the necessary library paths.

Yep, and also except --enable-ass, if you don't build as root wink


This silver ladybug at line 28...

Offline

#31 2009-06-29 15:59:57

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

OK so i went through this mess a few weeks back trying to follow the aur dependency tree to get vdau support working.  i gave up.  so today i tried this method.  i use ABS and build mplayer fine just as Nepherte recommends above.  after building the package i see this

> mplayer -vo help
MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
Available video output drivers:
        vdpau   VDPAU with X11
--/snip/--

but when i try to use it...

> mplayer -vo vdpau Videos/led_zeppelin_ocean.mp4
MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
137 audio & 296 video codecs
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 Videos/led_zeppelin_ocean.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  1920x1080  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  11.8 (11.7) of 286.6 (04:46.6)  1.2%

my card is an nvidia e-7150 nForce 630i.  am i doing something wrong here?

Offline

#32 2009-06-29 16:10:51

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

@brisbin33: Do you have anything in .mplayer/config that can cause trouble like I did?

Offline

#33 2009-06-29 16:16:01

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

.mplayer/config is fully commented except for framedrop=yes and ao=oss.  maybe i need to specify the vdpau vc for the vdpau vo to work?

whoa just tried vc=ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau, and that blew up in my face.

...
[h264_vdpau @ 0xaf5200]B picture before any references, skipping
[h264_vdpau @ 0xaf5200]decode_slice_header error
[h264_vdpau @ 0xaf5200]no frame!
Error while decoding frame!

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)

if i pass any of those three vc's on the commandline though i just get the same error and No Video as w/o them.  weird that i only get the crazy errors if the option comes from the the config in stead.

Last edited by brisbin33 (2009-06-29 16:22:59)

Offline

#34 2009-06-30 03:38:14

uwinkelvos
Member
Registered: 2009-06-07
Posts: 129

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

You definitely have to specify the correct vc option and use the nonfree nvidia drivers. The mplayer build from extra has vdpau support out of the box for a couple of weeks now.

Here are some files know to work.
http://www.nvnews.net/vbulletin/showpos … ostcount=3
Though others might fail, as there are, when i got it right, certain encoding features, that might be used, that are incompatible with vdpau.

Offline

#35 2009-06-30 13:36:45

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

same error with those known-to-work clips, maybe my card just doesn't support it.  sigh.

Offline

#36 2009-06-30 13:45:42

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

What card you have?

Offline

#37 2009-06-30 13:48:48

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

Themaister wrote:

What card you have?

my card is an nvidia e-7150 nForce 630i and i'm using the proprietary drivers

Offline

#38 2009-06-30 13:51:21

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

What graphics card is nvidia e-7150? Never heard of it. nForce 630i is a motherboard. tongue You need a GeForce 8xxx or better for VDPAU, except GeForce 8800 GTX and GeForce 8800 GTS 320/640MB.

Offline

#39 2009-06-30 14:05:11

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

Themaister wrote:

What graphics card is nvidia e-7150? Never heard of it. nForce 630i is a motherboard. tongue You need a GeForce 8xxx or better for VDPAU, except GeForce 8800 GTX and GeForce 8800 GTS 320/640MB.

yeah it's integrated graphics on that motherboad, but it's got hdmi outs and 7.1 surround i was hoping that meant high-end enough to bring vdpau support as well.  i guess being integrated kinda supports the theory there's no vdpau huh?  (google's not being helpful on this query btw)

Offline

#40 2009-06-30 15:17:00

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

If it's integrated, nope. No VDPAU support ;\ It needs PureVideo supported in hardware, which I really doubt this integrated card has. I know nVidia ION supports VDPAU, but that's based on 9400GT.

Offline

#41 2009-06-30 18:15:56

loudtiger
Member
Registered: 2009-01-08
Posts: 68

Re: What do I have to do to get VDPAU-enabled mplayer installed ?

here is a list of supported cards: http://en.wikipedia.org/wiki/VDPAU

Offline

Board footer

Powered by FluxBB