Discussion Forums > Technology

Show off your mplayer config file

<< < (3/4) > >>

dankles:

--- Quote from: Kuroshima on November 30, 2009, 05:47:15 PM ---How do you enable vdpau on by default for h264?
I'm fairlyl new to Linux (haven't usedin a while)  so I'm not sure how I would add parameter:
is it
-vo ffh264vdpau -vc %F
with %F being file?
Can I have this done in./configure?
Then compile?

Help would be appreciated...
I realize this is an old thread... I'm wondering if it's ok to revive this..

--- End quote ---

Which version of mplayer do you have? u need one that has vdpau support. And you also need an Nvidia 8000 series or higher graphics card (ATI, intel, Via, etc cards wont support vdpau). If you have all the prerequisites then you can just try from the comand line:

--- Code: ---
mplayer -vc ffh264vdpau -vo vdpau filename.mkv

--- End code ---

if that works then just copy the relevant sections of my config file to yours.

Feel free to ask questions.

Kuroshima:
Ok sweet.... I had karmic koala (mint 8) with a capable mplayer build....
Then I did something stupid. (yes I'm a super n00b) and uninstalled the curently one (the one in the package manager) and built one from source forcing a compile (because I used --enable-gui),
it pretty much broke my mplayer... I'm not exactly sure how to clean up all the left over stuff and uninstall it.
I'm pretty sure ican run option make uninstall because I still have my make file... Willthis be able to clean up all the crap in my file system so I can install the original package from apt-get?
I'll try when I get home.

Thanks for the help! :) 

Xiong Chiamiov:

--- Quote ---make uninstall

--- End quote ---
if you got to doing a 'make install'.  If you didn't, then there shouldn't be any files outside of the source directory.

dankles:
Here is what I would do if i was you:

- run make uninstall from the same directory you ran make install do get rid of the mplayer u manually installed. If you deleted that directory then ur SOL... but it sounds like you didn't.

- install mplayer from this repository (mplayer comes with ubuntu, but this version is better and it supports vdpau):
http://avenard.org/media/Ubuntu_Repository/Ubuntu_Repository.html

- You said you wanted a GUI, so i would recommend using smplayer (a great, fully featured front end to mplayer): http://smplayer.sourceforge.net/
use this repository to get the official smplayer builds for ubuntu (smplayer comes with ubuntu, but this version is better): https://launchpad.net/~rvm/+archive/smplayer

- after you have these installed, just select vdpau as the display output in smplayer, then smplayer will do the rest (no need to add stuff like ffh264vdpau as a driver).

- Also, you will want to disable framedropping in smplayer because that can cause wierd issues with H264 stuff.



let me know if this works for you.

Kuroshima:
Thank you for the prompt responses. I still have the install directory with the make file.
It's too bad I didn't realize the version of mplayer I had (Linux mint 8) already had vdpau integrated.

Doesn't mplayer already have GUI? Since smplayer is a frontend it would just extend functionality... Pretty much mplayer running underneath correct?

Thanks for all the help. I need to try this when I get home...

edit: i have issues adding ppa repositories...not sure why. This is a new installation.

I'll compile smplayer from source...should be ok right?

double edit:
Ok installed smplayer from source.

also... this is kinda off topic but, whenever I want to check if I have the correct dependencies for a application I should run:
sudo apt-get (or aptitude) build-dep <package>
right?
however, i get "you need to add source URI to sources.list
is this the source file in:
/etc/apt/sources.list
?
^-- edit: okay, fixed this issue. You need to add
<code>
deb-src "repository"
</code>
add these to all the repositories in your sources.list. Making a deb-src line for each repository. This will allow you to use
"build-dep" without getting [E: You must put some 'source' URIs in your sources.list ], allowing you to acquire the dependencies of what your are compiling.
I do notice that only the original sources that come with the distro are there. Maybe this is linked with my problem of adding ppa in synaptic...
I really don't know...

triple edit: :p
vdpau works now using smplayer with it enabled. Thanks a lot for all the help.
cpu load is now *just* 30 % :D
yeah...i have a 939 athlong @2.2 8)

oh btw...where's the mplayer config file? <-- super n00b question. in usr/lib?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version