I got VDPAU working, but at the momment can only use it with mplayer2 and only if i define some paramaters in the launch command.
My version of VLC does not suport vdpau... How to I compile a deb package from source so I can install it though the package manager?
How to install a new version of VLC
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
How to install a new version of VLC
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to install a new version of VLC
first edit your sources list
in a terminal
add this repository
save and exit
then
then
after this runs, a subdirectory with the version number of vlc will be created. I don't know what it is off hand.
this will create a deb package that you can then install on your system and will display the name on the .deb file on your terminal screen
whammo! you are done
Does vlc make use of vdpau? Maybe try SMPlayer?
in a terminal
Code: Select all
sudo pluma /etc/apt/sources.list
Code: Select all
deb-src http://ftp.us.debian.org/debian/ sid main
then
Code: Select all
sudo apt-get update
sudo apt-get install fakeroot
sudo apt-get build-dep vlc
Code: Select all
mkdir /home/vlc
cd vlc/
apt-get source vlc
Code: Select all
cd vlc-version#
dpkg-buildpackage -rfakeroot -us -uc
Code: Select all
cd /home/vlc
dpkg -i <output-name-of-the-file>.deb
Does vlc make use of vdpau? Maybe try SMPlayer?
Re: How to install a new version of VLC
of course if you download the source, there is another way to get a .deb file
here's the page for vlc 2.0.4. It contains the tarball and a page with other tarballs for depenecies for vlc
the method for building a .deb from tarball is the same for vlc as for all of its dependencies. Downloand th vlc tarball here:
open a terminal
dh_make will then ask you if you want to create a: "single binary, multiple binary, library, kernel module or cdbs" and ask you to complete the package maintainer fields.
You might then have to tweak the debian/rules file (e.g. to set configuration options) or set a shell variable. It all depends on the package in question.
again read the terminal for the output file name of the .deb
Easy enough?
here's the page for vlc 2.0.4. It contains the tarball and a page with other tarballs for depenecies for vlc
Code: Select all
http://www.videolan.org/vlc/download-sources.html
Code: Select all
http://download.videolan.org/pub/videolan/vlc/2.0.4/vlc-2.0.4.tar.xz
Code: Select all
sudo apt-get install fakeroot dh-make
cd Downloads
tar -zxf vlc-2.0.4.tar.xz
cd vlc-2.0.4
dh_make
You might then have to tweak the debian/rules file (e.g. to set configuration options) or set a shell variable. It all depends on the package in question.
Code: Select all
dpkg-buildpackage
Code: Select all
dpkg -i <vlc-output-file-name>.deb
Re: How to install a new version of VLC
Thank you so much lizbeth, this is fairly simple, yes.
Still baffling that, despite being relatively simple, this sort of info is still sparse. I had no idea I could get the package source running apt-get with the 'source' parameter.
However, I'm still sceptical about creating deb packages by running dh_make against a raw upstream. Not sure it will be go very smoothly, but well, we'll see.
Either way, big thanks. SMPlayer does render video using vdpau but there's still quite a bit of interlacing, errors are kind of frequent, gui is still limited and I still need to manually pass a parameter using a terminal.
Still baffling that, despite being relatively simple, this sort of info is still sparse. I had no idea I could get the package source running apt-get with the 'source' parameter.
However, I'm still sceptical about creating deb packages by running dh_make against a raw upstream. Not sure it will be go very smoothly, but well, we'll see.
Either way, big thanks. SMPlayer does render video using vdpau but there's still quite a bit of interlacing, errors are kind of frequent, gui is still limited and I still need to manually pass a parameter using a terminal.
Re: How to install a new version of VLC
My vote is for adding the sid source as it gives you access to debian sources for your builds and includes all the extra files that comes with it. Whenever possible, I'd go with this method. Also your system won't update files from the sid source directory and bork your system.