View Full Version : [Howto] Successfully install the svn MPlayer under Hardy Heron
andrew.46
May 29th, 2008, 08:10 PM
Hi:
Wow, a very impressive how-to, that is almost exactly what I was going to put.
To tell the truth I am not going to include libdvdnav in this 'howo' as I believe, perhaps incorrectly, that the code is still in very early development and there are too many potential problems with different versions of libdvdread*. So I will hold off until dvd navigation is included in the svn mplayer source code and this is a very long way away as there is resistance to its inclusion.
In the meantime why don't you publish and support an independent thread in 'Tutorials and Tips' devoted to dvd navigation with the svn mplayer? There would be keen interest in this I suspect and lots of support questions as well :-). I would then edit out my own mini Howto on the subject and link to your more fully feautured one.
Andrew
andrew.46
June 7th, 2008, 06:53 AM
Hmmmmm.... there is a little movement on incorporating libdvdnav into the svn mplayer code. The following thread looks very promising:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-June/057762.html
So perhaps hold off writing a guide that may very well be obsolete soon!
Andrew
ForksHolder
June 13th, 2008, 02:59 PM
Great HowTo, Thank you :)
Little note,
In Codecs + Skin howto, you may clean the tar.gz file.
In the end put rm all-20071007.tar.bz2 for the Codecs and rm Blue-1.7.tar.bz2 for the skin.
Thanks again ^.-
dotancohen
June 17th, 2008, 04:15 AM
In the end put rm all-20071007.tar.bz2 for the Codecs and rm Blue-1.7.tar.bz2 for the skin.
I find it ironic that you suggest the inclusion of rm, but your sig warns users NOT to perform rm commands.
In other news, when I get to the step of building from SVN, the process fails with this output:
-I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -c -o adxenc.o adxenc.c
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -c -o g726.o g726.c
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -c -o libamr.o libamr.c
libamr.c:80:30: error: amrnb/interf_dec.h: No such file or directory
libamr.c:81:30: error: amrnb/interf_enc.h: No such file or directory
libamr.c:93: error: field 'mode' has incomplete type
libamr.c: In function 'getBitrateMode':
libamr.c:100: error: 'MR475' undeclared (first use in this function)
libamr.c:100: error: (Each undeclared identifier is reported only once
libamr.c:100: error: for each function it appears in.)
libamr.c:101: error: 'MR515' undeclared (first use in this function)
libamr.c:102: error: 'MR59' undeclared (first use in this function)
libamr.c:103: error: 'MR67' undeclared (first use in this function)
libamr.c:104: error: 'MR74' undeclared (first use in this function)
libamr.c:105: error: 'MR795' undeclared (first use in this function)
libamr.c:106: error: 'MR102' undeclared (first use in this function)
libamr.c:107: error: 'MR122' undeclared (first use in this function)
libamr.c:115: warning: return makes integer from pointer without a cast
libamr.c: At top level:
libamr.c:699: warning: initialization from incompatible pointer type
make[1]: *** [libamr.o] Error 1
make[1]: Leaving directory `/home/hardy2/Desktop/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
hardy2@hardy2-laptop:~$
I am running Kubuntu 8.04 (Hardy) and of course I had installed the prerequisite files for Hardy as specified in the f1rst p0st. Other than the default repos, I have Mediabuntu configured as well. Thanks in advance for help compiling.
andrew.46
June 17th, 2008, 04:50 AM
Hi,
Sorry to see you are having a little trouble:
I find it ironic that you suggest the inclusion of rm, but your sig warns users NOT to perform rm commands.
Well rm is a useful command but something of a sensitive one on the forums at the moment, However I believe in these cases the tarballs are best kept to one side as backup files for possible reinstalls. Depends on your personal preferences really.
In other news, when I get to the step of building from SVN, the process fails with this output:
[...]
libamr.c:80:30: error: amrnb/interf_dec.h: No such file or directory
libamr.c:81:30: error: amrnb/interf_enc.h: No such file or directory
[...]
I suspect that the error could be with your installation of the amr libraries. On my Ubuntu system the following exist:
/usr/local/include/amrnb/interf_rom.h
/usr/local/include/amrnb/interf_dec.h
/usr/local/include/amrnb/interf_enc.h
You have 2 choices really:
Reinstall the amr libraries: How did you install these before? You might like to try Appendix 3 of the walkthrough which has worked well on my own system.
Compile without them : If you don't want to access amr files with mplayer simply use the following configure line: ./configure --disable-libamr_nb --disable-libamr_wb
A common problem with installing the amr libraries is that they are not available as shared libraries so watch the ./configure line with these. In the Appendix I have carefully specified
$ ./configure --enable-shared --disable-static
For exactly this reason. Please let me know if either of these options help you out.
All the very best,
Andrew
PS I just recognised the name: the father of the laughing girl!!! Good to hear from you again.
dotancohen
June 17th, 2008, 12:19 PM
PS I just recognised the name: the father of the laughing girl!!! Good to hear from you again.
Thank, Andrew. We now have another laugher on the way, I'll let you know if it is a boy or a girl near the end of October! We wish that your granddaughter will soon be an older sister as well!
It turns out that I was in fact not compiling Narrow Band. I had written a script to download and compile AMR wide, AMR narrow, OSD fonts, Mplayer SVN, skin, codecs, and update apt-get. As I am new to scripting I had a mistake in the compilation part. I was in fact using the flags that you mention, or at least, that was my intention. I would post the script here but it's hacky and full of bugs.
By the way, what is the purpose of downloading the http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-700.zip file in the AMR builds?
Thanks, Andrew, and I think it's great that you stay so active in this thread.
andrew.46
June 17th, 2008, 08:34 PM
Hi:
Thank, Andrew. We now have another laugher on the way, I'll let you know if it is a boy or a girl near the end of October! We wish that your granddaughter will soon be an older sister as well!
Congratulations and I hope all goes well. I suspect that I will be the grandfather of only one for quite some time yet but I guess we will see :-).
It turns out that I was in fact not compiling Narrow Band. I had written a script to download and compile AMR wide, AMR narrow, OSD fonts, Mplayer SVN, skin, codecs, and update apt-get. As I am new to scripting I had a mistake in the compilation part. I was in fact using the flags that you mention, or at least, that was my intention. I would post the script here but it's hacky and full of bugs.
That makes sense with the completely missing file. I have a similar script that I use for slackware which I tinker with constantly. Actually slackware has some 'official' scripts that do this, perhaps you could have a look at:
http://slackbuilds.org/repository/12.1/multimedia/MPlayer/
although it does not deal with svn and 'dev' files do not exist in slackware, nevertheless there is some very clever scripting there.
By the way, what is the purpose of downloading the http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-700.zip file in the AMR builds?
This is the actual 3GPP source code and I gather there can be some 'legal' issues with using it. So the gentleman who packages the nice install routine has distanced himself a little from downloading it and made it the responsibility of the end-user. The details are here, near the end of the page:
http://www.penguin.cz/~utx/amr
Thanks, Andrew, and I think it's great that you stay so active in this thread.
My pleasure. This thread constantly prods me into learning more about MPlayer :-)
Andrew
Nullack
June 24th, 2008, 07:13 PM
Thanks very much Andrew :)
Question, is the compile optimised for my CPU? is the flags 100% for my setup following your guide?
Cheers
andrew.46
June 24th, 2008, 08:26 PM
Hi Nullack,
Question, is the compile optimised for my CPU? is the flags 100% for my setup following your guide?
MPlayer is a little different from most programs to compile in that the developers actively discourage setting options to optimise performance on a particular machine. In fact if you try to get some help from mplayer-users while using your own custom flags you will get no help. They can be a little hostile at times :-).
So the short answer is yes to both, the compile process should find the correct settings for your computer automagically. Often messing with the settings manually can be a little counter-productive but if you wish to alter the settings nobody will stop you :-). Have a look at the results of ./configure --help from the mplayer directory and you will see many, many settings that can be set manually but are usually not.
A couple of interesting ones in there:
--enable-runtime-cpudetection This is required if you are producing binaries for use on other machines. In our setting this usually means using the fakeroot debian/rules binary method.
--enable-debug=3 This is required if you need to submit a bug report to mplayer-users
--disable-dvdread-internal This is required if you wish to use libdvdread.
But the scary stuff that you are after is at the bottom under "Advanced Options:".
All the best,
Andrew
Nullack
June 25th, 2008, 04:28 AM
Many thanks Andrew, top stuff mate.
mplayer: error while loading shared libraries: libx264.so.60: cannot open shared object file: No such file or directory
So Im trying to do the x264 as well. Ive done this twice to be sure of my process. I did the git update to get the latest x264, compiled it, cleaned it, then did svn update, compiled it and cleaned it as well.
As you can see mplayer wont run.I tried googling but I didnt find relevance except:
http://mailman.videolan.org/pipermail/x264-devel/2008-June/004607.html
Nullack
June 25th, 2008, 05:54 AM
I have some feedback about gmplayer:
1. It looks bad, jagged edges on the skin
2. I dont like the file open dialogue. It has one click instead of two click activation and the window is generally clumsy
3. The ff and rw buttons do not cue they skip
4. The cue back and forward buttons do nothing
Overall, its crap. Sorry but it is. I like how mplayer has good resource use and wide codec support. Command line mplayer is fine.
The fix? Well really there is two prime time mplayer front ends. SMplayer is QT, which I wont use. The Gnome GTK goodness is provided by gnome-mplayer. Heres some info:
http://kdekorte.googlepages.com/gnomemplayer
Info on nailer for thumbnails:
http://dekorte.homeip.net/download/nailer/
Info on getting rid of Totem:
http://kdekorte.googlepages.com/article1
Andrew can I please encourage you to consider providing the option in your excellent how to with using gnome-mplayers front end. Changes to instructions:
just ./configure for mplayer configure
rm-rf $HOME/.mplayer/skins
rm -rf $HOME/.mplayer/gui*
cd home
sudo apt-get install libdbus-glib-1-dev libgconf2-dev
svn checkout http://gnome-mplayer.googlecode.com/svn/trunk/ gnome-mplayer-read-only
cd gnome-mplayer-read-only/
./configure
make
sudo make install
sudo make clean
The dev version in svn works great :)
andrew.46
June 25th, 2008, 10:46 AM
Hi,
Sorry to hear you are having some trouble:
mplayer: error while loading shared libraries: libx264.so.60: cannot open shared object file: No such file or directory
I get the same error and regression of mplayer does not change the issue. I suspect a compiler problem with Ubuntu, I have identical setup with a slackware system and not this trouble. Hmmmmmm .... anybody else have this problem?
Andrew
andrew.46
June 25th, 2008, 11:02 AM
Hi again!
I have some feedback about gmplayer:
1. It looks bad, jagged edges on the skin
2. I dont like the file open dialogue. It has one click instead of two click activation and the window is generally clumsy
3. The ff and rw buttons do not cue they skip
4. The cue back and forward buttons do nothing
Overall, its crap. Sorry but it is. I like how mplayer has good resource use and wide codec support. Command line mplayer is fine.
I agree with you completely about the gmplayer. It is an ugly piece of work and stacks up badly against many of the gui media players available.
The fix? Well really there is two prime time mplayer front ends. SMplayer is QT, which I wont use. The Gnome GTK goodness is provided by gnome-mplayer. Heres some info:
http://kdekorte.googlepages.com/gnomemplayer
Info on nailer for thumbnails:
http://dekorte.homeip.net/download/nailer/
Info on getting rid of Totem:
http://kdekorte.googlepages.com/article1
Andrew can I please encourage you to consider providing the option in your excellent how to with using gnome-mplayers front end.
Well this walkthrough is really only intended to get people started on the svn pathway with mplayer. So it only really provides the basics and even with this it provides me with more than a little work to look after :-)
Can I suggest that you publish a guide yourself that investigates guis for mplayer? I am sure you will have a large audience as it is universally acknowledged that gmplayer is not that good.
On my own system I only install gmplayer to test this guie and answer any questions about it. Otherwise no gui at all.
Andrew
Nullack
June 25th, 2008, 12:05 PM
Ok mate, Ill do a gnome-mplayer how to and link to yours
janfsd
June 25th, 2008, 05:06 PM
Why not Smplayer too? Now there is a gtkstyle qt4 theme, that looks really well in a Gnome desktop. And cleanlooks theme looks good too. Imho Smplayer is the best gui available for mplayer. Gnome-mplayer is too... simple... Another thing that I don't like from it, is that when watching a movie in full screen, when you use the seek bar, then the movie position goes up.
andrew.46
June 25th, 2008, 06:48 PM
Hi again!
Ok mate, Ill do a gnome-mplayer how to and link to yours
Sounds great. I am still battling with that x264 error message. I have posted a query to the mplayer-users (http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-June/073520.html) and hopefully there will be resolution of this problem. Running the bleeding edge can be a bit of a pain sometines :-).
Andrew
andrew.46
June 25th, 2008, 07:22 PM
Hi!
Ok mate, Ill do a gnome-mplayer how to and link to yours
Bless the mplayer-users. Looks like mplayer has a little trouble with the location of the x264 shared library and simply needs --prefix=/usr for mplayer to recognise it correctly. I have changed the guide to reflect this and the correct configure option for x264 is now:
$ ./configure --prefix=/usr --enable-shared \
--enable-pthread --enable-mp4-output
I changed the amr codecs info as well although I have not had a similar problem with this.
Andrew
Nullack
June 26th, 2008, 02:57 AM
Great news Andrew.
Q: Why yasm? Sorry if this is a basic question, doesnt gcc handle assembler? I googled and it looks like gcc handles it?
Q: The latest release of yasm is 0.7.1 - Im going to use that
BTW your how to for yasm is missing ./configure and Intrepid has yasm 0.7.0 in packages
andrew.46
June 26th, 2008, 03:55 AM
Hi again!
Q: Why yasm? Sorry if this is a basic question, doesnt gcc handle assembler? I googled and it looks like gcc handles it?
For the simple reason that ./configure for x264 complains without it :-). I believe that is not an absolute requirement and I have seen people run speed tests with and without yasm that shows not too much difference.
Q: The latest release of yasm is 0.7.1 - Im going to use that
Let me know how you go with it, I will have a look at the changelog for yasm and see if there is a good reason to change the guide. I usually try to hold back from point upgrades at least for a while :-).
BTW your how to for yasm is missing ./configure and Intrepid has yasm 0.7.0 in packages
Oops! The missing configure appeared to have migrated down to the x264 section below which for a glorious day or so has sported two configures :-). All fixed now thanks for the warning. Yasm is also in the Hardy repos but there are no 'dev' files and simple installation of the available files drew a blank from the x264 configure so I chose to compile rather than battle further.
Hopefully you have a working svn mplayer now + the latest x264 for encoding?
Andrew
Nullack
June 26th, 2008, 06:18 AM
Why not Smplayer too? Now there is a gtkstyle qt4 theme, that looks really well in a Gnome desktop. And cleanlooks theme looks good too. Imho Smplayer is the best gui available for mplayer. Gnome-mplayer is too... simple... Another thing that I don't like from it, is that when watching a movie in full screen, when you use the seek bar, then the movie position goes up.
Because Smplayer still needs KDE middleware to work and I want to keep my install nice, clean and light.
Nullack
June 26th, 2008, 06:46 AM
Let me know how you go with it, I will have a look at the changelog for yasm and see if there is a good reason to change the guide. I usually try to hold back from point upgrades at least for a while :-).Hopefully you have a working svn mplayer now + the latest x264 for encoding?
yes sir :) Its all working great:
MPlayer dev-SVN-r27137-4.3.1 (C) 2000-2008 MPlayer Team - cool :popcorn: Yasm 7.1 compiles x264 fine. Im using the latest source for gnome-player (revision 700)
With you git alias I made it git update so its consistent with SVN. i.e.
git config --global alias.update "pull --rebase"
Im thinking about the gnome-mplayer guide Im doing. Im not too sure about our technique of not creating deb packages and installing them that way. I think it might be better to use deb packages so the dependencies can be properly handled. Also, we could then create deb packages and share them with other users so they dont have the hassle of compilation. Just an idea :)
andrew.46
June 26th, 2008, 07:20 AM
Hi Nullack:
yes sir :) Its all working great:
MPlayer dev-SVN-r27137-4.3.1 (C) 2000-2008 MPlayer Team - cool :popcorn: Yasm 7.1 compiles x264 fine. Im using the latest source for gnome-player (revision 700)
With you git alias I made it git update so its consistent with SVN. i.e.
git config --global alias.update "pull --rebase"
Sounds great! I am glad to see you making a few changes as well, it would be a sad old world if everybody just blindly followed this guide without thinking.
Im thinking about the gnome-mplayer guide Im doing. Im not too sure about our technique of not creating deb packages and installing them that way. I think it might be better to use deb packages so the dependencies can be properly handled. Also, we could then create deb packages and share them with other users so they dont have the hassle of compilation. Just an idea :)
I worked a little with the Debian package idea and gave up in disgust so perhaps you might have more patience. You probably have seen the relevant area of the manual (http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#debian). There is a bit of a gotcha with the naming system that I explored a while ago (http://ubuntuforums.org/showpost.php?p=4206950&postcount=148). The naming scheme of the debian changelog gives a lower value than the repository naming scheme.
This was only one of the reasons I gave up on this, but then I don't like checkinstall either :-).
Andrew
Nullack
June 26th, 2008, 07:38 AM
Yeah mate Im not liking checkinstall now that Im trying to use it either. I added my x264 deb then update manager is trying to install its older version.
I think what is really needed is someone in the MOTU group to take on doing x264, mplayer and gnome-player builds. Preferably every week or more regularly. Especially given the dev releases are mostly stable and wont have regressions elsewhere on a system.
That way there is no added PPA hassles for other users.
rvm4000
June 26th, 2008, 05:29 PM
Because Smplayer still needs KDE middleware to work and I want to keep my install nice, clean and light.
SMPlayer does NOT need or require anything related to KDE. Just the Qt 4 libs.
Nullack
June 26th, 2008, 11:18 PM
SMPlayer does NOT need or require anything related to KDE. Just the Qt 4 libs.
I count eleven Qt lib files as dependencies in synaptic for SMplayer.
What is the effect of these being installed? Im just trying to properly understand :)
rvm4000
June 27th, 2008, 03:56 AM
On Qt3 everything was in only one big library. Now in Qt4 they split it in several libs (libqt4-core, libqt4-gui...) so they are more packages, but I think that's better because apps will depend only on what they use.
I don't know about the smplayer package in synaptic, but smplayer_0.6.1-SVN-r1505_amd64.deb (ftp://ftp.berlios.de/pub/smplayer/ubuntu/smplayer_0.6.1-SVN-r1505_amd64.deb) for instance, depends only on two qt libraries:
Depends: libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1-21), libqt4-core (>= 4.3.4), libqt4-gui (>= 4.3.4), libstdc++6 (>= 4.1.1-21), mplayer | mplayer-nogui
Of course libqt4-core and libqt4-gui have other depencies but they are normal libraries (like fontconfig, freetype) which probably are used by gnome apps too.
And as you can see there's no dependency at all on any KDE package.
Nullack
June 27th, 2008, 02:38 PM
Thanks for explaining that. SMplayer looks to be nicely features.
With these Qt libraries do I assume right that the practical impact of running Qt libraries on gnome is the amount of memory they consume? Not a big deal if so. Is there any other impact?
EDIT: I decided to install SMPlayer, and its awesome! It has very good integration to mplayer, especially filters, and does everything I need. This is the sort of front end to mplayer that shows its power in a GUI.
andrew.46
June 29th, 2008, 07:34 PM
Hi rvm4000:
On Qt3 everything was in only one big library. Now in Qt4 they split it in several libs (libqt4-core, libqt4-gui...) so they are more packages, but I think that's better because apps will depend only on what they use.
You may be interested to know that smplayer now has a slackware 12.1 installation script (http://slackbuilds.org/repository/12.1/multimedia/smplayer/) available at slackbuilds.org. In typical slackware fashion this requires compilation of the entire 100meg qt4 source package and my 'main' computer is blowing a little smoke working on this one :-). I look forward to trying out smplayer properly I am ashamed to admit for the first time.
Andrew
andrew.46
June 29th, 2008, 07:38 PM
Hi Nullack:
I decided to install SMPlayer, and its awesome! It has very good integration to mplayer, especially filters, and does everything I need. This is the sort of front end to mplayer that shows its power in a GUI.
Have you read the mplayer web site (http://www.mplayerhq.hu/design7/dload.html) where gmplayer is given the thumbs down by the developers:
Here you can find everything needed to get MPlayer up and running. The recommended way to install MPlayer is to compile from source. Look at the unofficial packages section of our projects page if you do not wish to compile from source and/or are looking for packages that may be more tightly integrated with your platform. You might also want to check out the other frontends since there is no further development and limited bug fixing for the included graphical user interface.
Pretty clear message?
Andrew
pokipoki08
July 1st, 2008, 06:52 AM
SVN fixes x264 1080p playback issues but DVD or VOB files are not working well now.
Video and audio playback jumps regularly. I've tried mplayer, gmplayer and smplayer. The VOB used to play without problems.
Please help. Thanks.
$ mplayer vts_01_1.vob
MPlayer dev-SVN-r27181-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing vts_01_1.vob.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
================================================== ========================
================================================== ========================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
================================================== ========================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12
No bind found for key 'MOUSE_BTN0'. 8% 0 0
a52: CRC check failed! 0.039 ct: 0.059 248/248 5% 0% 1.0% 0 0
a52: CRC check failed! 0.109 ct: 0.001 249/249 ??% ??% ??,?% 0 0
a52: CRC check failed!
a52: CRC check failed! 0.002 ct: 0.077 996/996 6% 0% 1.0% 4 0
a52: error at resampling
a52: CRC check failed! 0.013 ct: 0.311 1272/1272 6% 0% 1.0% 4 0
a52: error at resampling
[mpeg2video @ 0x88c5090]ac-tex damaged at 32 17284 6% 0% 1.2% 4 0
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 22
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 23
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 24
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 25
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 26
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 27
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 28
[mpeg2video @ 0x88c5090]ac-tex damaged at 0 29
[mpeg2video @ 0x88c5090]Warning MVs not available
[mpeg2video @ 0x88c5090]concealing 585 DC, 585 AC, 585 MV errors
pokipoki08
July 2nd, 2008, 05:37 AM
Problem is fixed now. It was due to DVD disc errors.
Thanks.
andrew.46
July 2nd, 2008, 07:31 AM
Hi:
Problem is fixed now. It was due to DVD disc errors.
Thanks.
Well, glad I could be of assistance :-).
Andrew
Nullack
July 3rd, 2008, 08:26 AM
Well Ive settled on smplayer as the front end. Just to check, Andrew are you ok with me doing a guide for smplayer / mplayer considering you said you want to stick with your command line how to?
andrew.46
July 3rd, 2008, 09:03 AM
Hi Nullack,
Well Ive settled on smplayer as the front end. Just to check, Andrew are you ok with me doing a guide for smplayer / mplayer considering you said you want to stick with your command line how to?
I would be flattered if this guide provided a starting point for your work :-). Feel free to utilise whatever portion of this guide that you need in your own work.
Andrew
Nullack
July 9th, 2008, 08:47 PM
Hi Andrew. Im working through some issues before posting my guide. One of these is that there is an issue with your howto that I have come across. On AMD64, your steps about copying the win32 codecs do not work. Ive since rm -rf that dir. No 32bit codecs are of any use on a 64bit system. Im now trying to figure out how to compile mplayer support for the 0x162 audio format.
EDIT: Also, I think mplayer defaults to this path for win32 codecs:
win32codecsdir=/usr/lib/win32
andrew.46
July 9th, 2008, 11:20 PM
Hi Nullack:
Hi Andrew. Im working through some issues before posting my guide. One of these is that there is an issue with your howto that I have come across. On AMD64, your steps about copying the win32 codecs do not work. Ive since rm -rf that dir. No 32bit codecs are of any use on a 64bit system. Im now trying to figure out how to compile mplayer support for the 0x162 audio format.
EDIT: Also, I think mplayer defaults to this path for win32 codecs:
win32codecsdir=/usr/lib/win32
Unfortunately I have no experience with amd64 although I note a small pack of codecs on the mplayer site marked amd 64 (http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2). The codecs directory can be set at compile time:
--codecsdir=DIR directory for binary codecs [LIBDIR/codecs]
Andrew
Nullack
July 10th, 2008, 10:37 PM
Thanks again Andrew
Can I please recommend that you add a notice in your how to that the codecs section works for 32 bit Ubuntu. On AMD64, if you use the smaller 64bit mplayer codec archive it works, but it only adds a fraction of the 32 bit codecs.
Of note, its missing windows media audo pro decoding which is a key audio format in modern wmv content. I havent been able to find a wma pro decoder for linux.
Also I have been fiddling around with no success on libdvdnav. I dont like how mplayer is missing the functionality for dvd menus. I had a moment of blashphemy by installing vlc but as soon as I saw how much of a performance hog it is, I went back to mplayer and purged vlc.
With mplayer you get march and mtune equal to native which leads to total optimisation with the GCC compiler (I see the build runs on -O4 in gcc). FFmpeg is fast as it is, and with all these optimised binaries out of gcc mplayer is the fastest player out there.
andrew.46
July 11th, 2008, 06:55 AM
Hi Nullack:
Also I have been fiddling around with no success on libdvdnav. I dont like how mplayer is missing the functionality for dvd menus. I had a moment of blashphemy by installing vlc but as soon as I saw how much of a performance hog it is, I went back to mplayer and purged vlc.
I will admit that I quite like vlc and have used it often, particularly in its windows incarnation. For libdvdnav have you had a look at the documents in the svn mplayer source code:
/DOCS/tech/dvdnav-howto.txt
This looks fairly comprehensive and should get you started. There is a mailing list for libdvdnav that is well worth joining just to see what is happening, I think involvement is mostly for libdvdnav developers, but I lurk there and nobody complains :-)
Andrew
Nullack
July 11th, 2008, 09:41 PM
Thanks
The mplayer how to for dvdnav is mostly useless unfortunately.
sudo apt-get install libdvdnav-dev
didnt work! so much for the easy option
Some strangeness going on about libdvdnav:
http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2008-June/000588.html
"> It's very possible that there's build issues. Nico just split
> libdvdread into its own repo and copied the build setup from
> libdvdnav."
So now I have to go the SVN route for libdvdread and libdvdnav...........
sudo apt-get install autoconf automake gettext libtool
svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread
cd libdvdread
./configure2
make
sudo make install
sudo make clean
svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
cd libdvdnav
./autogen.sh && ./configure
make
sudo make install
sudo make clean
cd to mplayer
svn update mplayer
./configure --disable-dvdread-internal
note that dvdread and libdvdnav is configured to yes
make
sudo make install
sudo make clean
mplayer svn at 27266, ffmpeg svn at 14173, libdvdread svn at 1109, libdvdnav svn at 1109.
And after doing all this mplayer wont run:
mplayer: error while loading shared libraries: libdvdread.so.4: cannot open shared object file: No such file or directory
andrew.46
July 11th, 2008, 10:59 PM
Hi Nullack,
Well, I managed to get a working copy of libdvdnav going with mplayer but I would not really recommend it for the casual user. The successful steps for the most part mirror the advice in the source code directions.
First dispose of old copies of libdvdread and libdvdnav, being aware that this may break other applications that use these files:
$ sudo rm -rf /usr/lib/libdvdnav* /usr/lib/libdvdread* /usr/include/dvdnav* \
/usr/include/dvdread* /usr/local/lib/libdvdnav* \
/usr/local/lib/libdvdread* /usr/local/include/dvdnav* \
/usr/local/include/dvdread* /usr/bin/dvdnav-config \
/usr/local/bin/dvdnav-config
Download libdvdread, note the use of --prefix=/usr, this bypasses an Ubuntu default for not finding shared libraries in /usr/local/lib:
$ cd $HOME
$ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread
$ cd libdvdread
$ ./configure2 --prefix=/usr && make
$ sudo make install
$ sudo make clean
And then the same idea with libdvdnav and --prefix=/usr:
$ cd $HOME
$ svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
$ cd libdvdnav
$ ./configure2 --prefix=/usr && make
$ sudo make install
And the suggested configure option for the mplayer source files:
$ cd mplayer
$ ./configure --disable-dvdread-internal
$ make
$ sudo make install
And all appears well with DVD navigation:
$ mplayer dvdnav:// -nocache
Certainly showed the menu for The Matrix :-). I suggest try again with the --prefix==/usr and mplayer should find the shared libraries. I am still not using libdvdnav on my own setup as I am waiting patiently for it to be incorporated into the mplayer svn code. More importantly I suspect very strongly that removing old copies of libdvdread and libdvdnav will break other installed applications on an Ubuntu system.
Andrew
Nullack
July 12th, 2008, 12:58 AM
Your a blessing Andrew. So many thanks :)
Using ./configure2 --prefix=/usr for libdvdnav doesnt work on the make"
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDVDNAV_COMPILE -I/usr/local/include -I../../src -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -MT decoder.lo -MD -MP -MF .deps/decoder.Tpo -c decoder.c -fPIC -DPIC -o .libs/decoder.o
In file included from decoder.c:27:
../../config.h:2:21: error: version.h: No such file or directory
make[3]: *** [decoder.lo] Error 1
Encrypted dvds didnt work and the medibuntu repo doesnt appear to have intrepid binaries yet so I had to compile libdvdcss. Anyway its now all working by:
sudo apt-get install autoconf automake gettext libtool
sudo rm -rf /usr/lib/libdvdnav* /usr/lib/libdvdread* /usr/include/dvdnav* \
/usr/include/dvdread* /usr/local/lib/libdvdnav* \
/usr/local/lib/libdvdread* /usr/local/include/dvdnav* \
/usr/local/include/dvdread* /usr/bin/dvdnav-config \
/usr/local/bin/dvdnav-config
cd ~/src
wget http://download.videolan.org/pub/libdvdcss/1.2.9/libdvdcss-1.2.9.tar.bz2
tar -xvjf libdvdcss-1.2.9.tar.bz2
cd libdvdcss-1.2.9/
./configure --prefix=/usr
make
sudo make install
sudo make clean
cd ~/src
svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread
cd libdvdread
./configure2 --prefix=/usr --with-libdvdcss
make
sudo make install
sudo make clean
cd ~/src
svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
cd libdvdnav
./autogen.sh --prefix=/usr && ./configure --prefix=/usr
make
sudo make install
sudo make clean
cd ~/src/mplayer
./configure --disable-dvdread-internal (note that dvdread and libdvdnav is configured to yes)
make
sudo make install
sudo make clean
Im executing with mouse enabled to allow for dvd mouse navigation:
mplayer dvdnav:// -nocache -mouse-movements
Only problem is that the included docos dont seem to indicate how I can use the mouse or other method to go back to the menu while playing content.
andrew.46
July 12th, 2008, 03:15 AM
Hi,
Glad it is working for you although I can see a few differences in your setup from my own trial of libdvdnav :-). For the mouse you could add the following to ~/.mplayer/config:
mouse-movements=yes
For my own part it all looks a little too hard :-). All the best with wrestling with the menus!
Andrew
Nullack
July 12th, 2008, 03:06 PM
Andrew Im pleased to report YASM 0.7.1 is in the Intrepid repos and it compiles x264 out of the box very nicely.
andrew.46
July 12th, 2008, 06:29 PM
Hi Nullack:
Andrew Im pleased to report YASM 0.7.1 is in the Intrepid repos and it compiles x264 out of the box very nicely.
Just by wild coincidence I have just finished downloading Intrepid Ibex alpha 2 and I will be wiping my Hardy Heron installation today :-).
Andrew
Nullack
July 13th, 2008, 06:37 PM
To share some new developments:
Keypad 5 is return to menu, keypad 8 is up, keypad 2 is down. This is working perfectly for me. libdvdnav and libdvdread appear to be under pretty good regular development.
The dvdnav devs have made some cvs changes that allows for configure2 to be used now without needing to use autoconf etcetc. So my amended instructions are:
sudo apt-get install gettext libtool
sudo rm -rf /usr/lib/libdvdnav* /usr/lib/libdvdread* /usr/include/dvdnav* \
/usr/include/dvdread* /usr/local/lib/libdvdnav* \
/usr/local/lib/libdvdread* /usr/local/include/dvdnav* \
/usr/local/include/dvdread* /usr/bin/dvdnav-config \
/usr/local/bin/dvdnav-config
cd ~/src
sudo apt-get remove libx264-dev
git clone git://git.videolan.org/x264.git
cd x264
./configure --prefix=/usr --enable-shared --enable-pthread --enable-mp4-output
make
sudo make install
sudo make clean
cd ~/src
wget http://download.videolan.org/pub/libdvdcss/1.2.9/libdvdcss-1.2.9.tar.bz2
tar -xvjf libdvdcss-1.2.9.tar.bz2
cd libdvdcss-1.2.9/
./configure --prefix=/usr
make
sudo make install
sudo make clean
cd ~/src
svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread libdvdread
cd libdvdread
./configure2 --prefix=/usr --with-libdvdcss
make
sudo make install
sudo make clean
cd ~/src
svn co svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
cd libdvdnav
./configure2 --prefix=/usr
make
sudo make install
sudo make clean
cd ~/src/mplayer
./configure --disable-dvdread-internal (note that dvdread and libdvdnav is configured to yes)
make
sudo make install
sudo make clean
Im executing with mouse enabled to allow for dvd mouse navigation:
mplayer dvdnav:// -nocache -mouse-movements
ForksHolder
July 13th, 2008, 08:08 PM
Awesome HOWTO! Thank you very much!
andrew.46
July 13th, 2008, 08:40 PM
Hi Nullack,
I am glad to see you working away at it! I am sure by now you appreciate the work that goes into a walkthrough of this complexity :-).
Myself, I am fading away a little from Ubuntu and probably these forums. I have been predominantly a slackware user or some time now and having finally solved some bugs with wireless on the laptop I was running Hardy and Intrepid on it is now running slackware 12.1 beautifully.
I will continue to keep an eye on my various walkthroughs.
Andrew
andrew.46
July 14th, 2008, 08:32 AM
Hi Nullack:
To share some new developments
Even newer developments on the horizon as finally there is some definitive talk of incorporating libdvdnav and libdvdread into the svn mplayer tree:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-July/058079.html
Perhaps you should hold off a definitive guide until this is settled? This is the development that I have been waiting for myself where all the different components are available in one go :-).
Andrew
Nullack
July 15th, 2008, 08:11 PM
Yeah I will hang loose for a bit since it would be such a big change to the way the setup is done. Im monitoring the various ffmpeg/dvdnav/mplayer lists too. The mplayer lists could do with an Ubuntu type code of conduct on it :) Bit of a rough environment that doesnt help participation in my view.
Ive gone back to using gnome-mplayer as my preferred front end. My reasons are:
1. Excellent dvd menu support unlike smplayer
2. Better privacy than smplayer out of the box
3. Lighter, no qt libs, no sqllite etcetc
Im testing -O3 march=native mtune=native gcc compiles on the front end all seems good so far.
andrew.46
July 23rd, 2008, 02:32 AM
With deep regret I write here that I will no longer be updating this guide, a guide that I have heartily enjoyed researching, writing and supporting. It is true of all such guides that it is the creator and maintainer of the guide who learns more than anybody else, and this has been my experience. I wish everybody all the best with the amazing svn mplayer through Intrepid Ibex and beyond!
Andrew Strong
July 23rd, 2008
mocha
July 29th, 2008, 01:03 PM
I'd appreciate if someone could give me a hand with x264 and compiling mplayer and ffmpeg. I downloaded x264 from the git repository and it complied fine. Then I downloaded svn mplayer and compiled it with some options including --enable-x264. Running make errors out with something about libx264.
The same thing happens with ffmpeg svn, only on newer versions like 14xxx and up. Older version such as 13060 which I'm running now were able to be complied with the libx264 from the Ubuntu repository or the git version. However, if I compile the git x264 and then complie ffmpeg, when I try to encode a video with vcodec libx264 I get an error about not specifying ratecontrol. On the other hand, if I compile ffmpeg svn with only the Ubuntu libx264 installed, when I encode using the exact same ffmpeg command line parameters it works ok.
In summary: Was there some change to newer versions of ffmpeg in regards to libx264? Also, why does svn mplayer not want to compile with the Ubuntu libx264? Thanks for any comments.
andrew.46
July 29th, 2008, 05:32 PM
Hi,
I'd appreciate if someone could give me a hand with x264 and compiling mplayer and ffmpeg. I downloaded x264 from the git repository and it complied fine. Then I downloaded svn mplayer and compiled it with some options including --enable-x264. Running make errors out with something about libx264.
There have been some changes. For mplayer you will need to remove the ubuntu dev file for x264, install the git x264 and then commpile.
The mplayer build system is a little different from most, you actually should not specify --enable-x264. Just let configure find all the x264 files itself.
Andrew
mocha
July 30th, 2008, 08:38 AM
Andrew,
Thanks for the response. For the moment to keep my system going I had to revert to older svns of mplayer and ffmpeg and use the Ubuntu libx264. When I have time later I'll do fresh pulls of everything and try again. I think I just happened to update on a day when there was a regression in x264.
Also, I don't think the libx264 from Ubuntu needs to be uninstalled. The compiled x264 goes into /usr/local/lib, Ubuntu's libx264 is in /usr/lib. mplayer and ffmpeg will pick up the files from /usr/local/lib first if they exist.
andrew.46
July 30th, 2008, 09:49 AM
Hi,
Glad to hear that at least your system is up an running :-)
Also, I don't think the libx264 from Ubuntu needs to be uninstalled. The compiled x264 goes into /usr/local/lib, Ubuntu's libx264 is in /usr/lib. mplayer and ffmpeg will pick up the files from /usr/local/lib first if they exist.
Well there is a story there. On many people's Ubuntu systems there seems to be a problem with libraries in /usr/local/lib and so for the most part in the guide that I wrote I eventually specified --prefix=/usr as the easiest way around this. Along with this is the problem that the svn mplayer will not build against anything less than build 59 of x264. You will in fact see the following in the ./configure script:
echocheck "x264"
if test "$_x264" = auto ; then
cat > $TMPC << EOF
#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 59
#error We do not support old versions of x264. Get the latest from SVN.
#endif
This was the reasoning behind advising people to lose the Ubuntu x264 when installing the git x264 and the svn mplayer.
Unfortunately I am not in a position to recheck much of this, including the version of x264 offered by Ubuntu as I no longer run Ubuntu and I am in fact slowly retiring from these forums.
Andrew
mocha
July 30th, 2008, 11:01 AM
Andrew, I appreciate you responding. Thanks for this guide and best wishes with your new distro.
Nullack
August 4th, 2008, 11:45 PM
Yes all the best Andrew :) I noticed ffmpeg has been getting alot of love with AVC and Matroska, plus the ogg / theora seeking bug was fixed :) Mplayer just keeps getting better and better.
mangurt
August 6th, 2008, 07:09 AM
Greetings,
I recently did a fresh install for ubuntu, and now I am trying to follow this guide to get mplayer working. Things went pretty well until I got to the portion to make.
Here's there error I got:
Error: The GUI requires libavcodec with PNG support (needs zlib).
Check "configure.log" if you do not understand why it failed.
ed@ed-desktop:~/mplayer$ make
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory. Stop.
ed@ed-desktop:~/mplayer$
Any ideas?
Thanks
andrew.46
August 6th, 2008, 07:39 PM
Hi:
Error: The GUI requires libavcodec with PNG support (needs zlib).
In general the first compilation error tells the greatest truth and following that the errors have less meaning :-). In this case I suspect that you need the so-called '-dev' library of zlib. Ubuntu / Debian splits the original source so that by default the header files are not installed, which is actually something of a pain.
I do not have access to an Ubuntu system at the moment but to find the appropriate dev file try:
$ apt-cache search zlib | grep dev
and then install the suggested file and re-compile. This will hopefully get you out of trouble :-).
Andrew
mangurt
August 6th, 2008, 08:27 PM
Hi:
In general the first compilation error tells the greatest truth and following that the errors have less meaning :-). In this case I suspect that you need the so-called '-dev' library of zlib. Ubuntu / Debian splits the original source so that by default the header files are not installed, which is actually something of a pain.
I do not have access to an Ubuntu system at the moment but to find the appropriate dev file try:
$ apt-cache search zlib | grep dev
and then install the suggested file and re-compile. This will hopefully get you out of trouble :-).
Andrew
Ok, I did the first part, and downloaded just about everything except the 64bit build. Went to recompile and got this error.
Error: X11 support required for GUI compilation.
Check "configure.log" if you do not understand why it failed.
ed@ed-desktop:~/mplayer$ make
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory. Stop.
ed@ed-desktop:~/mplayer$
Grrr.....part of me wants to start over....but I am so darn close...
andrew.46
August 7th, 2008, 02:15 AM
Hi again!
Error: X11 support required for GUI compilation.
Did you manage to install the huge list of dev files in the walkthrough? The x11 dev files were definitely in there and this would allow compiling of the gui. Try copying the entire list and dropping it into a terminal window again, this should should give x11 support and all the other features.
Andrew
mangurt
August 7th, 2008, 06:49 AM
Andrew,
Copied the whole list again, and now got this error.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libspeex-dev: Depends: libspeex1 (= 1.1.12-3ubuntu0.8.04.1) but 1.2~beta2-2~feisty.3670 is to be installed
E: Broken packages
Thanks
andrew.46
August 7th, 2008, 06:43 PM
Hi MG,
The root of the problem is that to install MPlayer with full functionality you need all of the dev packages. Broken packages, repository problems etc point to more of a system problem which you must rectify first.
Andrew
Enshin
August 10th, 2008, 05:56 PM
Just say thanks.
I had trouble with DVD playing with mplayer.
Just installing the codecs proved enough.
Working like a sharm.
Bye.
maxim99
August 20th, 2008, 08:01 PM
I have a quick question. From what I can see there is no relation to the codecs that are downloaded and placed in a directory, and the compiling of mplayer. Am I to understand this correctly the the configure process finds all of the codecs that were downloaded and placed in a particular directory, and then enables their use since it found them?
Also would I be able to prepare the mplayer that I compile myself into a debian package and place it on a computer that has not had these things (those gotten through apt-get) downloaded, and through dependancies download them automatically? I believe that the codecs would have to be downloaded and installed seperatly. I simply don't know enough about compiling of applications to even make assumtions.
By the way fatastic document you've written up there, truly a work to be proud of! It has helped me out greatly, and I really do appreciate it.
andrew.46
August 21st, 2008, 01:59 AM
Hi maxim,
Thanks for your message:
I have a quick question. From what I can see there is no relation to the codecs that are downloaded and placed in a directory, and the compiling of mplayer. Am I to understand this correctly the the configure process finds all of the codecs that were downloaded and placed in a particular directory, and then enables their use since it found them?
Exactly! The directions I gave are for the default location of the codecs and the mplayer configure script will find then there. This can be varied with the configure option:
$ ./configure --codecsdir=/the/path/I/want/
Also would I be able to prepare the mplayer that I compile myself into a debian package and place it on a computer that has not had these things (those gotten through apt-get) downloaded, and through dependancies download them automatically? I believe that the codecs would have to be downloaded and installed seperatly. I simply don't know enough about compiling of applications to even make assumtions.
Creating a debian package is not covered in the guide but there is specific information available to do it:
http://www.mplayerhq.hu/DOCS/HTML/en/linux.html#debian
Unfortunately I have had very little experience with this technique and in fact no longer run either Debian or Ubuntu :(.
By the way fatastic document you've written up there, truly a work to be proud of! It has helped me out greatly, and I really do appreciate it.
I am glad the guide has been useful to you! I no longer maintain it I am afraid although I still try to answer email concerning it.
All the best,
Andrew
gillza
August 23rd, 2008, 04:55 PM
Hi Andrew,
I am a linux newbie and was following this thread as it was very helpful to me. You pointed out that you are no longer using Ubuntu. I am curious for which distro have you settled?
Thanks
P.S. Sorry for asking about it here, but it would not let me send you a private message.
andrew.46
August 23rd, 2008, 05:15 PM
Hi gillza:
I am a linux newbie and was following this thread as it was very helpful to me. You pointed out that you are no longer using Ubuntu. I am curious for which distro have you settled?
The thing that held me mostly to Ubuntu was the community which for the most part seems not to be found in most distros. I have been using Slackware for a fair while now and I am very happy with it, I was dual-booting for a while but it started getting a little silly :-). I will miss writing the mplayer guide though but I am sure someone will step in there, the principles usually don't change but the details always will.
All the best,
Andrew
stanjr
October 1st, 2008, 09:49 AM
I've been able to completely compile both x264 and mplayer via the instructions here within Hardy Heron 64-bit quite happily if I don't use --enable-avis-input during the configure step when compiling x264. avis support doesn't get picked up automagically if I don't use that. I get this during configure:stanjr@stanjr-desktop:~/Programs/build/x264$ ./configure --enable-shared --enable-avis-input
Platform: X86_64
System: LINUX
asm: yes
avis input: yes
mp4 output: yes
pthread: yes
gtk: no
debug: no
gprof: no
PIC: yes
shared: yes
visualize: noBut, then when I try to make, I get this:...[a bunch of make stuff left out]...
yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-a.o common/x86/dct-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/deblock-a.o common/x86/deblock-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a.o common/x86/mc-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/mc-a2.o common/x86/mc-a2.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/pixel-a.o common/x86/pixel-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/predict-a.o common/x86/predict-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/quant-a.o common/x86/quant-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/sad-a.o common/x86/sad-a.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/cpu-64.o common/x86/cpu-64.asm yasm -f elf -m amd64 -DPIC -DARCH_X86_64 -Icommon/x86/ -o common/x86/dct-64.o common/x86/dct-64.asm gcc -shared -o libx264.so.64 common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-64.o common/x86/dct-64.o
-Wl,-soname,libx264.so.64 -lm -lpthread -lgpac_static -lvfw32 -s
/usr/bin/ld: cannot find -lvfw32
collect2: ld returned 1 exit status
make: *** [libx264.so.64] Error 1This only happens after I've used --enable-avis-input during configure. I thought maybe I needed some kind of w32 codecs, so I installed the win32 codecs for amd64 via Synaptic, but still the same error. What am I doing wrong to compile x264 with avis support? x264 compiles fine if I don't enable it.
andrew.46
October 1st, 2008, 05:48 PM
Hi stanjr:
What am I doing wrong to compile x264 with avis support? x264 compiles fine if I don't enable it.
As far as I know, and I cannot claim to be an expert avisynth is not yet available to Linux.
Andrew
stanjr
October 4th, 2008, 09:40 AM
It's not. I thought that I had to compile x264 with avis input support to be able to use avisynth via wine, but I don't.
stanjr
October 4th, 2008, 10:10 AM
I'm now having a different problem. I've configured the lastest x264 (r999) with --prefix=/usr --enable-shared and it compiled and installed fine. Then, I configured the latest mplayer (r27711) with --prefix=/usr --enable-gui --enable-menu, but it didn't compile fine. I get this near the end of make:libmpdemux/demuxer.o: In function `demux_pattern_3':
demuxer.c: (.text+0x35e2): undefined reference to `unlikely'
libmpdemux/demux_mpg.o: In function `demux_mpg_gxf_fill_buffer':
demux_mpg.c: (.text+0x1056): undefined reference to `unlikely'
libmpdemux/parse_es.o: In function `read_video_packet':
parse_es.c: (.text+0xee): undefined reference to `likely'
parse_es.c: (.text+0x13c): undefined reference to `unlikely'
libmpdemux/parse_es.o: In function `sync_video_packet':
parse_es.c: (.text+0x1d8 ): undefined reference to `likely'
parse_es.c: (.text+0x230): undefined reference to `unlikely'
libmpdemux/video.o: In function `video_read_frame':
video.c: (.text+0x16f): undefined reference to `likely'
video.c: (.text+0xb40): undefined reference to `unlikely'
libmpcodecs/ad_hwac3.o: In function `ac3dts_fillbuff':
ad_hwac3.c: (.text+0x369): undefined reference to `likely'
ad_hwac3.c: (.text+0x544): undefined reference to `unlikely'
libmpcodecs/ad_liba52.o: In function `a52_fillbuff':
ad_liba52.c: (.text+0x1ae): undefined reference to `likely'
ad_liba52.c: (.text+0x2bf): undefined reference to `unlikely'
libmpcodecs/ad_libdca.o: In function `dts_sync':
ad_libdca.c: (.text+0xb5): undefined reference to `likely'
ad_libdca.c: (.text+0x13e): undefined reference to `unlikely'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1What's going on?
EDIT: Whatever it was, they got it fixed in r27718!
andrew.46
October 12th, 2008, 01:31 AM
Hi,
Clean out time for this guide. The Feisty Fawn dev files are off the main page but I include them here for reference:
$ sudo apt-get install avifile-divx-plugin avifile-xvid-plugin gawk \
ladspa-sdk liba52-0.7.4-dev libaa1-dev libartsc0-dev libasound2-dev \
libatk1.0-dev libaudiofile-dev libavcodec-dev libavformat-dev libavifile-0.7-dev \
libc6-dev libcaca-dev libcairo2-dev libcdparanoia0-dev libdbus-glib-1-dev \
libdfb++-0.9-25 libdfb++-dev libdirectfb-0.9-25 libdirectfb-dev libdts-dev \
libdv-dev libdv4-dev libdvdnav-dev libdvdnav4 libdvdplay0 libdvdread-dev \
libdvdread3-dev libenca-dev libesd0-dev libexpat1-dev libfaac-dev libfaad2-dev \
libfame-0.9 libfame-dev libflac++-dev libflac-dev libfontconfig-dev \
libfontconfig1-dev libfreetype6-dev libfribidi-dev libgdk-pixbuf-dev \
libggi2-dev libggimisc2 libggimisc2-dev libggiwmh0 libggiwmh0-dev \
libglu1-mesa-dev libgtk2.0-dev libice-dev libjpeg62-dev liblame-dev \
liblivemedia-dev liblzo-dev libmad0-dev libmatroska-dev libmikmod2-dev \
libmp4v2-dev libmp4v2-dev libmpcdec-dev libogg-dev liboggflac++-dev \
liboggflac-dev libpango1.0-dev libpng12-dev libpng12-dev libpopt-dev \
libpostproc-dev libsdl1.2-dev libsmbclient-dev libspeex-dev libsvga1 \
libsvga1-dev libtheora-dev libungif4-dev libungif4g libvorbis-dev libx264-dev \
libxcursor-dev libxfixes-dev libxinerama-dev libxv-dev libxvidcore4 libxvidcore4-dev \
libxvmc-dev libxxf86dga-dev libxxf86vm-dev sharutils toolame ttf-bitstream-vera \
x11proto-fixes-dev x11proto-xinerama-dev xlibs-dev zlib1g-dev zlib1g-dev
Andrew
Frijolie
October 12th, 2008, 01:47 PM
Thanks for updating to include Intrepid. I was getting this famous line at compile:
Error: X11 support required for GUI compilation.
so with the update let's see if it's fixed. I'm holding my breath and crossing my fingers.
almost there...almost there...Stay on target! Stay on target! I got past the compilation! Hurray! Thanks!
andrew.46
October 12th, 2008, 03:21 PM
Hi:
I got past the compilation! Hurray! Thanks!
Glad to hear that it all worked out :-)
Andrew
Frijolie
October 13th, 2008, 07:47 AM
Hmmm....now all I got is an icon in my menu. When it's clicked nothing happens. I can run everything CLI but the GUI part isn't working. I've downloaded the Blue skin and set up the link but it's not working. Any suggestions?
After goofing around with it a little more...I've got it to come up with a GUI error message:
[skin] file ( /usr/local/share/mplayer/skins/default/skin ) not readable.
I've got three different directories where mplayer stuff is installed. I think I've got stuff mixed up in different directories.
$HOME/mplayer (where i downloaded via svn)
$HOME/.mplayer (where I loaded the skins and fonts
/usr/local/share/mplayer/skins... (the directory that it's looking for)
could this be the cause?
andrew.46
October 14th, 2008, 02:13 AM
Hi Frijolie,
Sounds like mplayer cannot find the skin. There are in fact several different ways to set this but the easiest way is perhaps the one suggested in the guide:
$ cd $HOME
$ mkdir -pv $HOME/.mplayer/skins/default
$ wget http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
$ tar xjvf Blue-1.7.tar.bz2
$ cp -Rv $HOME/Blue/* $HOME/.mplayer/skins/default
Mplayer will easily find the skin there and all should be well. The html docs tell the full story and also demonstrate how to use different directories:
As MPlayer doesn't have a skin included, you have to download one if you want to use the GUI. See the download page. It should be extracted to the usual system-wide directory ($PREFIX/share/mplayer/skins), or to $HOME/.mplayer/skins. MPlayer by default looks in these directories for a directory named default, but you can use the -skin newskin option, or the skin=newskin config file directive to use the skin in the */skins/newskin directory.
Hope this helps?
Andrew
mocha
October 16th, 2008, 02:16 PM
Andrew, nice to see you are back to maintaining this guide! There is a similar thread in the forums about compiling the latest x264 and ffmpeg.
http://ubuntuforums.com/showthread.php?786095
In that thread they mentioned that compiling x264 with --enable-shared, pthread, and mp4-output are no longer necessary or only useful if using the standalone x264 encoder. I thought you might want to have a look at that. Thanks again.
andrew.46
October 16th, 2008, 06:40 PM
Hi mocha:
Andrew, nice to see you are back to maintaining this guide! There is a similar thread in the forums about compiling the latest x264 and ffmpeg.
http://ubuntuforums.com/showthread.php?786095
Great thread, looks like FakeOutdoorsman knows his stuff with both x264 and ffmpeg. Something borked the address:
http://ubuntuforums.org/showthread.php?t=786095
In that thread they mentioned that compiling x264 with --enable-shared, pthread, and mp4-output are no longer necessary or only useful if using the standalone x264 encoder. I thought you might want to have a look at that. Thanks again.
To tell the truth this guide is so comprehensive I think it would make more sense for me to consider dropping the x264 section of my guide and include a link to this guide. I will have a closer look on the weekend. Thanks for the heads-up!
Andrew
andrew.46
October 16th, 2008, 08:07 PM
Well, after some consideration I have removed the details that relate to compiling the x264 libraries and I will direct queries about this library to the FakeOutdoorsman's guide:
http://ubuntuforums.org/showthread.php?t=786095
To keep up to date with the MPlayer guide on the Ubuntu Forums I spend a great deal of time using MPlayer and Mencoder, researching guides online as well as reading the mailing lists MPlayer-Users and MPlayer-dev-eng. This takes some time and when I see someone devoting similar energy and time to ffmpeg and x264 I see no point in duplicating this excellent work and in fact I do not even have the available time for this :-).
So my strong suggestion would be if you are considering encoding video with x264 and mencoder to use the git x264 as outlined in the FakeOutdoorsman's guide. For simple playback the use of Ubuntu's libx264-dev should be sufficient, as long as this version is sufficiently modern for the MPlayer ./configure process.
Andrew
Argentino
October 17th, 2008, 05:10 AM
Hello, first of all I want to thank you for this very useful guide and how simple it is to fallow.
I am having a problem installing one of the libgtk files. I tried in the console but I get the same error message as if I do it on the SPM. According to Synaptic, the file that is requesting to be installed first is already installed.
Can you please help me, I have attached the screen shot.
Thank you in advanced
http://img337.imageshack.us/img337/8526/screenub5.th.jpg (http://img337.imageshack.us/my.php?image=screenub5.jpg)http://img337.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
andrew.46
October 17th, 2008, 08:30 AM
Hi Argentino:
I am having a problem installing one of the libgtk files. I tried in the console but I get the same error message as if I do it on the SPM. According to Synaptic, the file that is requesting to be installed first is already installed.
This might be a problem as the gtk files are essential for building the gui gmplayer but not needed for the command line version. I could not quite see if you have any version of libgtk2.0dev installed, so run the install and see if it fails and asks for gtk libraries.
Have a look at your system and see if something like the following exists (this is the tree fro libgtk2.0-dev in Intrepid Ibex):
/.
/usr
/usr/bin
/usr/bin/dh_gtkmodules
/usr/bin/gdk-pixbuf-csource
/usr/bin/gtk-builder-convert
/usr/include
/usr/include/gtk-2.0
/usr/include/gtk-2.0/gdk-pixbuf
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-transform.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-io.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-animation.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-features.h
/usr/include/gtk-2.0/gdk-pixbuf/gdk-pixdata.h
/usr/include/gtk-2.0/gdk
/usr/include/gtk-2.0/gdk/gdkx.h
/usr/include/gtk-2.0/gdk/gdk.h
/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h
/usr/include/gtk-2.0/gdk/gdkcairo.h
/usr/include/gtk-2.0/gdk/gdkcolor.h
/usr/include/gtk-2.0/gdk/gdkcursor.h
/usr/include/gtk-2.0/gdk/gdkdisplay.h
/usr/include/gtk-2.0/gdk/gdkdisplaymanager.h
/usr/include/gtk-2.0/gdk/gdkdnd.h
/usr/include/gtk-2.0/gdk/gdkdrawable.h
/usr/include/gtk-2.0/gdk/gdkevents.h
/usr/include/gtk-2.0/gdk/gdkfont.h
/usr/include/gtk-2.0/gdk/gdkgc.h
/usr/include/gtk-2.0/gdk/gdki18n.h
/usr/include/gtk-2.0/gdk/gdkimage.h
/usr/include/gtk-2.0/gdk/gdkinput.h
/usr/include/gtk-2.0/gdk/gdkkeys.h
/usr/include/gtk-2.0/gdk/gdkkeysyms.h
/usr/include/gtk-2.0/gdk/gdkpango.h
/usr/include/gtk-2.0/gdk/gdkpixbuf.h
/usr/include/gtk-2.0/gdk/gdkpixmap.h
/usr/include/gtk-2.0/gdk/gdkprivate.h
/usr/include/gtk-2.0/gdk/gdkproperty.h
/usr/include/gtk-2.0/gdk/gdkregion.h
/usr/include/gtk-2.0/gdk/gdkrgb.h
/usr/include/gtk-2.0/gdk/gdkscreen.h
/usr/include/gtk-2.0/gdk/gdkselection.h
/usr/include/gtk-2.0/gdk/gdkspawn.h
/usr/include/gtk-2.0/gdk/gdktestutils.h
/usr/include/gtk-2.0/gdk/gdktypes.h
/usr/include/gtk-2.0/gdk/gdkvisual.h
/usr/include/gtk-2.0/gdk/gdkwindow.h
/usr/include/gtk-2.0/gdk/gdkenumtypes.h
/usr/include/gtk-2.0/gtk
/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h
/usr/include/gtk-2.0/gtk/gtkaccelgroup.h
/usr/include/gtk-2.0/gtk/gtkaccellabel.h
/usr/include/gtk-2.0/gtk/gtkaccelmap.h
/usr/include/gtk-2.0/gtk/gtkaccessible.h
/usr/include/gtk-2.0/gtk/gtkaction.h
/usr/include/gtk-2.0/gtk/gtkactiongroup.h
/usr/include/gtk-2.0/gtk/gtkadjustment.h
/usr/include/gtk-2.0/gtk/gtkalignment.h
/usr/include/gtk-2.0/gtk/gtkarrow.h
/usr/include/gtk-2.0/gtk/gtkaspectframe.h
/usr/include/gtk-2.0/gtk/gtkassistant.h
/usr/include/gtk-2.0/gtk/gtkbbox.h
/usr/include/gtk-2.0/gtk/gtkbin.h
/usr/include/gtk-2.0/gtk/gtkbindings.h
/usr/include/gtk-2.0/gtk/gtkbox.h
/usr/include/gtk-2.0/gtk/gtkbuilder.h
/usr/include/gtk-2.0/gtk/gtkbuildable.h
/usr/include/gtk-2.0/gtk/gtkbutton.h
/usr/include/gtk-2.0/gtk/gtkcalendar.h
/usr/include/gtk-2.0/gtk/gtkcelleditable.h
/usr/include/gtk-2.0/gtk/gtkcelllayout.h
/usr/include/gtk-2.0/gtk/gtkcellrenderer.h
/usr/include/gtk-2.0/gtk/gtkcellrendereraccel.h
/usr/include/gtk-2.0/gtk/gtkcellrenderercombo.h
/usr/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h
/usr/include/gtk-2.0/gtk/gtkcellrendererspin.h
/usr/include/gtk-2.0/gtk/gtkcellrenderertext.h
/usr/include/gtk-2.0/gtk/gtkcellrenderertoggle.h
/usr/include/gtk-2.0/gtk/gtkcellview.h
/usr/include/gtk-2.0/gtk/gtkcheckbutton.h
/usr/include/gtk-2.0/gtk/gtkcheckmenuitem.h
/usr/include/gtk-2.0/gtk/gtkclipboard.h
/usr/include/gtk-2.0/gtk/gtkcolorbutton.h
/usr/include/gtk-2.0/gtk/gtkcolorsel.h
/usr/include/gtk-2.0/gtk/gtkcolorseldialog.h
/usr/include/gtk-2.0/gtk/gtkcombobox.h
/usr/include/gtk-2.0/gtk/gtkcomboboxentry.h
/usr/include/gtk-2.0/gtk/gtkcontainer.h
/usr/include/gtk-2.0/gtk/gtkcurve.h
/usr/include/gtk-2.0/gtk/gtkdebug.h
/usr/include/gtk-2.0/gtk/gtkdialog.h
/usr/include/gtk-2.0/gtk/gtkdnd.h
/usr/include/gtk-2.0/gtk/gtkdrawingarea.h
/usr/include/gtk-2.0/gtk/gtkeditable.h
/usr/include/gtk-2.0/gtk/gtkentry.h
/usr/include/gtk-2.0/gtk/gtkentrycompletion.h
/usr/include/gtk-2.0/gtk/gtkenums.h
/usr/include/gtk-2.0/gtk/gtkeventbox.h
/usr/include/gtk-2.0/gtk/gtkexpander.h
/usr/include/gtk-2.0/gtk/gtkfilechooser.h
/usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h
/usr/include/gtk-2.0/gtk/gtkfilechooserdialog.h
/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h
/usr/include/gtk-2.0/gtk/gtkfilefilter.h
/usr/include/gtk-2.0/gtk/gtkfixed.h
/usr/include/gtk-2.0/gtk/gtkfontbutton.h
/usr/include/gtk-2.0/gtk/gtkfontsel.h
/usr/include/gtk-2.0/gtk/gtkframe.h
/usr/include/gtk-2.0/gtk/gtkgamma.h
/usr/include/gtk-2.0/gtk/gtkgc.h
/usr/include/gtk-2.0/gtk/gtkhandlebox.h
/usr/include/gtk-2.0/gtk/gtkhbbox.h
/usr/include/gtk-2.0/gtk/gtkhbox.h
/usr/include/gtk-2.0/gtk/gtkhpaned.h
/usr/include/gtk-2.0/gtk/gtkhruler.h
/usr/include/gtk-2.0/gtk/gtkhscale.h
/usr/include/gtk-2.0/gtk/gtkhscrollbar.h
/usr/include/gtk-2.0/gtk/gtkhseparator.h
/usr/include/gtk-2.0/gtk/gtkhsv.h
/usr/include/gtk-2.0/gtk/gtkiconfactory.h
/usr/include/gtk-2.0/gtk/gtkicontheme.h
/usr/include/gtk-2.0/gtk/gtkiconview.h
/usr/include/gtk-2.0/gtk/gtkimage.h
/usr/include/gtk-2.0/gtk/gtkimagemenuitem.h
/usr/include/gtk-2.0/gtk/gtkimcontext.h
/usr/include/gtk-2.0/gtk/gtkimcontextsimple.h
/usr/include/gtk-2.0/gtk/gtkimmodule.h
/usr/include/gtk-2.0/gtk/gtkimmulticontext.h
/usr/include/gtk-2.0/gtk/gtkinputdialog.h
/usr/include/gtk-2.0/gtk/gtkinvisible.h
/usr/include/gtk-2.0/gtk/gtkitem.h
/usr/include/gtk-2.0/gtk/gtklabel.h
/usr/include/gtk-2.0/gtk/gtklayout.h
/usr/include/gtk-2.0/gtk/gtklinkbutton.h
/usr/include/gtk-2.0/gtk/gtkliststore.h
/usr/include/gtk-2.0/gtk/gtkmain.h
/usr/include/gtk-2.0/gtk/gtkmenu.h
/usr/include/gtk-2.0/gtk/gtkmenubar.h
/usr/include/gtk-2.0/gtk/gtkmenuitem.h
/usr/include/gtk-2.0/gtk/gtkmenushell.h
/usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h
/usr/include/gtk-2.0/gtk/gtkmessagedialog.h
/usr/include/gtk-2.0/gtk/gtkmisc.h
/usr/include/gtk-2.0/gtk/gtkmodules.h
/usr/include/gtk-2.0/gtk/gtkmountoperation.h
/usr/include/gtk-2.0/gtk/gtknotebook.h
/usr/include/gtk-2.0/gtk/gtkobject.h
/usr/include/gtk-2.0/gtk/gtkpagesetup.h
/usr/include/gtk-2.0/gtk/gtkpaned.h
/usr/include/gtk-2.0/gtk/gtkpapersize.h
/usr/include/gtk-2.0/gtk/gtkplug.h
/usr/include/gtk-2.0/gtk/gtkprintcontext.h
/usr/include/gtk-2.0/gtk/gtkprintoperation.h
/usr/include/gtk-2.0/gtk/gtkprintoperationpreview.h
/usr/include/gtk-2.0/gtk/gtkprintsettings.h
/usr/include/gtk-2.0/gtk/gtkprivate.h
/usr/include/gtk-2.0/gtk/gtkprogressbar.h
/usr/include/gtk-2.0/gtk/gtkradioaction.h
/usr/include/gtk-2.0/gtk/gtkradiobutton.h
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h
/usr/include/gtk-2.0/gtk/gtkradiotoolbutton.h
/usr/include/gtk-2.0/gtk/gtkrange.h
/usr/include/gtk-2.0/gtk/gtkrc.h
/usr/include/gtk-2.0/gtk/gtkrecentaction.h
/usr/include/gtk-2.0/gtk/gtkrecentchooser.h
/usr/include/gtk-2.0/gtk/gtkrecentchooserdialog.h
/usr/include/gtk-2.0/gtk/gtkrecentchoosermenu.h
/usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h
/usr/include/gtk-2.0/gtk/gtkrecentfilter.h
/usr/include/gtk-2.0/gtk/gtkrecentmanager.h
/usr/include/gtk-2.0/gtk/gtkruler.h
/usr/include/gtk-2.0/gtk/gtkscale.h
/usr/include/gtk-2.0/gtk/gtkscalebutton.h
/usr/include/gtk-2.0/gtk/gtkscrollbar.h
/usr/include/gtk-2.0/gtk/gtkscrolledwindow.h
/usr/include/gtk-2.0/gtk/gtkselection.h
/usr/include/gtk-2.0/gtk/gtkseparator.h
/usr/include/gtk-2.0/gtk/gtkseparatormenuitem.h
/usr/include/gtk-2.0/gtk/gtkseparatortoolitem.h
/usr/include/gtk-2.0/gtk/gtkshow.h
/usr/include/gtk-2.0/gtk/gtksettings.h
/usr/include/gtk-2.0/gtk/gtksizegroup.h
/usr/include/gtk-2.0/gtk/gtksocket.h
/usr/include/gtk-2.0/gtk/gtkspinbutton.h
/usr/include/gtk-2.0/gtk/gtkstatusbar.h
/usr/include/gtk-2.0/gtk/gtkstatusicon.h
/usr/include/gtk-2.0/gtk/gtkstock.h
/usr/include/gtk-2.0/gtk/gtkstyle.h
/usr/include/gtk-2.0/gtk/gtktable.h
/usr/include/gtk-2.0/gtk/gtktearoffmenuitem.h
/usr/include/gtk-2.0/gtk/gtktestutils.h
/usr/include/gtk-2.0/gtk/gtktextbuffer.h
/usr/include/gtk-2.0/gtk/gtktextbufferrichtext.h
/usr/include/gtk-2.0/gtk/gtktextchild.h
/usr/include/gtk-2.0/gtk/gtktextdisplay.h
/usr/include/gtk-2.0/gtk/gtktextiter.h
/usr/include/gtk-2.0/gtk/gtktextmark.h
/usr/include/gtk-2.0/gtk/gtktexttag.h
/usr/include/gtk-2.0/gtk/gtktexttagtable.h
/usr/include/gtk-2.0/gtk/gtktextview.h
/usr/include/gtk-2.0/gtk/gtktoggleaction.h
/usr/include/gtk-2.0/gtk/gtktogglebutton.h
/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h
/usr/include/gtk-2.0/gtk/gtktoolbar.h
/usr/include/gtk-2.0/gtk/gtktoolbutton.h
/usr/include/gtk-2.0/gtk/gtktoolitem.h
/usr/include/gtk-2.0/gtk/gtktoolshell.h
/usr/include/gtk-2.0/gtk/gtktooltip.h
/usr/include/gtk-2.0/gtk/gtktreednd.h
/usr/include/gtk-2.0/gtk/gtktreemodel.h
/usr/include/gtk-2.0/gtk/gtktreemodelfilter.h
/usr/include/gtk-2.0/gtk/gtktreemodelsort.h
/usr/include/gtk-2.0/gtk/gtktreeselection.h
/usr/include/gtk-2.0/gtk/gtktreesortable.h
/usr/include/gtk-2.0/gtk/gtktreestore.h
/usr/include/gtk-2.0/gtk/gtktreeview.h
/usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h
/usr/include/gtk-2.0/gtk/gtktypeutils.h
/usr/include/gtk-2.0/gtk/gtkuimanager.h
/usr/include/gtk-2.0/gtk/gtkvbbox.h
/usr/include/gtk-2.0/gtk/gtkvbox.h
/usr/include/gtk-2.0/gtk/gtkviewport.h
/usr/include/gtk-2.0/gtk/gtkvolumebutton.h
/usr/include/gtk-2.0/gtk/gtkvpaned.h
/usr/include/gtk-2.0/gtk/gtkvruler.h
/usr/include/gtk-2.0/gtk/gtkvscale.h
/usr/include/gtk-2.0/gtk/gtkvscrollbar.h
/usr/include/gtk-2.0/gtk/gtkvseparator.h
/usr/include/gtk-2.0/gtk/gtkwidget.h
/usr/include/gtk-2.0/gtk/gtkwindow.h
/usr/include/gtk-2.0/gtk/gtktext.h
/usr/include/gtk-2.0/gtk/gtktree.h
/usr/include/gtk-2.0/gtk/gtktreeitem.h
/usr/include/gtk-2.0/gtk/gtkclist.h
/usr/include/gtk-2.0/gtk/gtkcombo.h
/usr/include/gtk-2.0/gtk/gtkctree.h
/usr/include/gtk-2.0/gtk/gtkfilesel.h
/usr/include/gtk-2.0/gtk/gtkitemfactory.h
/usr/include/gtk-2.0/gtk/gtklist.h
/usr/include/gtk-2.0/gtk/gtklistitem.h
/usr/include/gtk-2.0/gtk/gtkoldeditable.h
/usr/include/gtk-2.0/gtk/gtkoptionmenu.h
/usr/include/gtk-2.0/gtk/gtkpixmap.h
/usr/include/gtk-2.0/gtk/gtkpreview.h
/usr/include/gtk-2.0/gtk/gtkprogress.h
/usr/include/gtk-2.0/gtk/gtksignal.h
/usr/include/gtk-2.0/gtk/gtktipsquery.h
/usr/include/gtk-2.0/gtk/gtktooltips.h
/usr/include/gtk-2.0/gtk/gtktextlayout.h
/usr/include/gtk-2.0/gtk/gtkfilesystem.h
/usr/include/gtk-2.0/gtk/gtkfilesystemmodel.h
/usr/include/gtk-2.0/gtk/gtkfilechooserprivate.h
/usr/include/gtk-2.0/gtk/gtkfilechooserutils.h
/usr/include/gtk-2.0/gtk/gtkquery.h
/usr/include/gtk-2.0/gtk/gtksearchengine.h
/usr/include/gtk-2.0/gtk/gtkmarshal.h
/usr/include/gtk-2.0/gtk/gtktypebuiltins.h
/usr/include/gtk-2.0/gtk/gtkversion.h
/usr/include/gtk-2.0/gdk-pixbuf-xlib
/usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h
/usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h
/usr/include/gtk-unix-print-2.0
/usr/include/gtk-unix-print-2.0/gtk
/usr/include/gtk-unix-print-2.0/gtk/gtkpagesetupunixdialog.h
/usr/include/gtk-unix-print-2.0/gtk/gtkprintunixdialog.h
/usr/include/gtk-unix-print-2.0/gtk/gtkprinter.h
/usr/include/gtk-unix-print-2.0/gtk/gtkprintjob.h
/usr/include/gtk-unix-print-2.0/gtk/gtkunixprint.h
/usr/include/gail-1.0
/usr/include/gail-1.0/libgail-util
/usr/include/gail-1.0/libgail-util/gailmisc.h
/usr/include/gail-1.0/libgail-util/gailtextutil.h
/usr/include/gail-1.0/libgail-util/gail-util.h
/usr/include/gail-1.0/gail
/usr/include/gail-1.0/gail/gailwidget.h
/usr/lib
/usr/lib/libgailutil.la
/usr/lib/libgdk-x11-2.0.la
/usr/lib/libgdk_pixbuf-2.0.la
/usr/lib/libgdk_pixbuf_xlib-2.0.la
/usr/lib/libgtk-x11-2.0.la
/usr/lib/pkgconfig
/usr/lib/pkgconfig/gdk-pixbuf-xlib-2.0.pc
/usr/lib/pkgconfig/gdk-pixbuf-2.0.pc
/usr/lib/pkgconfig/gdk-x11-2.0.pc
/usr/lib/pkgconfig/gtk+-x11-2.0.pc
/usr/lib/pkgconfig/gail.pc
/usr/lib/pkgconfig/gtk+-unix-print-2.0.pc
/usr/lib/pkgconfig/gdk-2.0.pc
/usr/lib/pkgconfig/gtk+-2.0.pc
/usr/lib/gtk-2.0
/usr/lib/gtk-2.0/include
/usr/lib/gtk-2.0/include/gdkconfig.h
/usr/lib/libgailutil.a
/usr/lib/libgdk-x11-2.0.a
/usr/lib/libgdk_pixbuf-2.0.a
/usr/lib/libgdk_pixbuf_xlib-2.0.a
/usr/lib/libgtk-x11-2.0.a
/usr/share
/usr/share/aclocal
/usr/share/aclocal/gtk-2.0.m4
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dh_gtkmodules.1.gz
/usr/share/man/man1/gdk-pixbuf-csource.1.gz
/usr/share/doc
/usr/share/doc/libgtk2.0-dev
/usr/share/doc/libgtk2.0-dev/changelog.gz
/usr/share/doc/libgtk2.0-dev/copyright
/usr/share/doc/libgtk2.0-dev/changelog.Debian.gz
/usr/lib/libgailutil.so
/usr/lib/libgdk-x11-2.0.so
/usr/lib/libgdk_pixbuf-2.0.so
/usr/lib/libgdk_pixbuf_xlib-2.0.so
/usr/lib/libgtk-x11-2.0.so
/usr/share/doc/libgtk2.0-dev/README.gz
/usr/share/doc/libgtk2.0-dev/NEWS.gz
Andrew
Argentino
October 17th, 2008, 03:12 PM
Thank you for your quick reply,
I checked and I do not have libgtk2.0-dev installed, and when I try to install it, I get the error message I posted before. In the screenshot I posted you can see that when I try to install it, synaptic tells me to install a package which is already installed, and this can be seen in the screenshot as well.
Thanks
andrew.46
October 17th, 2008, 07:15 PM
Hi Argentino,
Try the install of MPlayer anyway, that is:
$ cd $HOME/mplayer
$ ./configure --enable-gui --enable-menu
$ make
$ sudo make install
$ sudo make clean
and see if there are any error messages. There may be gtk errors but this will be a starting point anyway. The story of gtk is in the html docs:
The GUI needs GTK 1.2.x or GTK 2.0 (it isn't fully GTK, but the panels are), so GTK (and the devel stuff, usually called gtk-dev) has to be installed. You can build it by specifying --enable-gui during ./configure. Then, to turn on GUI mode, you have to execute the gmplayer binary.
Are you looking for the gui gmplayer or simply the commandline version?
Andrew
Argentino
October 17th, 2008, 08:41 PM
Thank you so much for your wonderful help Andrew.
I have good news, I now have video. BUT in the simple gui version or in the commandline version... I dont have sound. I am thinking on starting over from scratch, that way I go on the beta of Intrepid Ibex.
andrew.46
October 17th, 2008, 10:19 PM
More housekeeping: the amr information is now off the main page and stored here. Aim is to produce a stock-standard svn MPlayer install only from the repos and then produce a debian package as well:
-------------------------------------
Appendix: Adding amr support
-------------------------------------
This describes the method to add amr support to your svn mplayer installation and is written especially for the father of 'the laughing girl'.
1. amr narrow band:
$ cd $HOME
$ wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2
$ tar xjvf amrnb-7.0.0.2.tar.bz2
$ cd amrnb-7.0.0.2
$ wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-700.zip
$ ./configure --prefix=/usr --enable-shared --disable-static
$ make
$ sudo make install
$ sudo make clean
2. amr wide band:
$ cd $HOME
$ wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.3.tar.bz2
$ tar xjvf amrwb-7.0.0.3.tar.bz2
$ cd amrwb-7.0.0.3
$ wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-700.zip
$ ./configure --prefix=/usr --enable-shared --disable-static
$ make
$ sudo make install
$ sudo make clean
With both installed you now need to recompile the svn mplayer source code. Mplayer will automatically pick up the amr libraries and allow their use in Mplayer. And all the best to the father of 'the laughing girl'!!
Andrew
andrew.46
October 18th, 2008, 03:21 AM
Hi Argentino:
Thank you so much for your wonderful help Andrew.
I have good news, I now have video. BUT in the simple gui version or in the commandline version... I dont have sound. I am thinking on starting over from scratch, that way I go on the beta of Intrepid Ibex.
Well I have actually done some spring-cleaning on the guide so it is a good time to reload :-). But first have a look at your sound options:
andrew@skamandros~/music$ mplayer -ao help
MPlayer dev-SVN-r27647 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available audio output drivers:
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
arts aRts audio output
esd EsounD audio output
sdl SDLlib audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
This is on my slackware partition but your system should show something similar. It is possible to alter the default audio out device as follows:
$ mplayer -ao oss my_music.mp3
$ mplayer -ao alsa my_music.mp3
and when you have found one that works add it to your $HOME/.mplayer/config as:
ao=oss
and this becomes the new default. How cool is that!
Andrew
mocha
October 18th, 2008, 03:13 PM
More housekeeping: the amr information is now off the main page and stored here. Aim is to produce a stock-standard svn MPlayer install only from the repos and then produce a debian package as well:
Andrew,
Why did you move this information from the first post? It will become impossible to find after a while. Can I convince you to move it back?
andrew.46
October 18th, 2008, 08:30 PM
Hi mocha:
Why did you move this information from the first post? It will become impossible to find after a while. Can I convince you to move it back?
You have convinced me :-). And with a rethink I have added x264 back again. The guide now resembles the method I use to install MPlayer on my Ubuntu partition and hopefully has a logical flow.
There might be a few more changes as I polish and re-polish the guide ready for the expected influx of new users with the release of Intrepid Ibex. You might note that I have dropped --enable-menu rom the guide as I never quite got around to giving the details of setting this up properly :-).
Andrew
nirdo
October 26th, 2008, 03:29 AM
i'm getting compilation errors when building mplayer svn version 27826 in Hardy. Have tried previous versions as well with similar results.
last few lines are showing:
libavcodec/libavcodec.a(cavs.o): In function `ff_cavs_mv':
cavs.c:(.text+0x1f3b): undefined reference to `ff_golomb_vlc_len'
cavs.c:(.text+0x1f4a): undefined reference to `ff_se_golomb_vlc_code'
cavs.c:(.text+0x1f9f): undefined reference to `ff_golomb_vlc_len'
cavs.c:(.text+0x1fae): undefined reference to `ff_se_golomb_vlc_code'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
all other errors seem to be realted to libavcodec.a and its references to ff_...
andrew.46
October 27th, 2008, 04:01 AM
Hi nirdo,
I can certainly confirm that compilation is broken in that revision. There was a little work in the next revision:
http://svn.mplayerhq.hu/mplayer?view=rev&revision=27828
to correct this and certainly Revision 27834, which I have just installed, seems to be working perfectly. The joys of the bleeding edge :-).
Andrew
nirdo
October 27th, 2008, 02:49 PM
Thanks Andrew.
Revision 27834 worked :)
Siggma
October 28th, 2008, 11:39 PM
I find it difficult to use the commands when they are preceded by the '$'. What is the purpose of adding them?
Perhaps removing them would help?
See:http://www.trbailey.net/mediawiki/index.php/Compile_mplayer
GREAT GUIDE, worked for me! Now if only X didn't tear so bad during playback :(
andrew.46
October 29th, 2008, 03:30 AM
Hi Siggma:
I find it difficult to use the commands when they are preceded by the '$'. What is the purpose of adding them?
Perhaps removing them would help?
See:[url]http://www.trbailey.net/mediawiki/index.php/Compile_mplayer[/url
I have seen my guide reproduced on a few different web sites, always without my consent, and I guess this is yet another one :(. I do not mind people using my work and extending and enriching it but a simple copy which will more likely than not never be updated does not serve anybody well. For example:
http://www.ubuntu-unleashed.com/2007/09/howto-install-subversion-mplayer.html
On a lighter note the use of '$' is perhaps not so relevant to Ubuntu but it is a long-standing convention to show what commands can be issued as an unpriviledged user, denotes as '$' and which commands can be issued as root, denoted as '#'. Root is not such a big issue with Ubuntu which discourages its use but I think the convention should stay nevertheless.
Andrew
Siggma
October 29th, 2008, 07:30 PM
It's not really "posted" on the net. It's an example of formatting. I'll be happy to remove it. ... done.
The point is that beginning a line with "$" makes it extremely tedious to copy one line at a time since it's not a valid command prefix in Ubuntu. :)
Do you know if xvidix works for ATI r500 cards using the radeon driver?
I seem to get a "no valid xvidix driver" no matter what I do.
-Tom
andrew.46
October 30th, 2008, 10:19 PM
Hi Siggma:
It's not really "posted" on the net. It's an example of formatting. I'll be happy to remove it. ... done.
OIC, my apologies. I assumed that this was yet another example of somebody having purloined my work :-). There have been a few of these and I am a little sensitive to this, perhaps a little too sensitive.
The point is that beginning a line with "$" makes it extremely tedious to copy one line at a time since it's not a valid command prefix in Ubuntu. :)
OK I will have a think about it .....
Do you know if xvidix works for ATI r500 cards using the radeon driver?
I seem to get a "no valid xvidix driver" no matter what I do.
I am afraid that I cannot help you with this one. Could be a job for the MPlayer-users (https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users)? Have you tried running mplayer with sudo as follows:
sudo mplayer -v -vo xvidix myfile.x264
This will show mplayer probing for suitable drivers and may show an error.
Andrew
sorfrena
November 3rd, 2008, 02:01 PM
Really thanks for your guide
I successfully installed the mplayer
I am trying to convert a video to mp4, for ipod, but I receive an error: unknown encoder xvid
I have tried to do many things (it's easy to find other posts mentioning this problem googleing) to get this error solved, but nothing seems to work actually.
I wonder if you have any idea about it.
Thanks in advance
andrew.46
November 3rd, 2008, 03:31 PM
Hi sorfrena:
I am trying to convert a video to mp4, for ipod, but I receive an error: unknown encoder xvid
I guess the first step is to see if you have successfully set mencode to use xvid. Try this command, you can see my results here:
andrew@skamandros:~$ mencoder -ovc help
MEncoder dev-SVN-r27872-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available codecs:
copy - frame copy, without re-encoding. Doesn't work with filters.
frameno - special audio-only file for 3-pass encoding, see DOCS.
raw - uncompressed video. Use fourcc option to set format explicitly.
nuv - nuppel video
lavc - libavcodec codecs - best quality!
vfw - VfW DLLs, read DOCS/HTML/en/encoding-guide.html.
qtvideo - QuickTime DLLs, currently only SVQ1/3 are supported.
libdv - DV encoding with libdv v0.9.5
xvid - XviD encoding
x264 - H.264 encoding
And if this shows xvid can you show your commandline for encoding?
Andrew
sorfrena
November 3rd, 2008, 06:04 PM
yes, this is what I get:
MEncoder dev-SVN-r27883-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available codecs:
copy - frame copy, without re-encoding. Doesn't work with filters.
frameno - special audio-only file for 3-pass encoding, see DOCS.
raw - uncompressed video. Use fourcc option to set format explicitly.
nuv - nuppel video
lavc - libavcodec codecs - best quality!
vfw - VfW DLLs, read DOCS/HTML/en/encoding-guide.html.
qtvideo - QuickTime DLLs, currently only SVQ1/3 are supported.
libdv - DV encoding with libdv v0.9.5
xvid - XviD encoding
xvid is available, but I am getting the error anyway.
Running intrepid if this can be of any help.
Thank you
andrew.46
November 4th, 2008, 02:57 AM
Hi sorfrena:
xvid is available, but I am getting the error anyway.
Running intrepid if this can be of any help.
If xvid is available you should be able to encode with it then :-). I am running Intrepid as well so we have virtually the same setup. I have just encoded to xvid and it runs well.
Can you quote the encoder syntax you are using and the exact error message? For xvid it should run something like this:
$ mencoder blah blah \
-ovc xvid -xvidencopts vhq=4:trellis:max_bframes=0 \
-oac mp3lame -lameopts blah blah \
-o file.avi
Andrew
sorfrena
November 4th, 2008, 01:12 PM
Actually I am using WinFF that is based on Mencoder
The preset for ipod video (16:9) is this:
-r 29.97 -vcodec xvid -s 704x384 -aspect 16:9 -maxrate 1500k -b 1250k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -g 300 -acodec aac -ar 48000 -ab 80k -ac 2
Thanks again
andrew.46
November 4th, 2008, 03:25 PM
Hi sorfrena:
Actually I am using WinFF that is based on Mencoder
It all becomes clear now :-). I believe WinFF is actually based on ffmpeg rather than mencoder. Which at least explains why mencoder and xvid are not working. I am no great expert at either ffmpeg or winFF I am afraid :confused:.
Edit: Mind you a first step is to run the following:
andrew@skamandros:~$ ffmpeg -formats | grep xvid
FFmpeg version SVN-r15772, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-postproc
--enable-pthreads --enable-libamr-nb --enable-libamr-wb --enable-libmp3lame
--enable-libschroedinger --enable-libx264 --enable-libxvid
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 2. 0 / 52. 2. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Nov 4 2008 18:37:29, gcc: 4.3.2
EV libxvid libxvidcore MPEG-4 part 2
As you can see on my system the command would actually involve '-vcodec libxvid' rather than '-vcodec xvid', but I am no ffmpeg guru.
Andrew
sorfrena
November 5th, 2008, 02:00 PM
Thank you, you gave me the solution
It's working now
andrew.46
November 5th, 2008, 06:15 PM
Hi:
Thank you, you gave me the solution
It's working now
Wooo hooooo! I solved an ffmpeg problem :-). I shall have to confess to a profound ignorance of ffmpeg that I really should address one day. If you have not already seem it there is a very nice howto + discussion on ffmpeg hosted by Fakeoutdoorsman: http://ubuntuforums.org/showthread.php?t=786095. It deals primarily with x264 but is well worth following for more general ffmpeg / compiling / xvid etc.
All the best,
Andrew Strong
Alfred_McGee
November 8th, 2008, 04:52 PM
The tutorial at the start of this thread enabled audio in playback of a 3gp video, :) but there ought to be a less painful way. The same 3gp file somehow played back perfectly for me under Hardy, using Movie Player, but once I installed Ibex, no more sound. Andrew46's massive version of Mplayer undoubtedly has many features that I am still too much of a newbie to appreciate, but for my purposes it seems like overkill. Nice work, though.
andrew.46
November 8th, 2008, 06:25 PM
Hi Alfred:
The tutorial at the start of this thread enabled audio in playback of a 3gp video, :) but there ought to be a less painful way. The same 3gp file somehow played back perfectly for me under Hardy, using Movie Player, but once I installed Ibex, no more sound. Andrew46's massive version of Mplayer undoubtedly has many features that I am still too much of a newbie to appreciate, but for my purposes it seems like overkill. Nice work, though.
Thanks for your message above and I am glad you managed to get the videos playing :-).
The guide is a fairly complex piece of work and I agree it may be a little much for someone who simply wants to play a particular move clip or sound file. However it opens a door to the fascinating world of Linux and multimedia that can sometimes be missed if you simply use the gui tools commonly available in Ubuntu.
I do include a note at the beginning of the guide that directs anybody who finds my guide a little 'over the top' to Nathans massive Comprehensive Multimedia & Video Howto (http://ubuntuforums.org/showthread.php?t=766683). Have you had a look at this? I am not so sure that it covers amr but it seems to cover almost everything else :-).
All the best,
Andrew
penC
November 10th, 2008, 04:53 AM
Thank you, this was an outstanding guide! I just re-built my mplayer according to this text, and (at least for now :-) everything went fine.
All the best,
pen
andrew.46
November 10th, 2008, 05:15 AM
Hi Pen:
Thank you, this was an outstanding guide! I just re-built my mplayer according to this text, and (at least for now :-) everything went fine.
It is totally my pleasure! I wish you all the best with what is almost my favourite piece of software :-).
Andrew
xzero1
November 10th, 2008, 05:43 PM
In the intrepid development files section libglide2 could not be found though libglide3 seems to work.
You may want to update the original post. Also I cannot seem to get ac3 passthrough to work i.e. mplayer -afm hwac3 filename. It does work with the synaptic version of mplayer. Please help.
andrew.46
November 11th, 2008, 01:54 AM
Hi xzero:
In the intrepid development files section libglide2 could not be found though libglide3 seems to work.
You may want to update the original post.
Now I am not entirely sure what that particular file is doing there at all as it seems to be a library for a particular graphics card. Both versions 2 and 3 are in the repos though:
andrew@skamandros:~$ apt-cache search libglide
libgl1-mesa-dri - A free implementation of the OpenGL API -- DRI modules
libggi-target-glide - General Graphics Interface Glide2 display target
libglide2 - graphics library for 3Dfx Voodoo based cards - shared libraries
libglide2-dev - graphics library for 3Dfx Voodoo based cards - development files
libglide3 - graphics library for 3Dfx Voodoo based cards - shared libraries
libglide3-dev - graphics library for 3Dfx Voodoo based cards - development files
I suspect that this file has been dragged in as a dependency of the General Graphics Interface library rather than as a library for Voodoo cards.
Also I cannot seem to get ac3 passthrough to work i.e. mplayer -afm hwac3 filename. It does work with the synaptic version of mplayer. Please help.
Hmmm.... I may no be much help to you here. All I know about AC-3/DTS Passthrough is what I have gleaned from the HTML docs for MPlayer (3.6.1.3. AC-3/DTS Passthrough). But this shows me that I suspect I cannot test this on my lousy equipment.
However support for this is enabled in my copy of MPlayer:
andrew@skamandros:~/Desktop$ mplayer -ac help | grep hwac3
hwac3 hwac3 working AC3 through S/PDIF
hwdts hwac3 working DTS through S/PDIF
Is this the case with your copy of MPlayer? And if you could tell me a little more about the use of hwac3 perhpas I can test my MPlayer a little :-).
Andrew
xzero1
November 11th, 2008, 10:45 AM
Is this the case with your copy of MPlayer? And if you could tell me a little more about the use of hwac3 perhpas I can test my MPlayer a littleI also have support enabled.
As I understand it, ac3 or Dolby Digital is encoded multichannel audio, usually 5.1. The hwac3 parameter instructs mplayer to send the encoded stream to an external decoder for processing via a S/PDIF digital audio connection. The stream is thus 'passed through' and not decoded by mplayer. I suspect this could be a regression since svn mplayer complains about the sample format 'not yet' supported. I welcome your opinion on this. Hopefully, someone with the proper hardware can test this before any bug report should be considered. Thanks for creating and maintaining a great guide!
Working version:
$ mplayer -afm hwac3 di.ts
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Playing di.ts.
Cache fill: 0.00% (0 bytes)
TS file format detected.
VIDEO H264(pid=4113) AUDIO A52(pid=4352) NO SUBS (yet)! PROGRAM N. 1
FPS seems to be: 59.940060
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
================================================== ========================
Forced audio codec: mad
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
hwac3: switched to AC3, 384000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
================================================== ========================
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Starting playback...
[h264 @ 0xf8ce80]Cannot parallelize deblocking type 1, decoding such frames in sequential order
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
GNOME screensaver enabled.005 ct: -0.053 451/451 64% 13% 0.4% 37 0 84% SVN version:
$ mplayer -afm hwac3 di.ts
MPlayer dev-SVN-r27902-4.3.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing di.ts.
Cache fill: 0.00% (0 bytes)
TS file format detected.
VIDEO H264(pid=4113) AUDIO A52(pid=4352) NO SUBS (yet)! PROGRAM N. 1
FPS seems to be: 59.940060
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
================================================== ========================
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 384000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
================================================== ========================
[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
[format] Sample format big-endian AC3 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
Couldn't find matching filter/ao format!
Starting playback...
MPlayer interrupted by signal 11 in module: decode_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
nirdo
November 11th, 2008, 06:45 PM
Does anybody know which revision complies on 8.10?
andrew.46
November 12th, 2008, 01:42 AM
Hi xzero:
I also have support enabled.
As I understand it, ac3 or Dolby Digital is encoded multichannel audio, usually 5.1. The hwac3 parameter instructs mplayer to send the encoded stream to an external decoder for processing via a S/PDIF digital audio connection. The stream is thus 'passed through' and not decoded by mplayer. I suspect this could be a regression since svn mplayer complains about the sample format 'not yet' supported. I welcome your opinion on this. Hopefully, someone with the proper hardware can test this before any bug report should be considered. Thanks for creating and maintaining a great guide!
Hmmm... looks like a known problem:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-October/074929.html
No firm answer for this one on the list + the usual brawling :-). Or is this your report?
Andrew
andrew.46
November 12th, 2008, 01:58 AM
Hi nirdo:
Does anybody know which revision complies on 8.10?
I am using 8.10 and I have just finished compiling Revision 27904 which is the current svn. Runs fine.
Andrew
xzero1
November 12th, 2008, 03:25 AM
Hmmm... looks like a known problem:
http://lists.mplayerhq.hu/pipermail/...er/074929.html (http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-October/074929.html)
No firm answer for this one on the list + the usual brawling :smile:. Or is this your report?
AndrewSorry, I should have searched a bit more for the bug. I guess I used the wrong keywords! :confused:
Thanks again.
nirdo
November 12th, 2008, 03:30 AM
Thanks Andrew. Runs fine for me too. Previous revisions didn't compile
andrew.46
November 12th, 2008, 08:24 AM
Hi xzero:
Sorry, I should have searched a bit more for the bug. I guess I used the wrong keywords! :confused:
No that is not a problem :-). I can duplicate your problem including the MPlayer crash but unfortunately I no so little about the use of hwac3 that it would be foolish of me to attempt a proper bug report to MPlayer-users who as you may know do not tolerate ignorance lightly!
You may be interested in the document hwac3.txt which is the source tarball at /DOCS/tech/hwac3.txt. This gives some background to implementation in MPlayer and a few suggestions for use. If you feel confident enough to make a bug report to MPLayer users the guidelines are in the HTML docs under 'A.6.6. Crashes'.
Edit: Mind you the answer may be in the error message that MPlayer spits out:
Couldn't find matching filter/ao format!
The following syntax did not make MPlayer crash, although on my system no sound either:
$ mplayer -ao alsa:device=spdif -ac hwac3 filename
$ mplayer -ao alsa:device=spdif -ac hwdts filename
$ mplayer -ao alsa:device=spdif -afm hwac3 filename
Thus giving MPlayer the -ao format it was requesting?
All the best,
Andrew
pableron
November 12th, 2008, 11:32 AM
If I have mplayer compiled, how can I install the mozilla plugin with apt-get? I don't want to compile the plugin too.
Thank you for the guide, it's very useful.
andrew.46
November 12th, 2008, 07:00 PM
Hi pableron:
If I have mplayer compiled, how can I install the mozilla plugin with apt-get? I don't want to compile the plugin too.
There is a weakness in this MPlayer guide in that it does not place MPlayer within the package management system of Ubuntu. Because of this some packages when installed will download the repository version of MPlayer and overwrite your newer copy. This will doubtless occur with a plugin system that uses MPlayer.
The repository version of MPlayer is deliberately crippled to avoid perceived potential legal problems arising from distribution of the full version. In fact this is the reason I wrote this guide in the first place so people could see and utilise the full power of this amazing software.
Unfortunately I do not cover the required steps to place MPlayer within the package management system. I believe it requires either creating a Debian package, modifying the installation version number and installing from this, or creating a package using checkinstall and then locking this version. I have not however used or tested either technique fully.
Can others help out with this?
Andrew
rvm4000
November 12th, 2008, 07:26 PM
Unfortunately I do not cover the required steps to place MPlayer within the package management system. I believe it requires either creating a Debian package, modifying the installation version number and installing from this, or creating a package using checkinstall and then locking this version. I have not however used or tested either technique fully.
Can others help out with this?
I've built deb packages for MPlayer SVN.
There's here a document which explains how I did it:
http://smplayer.berlios.de/forums/viewtopic.php?pid=3064#p3064
There are also links to documents which explain step by step how to create deb packages for the newer versions of x264, libdvdread4 and libdvdnav4.
xzero1
November 12th, 2008, 08:31 PM
Thanks again, Andrew :)
The following syntax did not make MPlayer crash, although on my system no sound either:
Your new syntax could be working; it does not crash mplayer. As it happens, my amplifier is dying so I cannot really test it. I will, hopefully in a couple of days, after I get a replacement.
xzero1
November 19th, 2008, 02:31 AM
Your new ac3 S/PDIF syntax works! Thanks :guitar:
As a side note, I found one can experiment with ac3 type sources (many dvds) without a S/PDIF connection and only two speakers. While playing an ac3 multichannel source use "-channels 6 -af hrtf". Designed for headphones, this creates a virtual 6 channel surround environment.
andrew.46
November 21st, 2008, 06:06 PM
I have added a small checkinstall section to the guide and I would be interested to hear any comments about it. I am not such big fan of checkinstall but I acknowledge that it has a place in putting MPlayer within the package management system of Ubuntu and allowing the installation of such programs as smplayer, the MPlayer plugin etc without overwriting the svn files with the older repository MPlayer.
In particular I am not all that happy with the requirement for the '--fstrans=no' option which has been an issue with checkinstall for a long time now but seems to have only bitten Ubuntu with some force since Intrepid Ibex.
Anyway a checkinstall section is in place now as an option.
Andrew
champkuo
November 25th, 2008, 06:45 AM
I'm very happy to thank you. It's so clear and make me successfully
install at once. Thanks again.
on the font, may you give more information.
andrew.46
November 25th, 2008, 07:09 AM
Hi champkuo:
I'm very happy to thank you. It's so clear and make me successfully install at once. Thanks again.
on the font, may you give more information.
Glad it ll worked out for you and I hope you enjoy this wonderful software. The font is required so MPlayer can create subtitles and for use with the on screen display. To quote the html docs:
You need to tell MPlayer which font to use to enjoy OSD and subtitles. Any TrueType font or special bitmap fonts will work. However, TrueType fonts are recommended as they look far better, can be properly scaled to the movie size and cope better with different encodings.
[...]
There are two ways to get TrueType fonts to work. The first is to pass the -font option to specify a TrueType font file on the command line. This option will be a good candidate to put in your configuration file (see the manual page for details). The second is to create a symlink called subfont.ttf to the font file of your choice.
For this guide I chose the second option.
Andrew
pmuzyk
November 28th, 2008, 05:59 AM
OMG THANK YOU!! I had so much trouble getting mplayer to play MTS files cleanly and now it does just that!! If you were around I would kiss you. I used to get hardcore artifact problems when playing HD vids.
It plays slower than it should (fps is noticably lower) but I think that is because it's not accellerated?? The sound is perfect and in sync too.
andrew.46
November 28th, 2008, 07:14 AM
Hi pmuzyk:
OMG THANK YOU!! I had so much trouble getting mplayer to play MTS files cleanly and now it does just that!! If you were around I would kiss you. I used to get hardcore artifact problems when playing HD vids.
It is my pleasure, and thanks for the 'virtual' kiss :-).
Andrew
champkuo
November 28th, 2008, 11:03 PM
I don't know why I can't find the checkinstall package again.(sudo apt-get install checkinstall). So that,I'm failed on the mplayer install more than 3 times except the first successful experience.
Please help me to find this package or how to dig it out from the successful mplayer installation.
Thanks for your kindly quick reply before.
andrew.46
November 28th, 2008, 11:37 PM
Hi champkuo,
I don't know why I can't find the checkinstall package again.(sudo apt-get install checkinstall). So that,I'm failed on the mplayer install more than 3 times except the first successful experience
Please help me to find this package or how to dig it out from the successful mplayer installation.
Thanks for your kindly quick reply before.
Sorry to hear you are having some trouble. Checkinstall is in the 'universe' repository and possibly you do not have this enabled in your copy of Ubuntu. The 4 main repositories are:
main - Supported by Canonical, this is the major part of the distribution.
restricted - Software not licensed under the GPL or similar, supported by Canonical.
universe - Software licensed under the GPL or similar, supported by users.
multiverse - Software not licensed under the GPL or similar, supported by users.
To enable this, and any other repositories, go to System --> Administration --> Software Sources and give your password when asked. I have attached a screenshot to show what this dialogue box looks like. Make sure you have selected the 'universe' repository and then allow your list to be reloaded. Then:
$ sudo apt-get install checkinstall
should work fine :-).
Andrew
champkuo
November 29th, 2008, 07:57 AM
Andrew,I'd like to give you
a deep kiss & with bear hugs. You're the best master on the website.
I follow your clear instruction and
user friendly screen shot,and It's bingo soon.
andrew.46
November 29th, 2008, 08:52 AM
Hi champkuo,
Andrew,I'd like to give you
a deep kiss & with bear hugs. You're the best master on the website.
There seems to be lot of kisses available in this thread at the moment :-). Good to hear you are on the path to having checkinstall available to you. 'Master' I most definitely am not, just an ordinary linux student same as you.
All the best,
Andrew
Alfred_McGee
December 1st, 2008, 02:47 AM
My ffmpeg version (installed with the howto on this thread) seems unable to handle H.264. When attempting to convert video that uses the H.264 video codec, I get "Unsupported video codec (7)". After updating x264 with "git pull," I typed "/configure --prefix=/usr --enable-shared" (was that my mistake?) and then "make" to compile. This is the error message I got:
gcc -o x264 x264.o matroska.o muxers.o libx264.a -lm -lpthread -lgpac_static -s
libx264.a(cpu-a.o): In function `x264_cpu_cpuid_test':
common/x86/cpu-a.asm:(.text+0x0): multiple definition of `x264_cpu_cpuid_test'
libx264.a(cpu-32.o):common/x86/cpu-32.asm:(.text+0x0): first defined here
libx264.a(cpu-a.o): In function `x264_cpu_cpuid':
common/x86/cpu-a.asm:(.text+0x20): multiple definition of `x264_cpu_cpuid'
libx264.a(cpu-32.o):common/x86/cpu-32.asm:(.text+0x20): first defined here
libx264.a(cpu-a.o): In function `x264_stack_align':
common/x86/cpu-a.asm:(.text+0x50): multiple definition of `x264_stack_align'
libx264.a(cpu-32.o):common/x86/cpu-32.asm:(.text+0x60): first defined here
libx264.a(cpu-a.o): In function `x264_emms':
common/x86/cpu-a.asm:(.text+0x70): multiple definition of `x264_emms'
libx264.a(cpu-32.o):common/x86/cpu-32.asm:(.text+0x50): first defined here
collect2: ld returned 1 exit status
make: *** [x264] Error 1
***Very grateful for any advice...***
andrew.46
December 1st, 2008, 03:33 AM
Hi Alfred,
Sorry to hear that you are having some trouble. The x264 libraries can be a little bit of a pain in Ubuntu as there is a juggling match between the regular repository version, the medibuntu version and the git version. Now I have just installed the latest x264 via git (just to make sure that x264 is not currently broken) and it compiles and installs cleanly:
andrew@skamandros:~/x264$ x264 --version
x264 0.65.1046 71d34b4
built on Dec 1 2008, gcc: 4.3.2
I suspect you may have a few different versions of x264 on your system and you will need to delete the older ones. Try running:
sudo apt-get purge x264 libx264-dev
and then re-run the x264 compile. Don't forget to run:
make clean
before compiling the source code again though.
I suspect I will have to make a major change to the guide soon and put the checkinstall options against all the installations (yasm, x264, amr, mplayer) which will hopefully avoid some of these problems although this will be a pain as I will have to look at all the naming conventions in the repository :(.
Anyway let me know how you go with this?
Andrew
Edit: I have borrowed the Fakeoutdoorsman's naming scheme for x264 which should avoid a lot of trouble:
$ cd $HOME
$ git clone git://git.videolan.org/x264.git
$ cd x264
$ ./configure --prefix=/usr --enable-shared
$ make
$ sudo checkinstall -D --pkgname=x264 --fstrans=no --pakdir "$HOME/Desktop" \
--maintainer "$USER" --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --backup=no \
--deldoc=yes --deldesc=yes --delspec=yes
$ sudo make clean
And I would expect that a combination of removing your old x264 libraries and using this newer syntax should work.
Alfred_McGee
December 3rd, 2008, 05:25 PM
Hi Andrew. After following your instructions directly above, I tried to follow the instructions you added from Fakeoutdoorsman. The "git clone" line returned "Destination already exists," so I deleted my x264 directory. After that, "git clone" worked, and so did "./configure" and "make." The next line, however, gave some strange results. First I was asked to "write a description of the package." WTF?! Once I'd done that, this came up:
========================= Installation results ===========================
/var/tmp/tmp.rgAGJ21369/installscript.sh: 4: : not found
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
andrew.46
December 3rd, 2008, 07:26 PM
Hi Alfred,
The next line, however, gave some strange results. First I was asked to "write a description of the package." WTF?!
Checkinstall asks for a short description of the package it is making. Just call it 'git x264' or something like that and press enter twice.
Once I'd done that, this came up:
========================= Installation results ===========================
/var/tmp/tmp.rgAGJ21369/installscript.sh: 4: : not found
**** Installation failed. Aborting package creation.
Cleaning up...OK
My apologies I have made a slight error in the syntax:redface:. I have corrected this in the guide and I am just about to correct it in the post above. 1st line had an extra space. Ooops.
Andrew
Edit: OK I think I have hidden all evidence of my stupid error now, my apologies again for letting that one slip through :-).
Alfred_McGee
December 9th, 2008, 01:36 PM
Hi Andrew. Installation of x264 seems to have worked as a result of your edit, (thanks!!) but otherwise nothing seems to have changed. When I try to convert .flv to .mp3, I still sometimes get a dead output file on Desktop and several thousand lines of "Unsupported video codec (7)" in terminal. Doesn't "codec (7)" in this error message refer to H.264, or am I barking up the wrong tree?
andrew.46
December 10th, 2008, 01:59 AM
Hi Alfred,
Hi Andrew. Installation of x264 seems to have worked as a result of your edit, (thanks!!) but otherwise nothing seems to have changed. When I try to convert .flv to .mp3, I still sometimes get a dead output file on Desktop and several thousand lines of "Unsupported video codec (7)" in terminal. Doesn't "codec (7)" in this error message refer to H.264, or am I barking up the wrong tree?
Now this rings a bell, are these youtube videos? If so there has been a change in youtube recently that has sparked this error message for a few people. Have a look at some of the posts in this thread:
http://ubuntuforums.org/showthread.php?t=997639
and you will see a mention of this problem a little firther down the page. I note that the fakeoutdoorsman has no problem with a self-compiled ffmpeg.
Can I ask for a link to one of these flv files that is causing trouble and an exact copy of the command line that you are using? This way I can test with both mencoder and ffmpeg and hopefully isolate the problem.
All the best,
ANdrew
Alfred_McGee
December 10th, 2008, 12:28 PM
Thanks for the very relevant link, Andrew. Playing H.264 flvs has only been a problem with VLC media player. Movieplayer or Mplayer work perfectly. File conversion is the problem.
EDIT: Went to FakeOutdoorsman's thread for self-compiling ffmpeg. Still no conversion of H.264 flvs, but the "Unsupported video codec (7)" message no longer appears. Instead, this:
~$ ffmpeg -i 'Desktop/t.flv' -vn -ac 2 -acodec copy -y 'Desktop/t.mp3'
FFmpeg version SVN-r16043, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 6. 1 / 52. 6. 1
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Dec 10 2008 12:14:34, gcc: 4.3.2
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from 'Desktop/t.flv':
Duration: 00:04:24.49, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 320x214 [PAR 1:1 DAR 160:107], 29.92 tb(r)
Stream #0.1: Audio: aac, 22050 Hz, stereo, s16
Output #0, mp3, to 'Desktop/tyrant.mp3':
Stream #0.0: Audio: libfaac, 22050 Hz, stereo, s16
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 2526kB time=264.94 bitrate= 78.1kbits/s
video:0kB audio:2526kB global headers:0kB muxing overhead 0.001237%
***The mp3 file produced this way does not play. "Could not determine type of stream," says Totem.
***Using the above command on an flv file with a codec other than H.264 still works perfectly, however:
~$ ffmpeg -i 'Desktop/a.flv' -vn -ac 2 -acodec copy -y 'Desktop/a.mp3'
FFmpeg version SVN-r16043, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 6. 1 / 52. 6. 1
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Dec 10 2008 12:14:34, gcc: 4.3.2
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.92 (359/12)
Input #0, flv, from 'Desktop/a.flv':
Duration: 00:04:30.31, start: 0.000000, bitrate: 80 kb/s
Stream #0.0: Video: flv, yuv420p, 320x239, 29.92 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, mono, s16, 80 kb/s
Output #0, mp3, to 'Desktop/a.mp3':
Stream #0.0: Audio: libmp3lame, 22050 Hz, mono, s16, 80 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 2250kB time=270.34 bitrate= 68.2kbits/s
video:0kB audio:2250kB global headers:0kB muxing overhead 0.001389%
***Any ideas?
FakeOutdoorsman
December 10th, 2008, 02:47 PM
...
~$ ffmpeg -i 'Desktop/t.flv' -vn -ac 2 -acodec copy -y 'Desktop/t.mp3'
Stream #0.0: Video: h264, yuv420p, 320x214 [PAR 1:1 DAR 160:107], 29.92 tb(r)
Stream #0.1: Audio: aac, 22050 Hz, stereo, s16
Output #0, mp3, to 'Desktop/tyrant.mp3':
Stream #0.0: Audio: libfaac, 22050 Hz, stereo, s16
***The mp3 file produced this way does not play. "Could not determine type of stream," says Totem.
This command is telling ffmpeg to copy the audio stream into a mp3 container, however the file contains aac audio. This should do it (you may want to use the -ab option to give an audio bitrate):
ffmpeg -i ~/Desktop/t.flv t.mp3
***Using the above command on an flv file with a codec other than H.264 still works perfectly, however:
~$ ffmpeg -i 'Desktop/a.flv' -vn -ac 2 -acodec copy -y 'Desktop/a.mp3'
Duration: 00:04:30.31, start: 0.000000, bitrate: 80 kb/s
Stream #0.0: Video: flv, yuv420p, 320x239, 29.92 tb(r)
Stream #0.1: Audio: mp3, 22050 Hz, mono, s16, 80 kb/s
Output #0, mp3, to 'Desktop/a.mp3':
Stream #0.0: Audio: libmp3lame, 22050 Hz, mono, s16, 80 kb/s
***Any ideas?
This one works fine because the flv already contains mp3 audio so using 'acodec copy' should work as expected.
Alfred_McGee
December 10th, 2008, 03:50 PM
Thanks, FakeOutdoorsman, that did the trick.:guitar:
On a slightly different topic, following your howto for a self-compiled ffmpeg seems to have disabled the deluxe version of Mplayer that I installed from the howto at the beginning of this thread. Having ffmpeg now able to handle H.264 is probably worth the price of losing the ability to play 3gp video with sound (the only use for which I've depended on Mplayer so far), but it would be even better not to have to make that trade-off. I have a feeling that Andrew's installation of Mplayer can do a lot of stuff that I don't even know about yet.
FakeOutdoorsman
December 10th, 2008, 04:09 PM
Thanks, FakeOutdoorsman, that did the trick.:guitar:
On a slightly different topic, following your howto for a self-compiled ffmpeg seems to have disabled the deluxe version of Mplayer that I installed from the howto at the beginning of this thread. Having ffmpeg now able to handle H.264 is probably worth the price of losing the ability to play 3gp video with sound (the only use for which I've depended on Mplayer so far), but it would be even better not to have to make that trade-off. I have a feeling that Andrew's installation of Mplayer can do a lot of stuff that I don't even know about yet.
If you open mplayer from a terminal and try to play something does it give an error message after you followed my guide? It may have something to do with my guide's lack of adding "--enable-shared" to the x264 compilation configuration. I keep going back and forth on the enable-shared option, but I'll probably just add it and leave it this time.
Alfred_McGee
December 10th, 2008, 04:35 PM
Looks like you're right about the problem with your home-brewed ffmpeg, FakeOutdoorsman. Here's what I got when I tried to run mplayer:
$mplayer /Desktop/test.3gp
mplayer: error while loading shared libraries: libx264.so.65: cannot open shared object file: No such file or directory
Oh- about the -ab setting that you mentioned: the default value seems to work perfectly. Just for future reference, do you have any idea what it is?
FakeOutdoorsman
December 10th, 2008, 05:27 PM
Looks like you're right about the problem with your home-brewed ffmpeg, FakeOutdoorsman. Here's what I got when I tried to run mplayer:
$mplayer /Desktop/test.3gp
mplayer: error while loading shared libraries: libx264.so.65: cannot open shared object file: No such file or directory
Remove x264:
sudo apt-get purge x264
cd ~/x264
make distclean
Then recompile it following Andrew's instructions.
Oh- about the -ab setting that you mentioned: the default value seems to work perfectly. Just for future reference, do you have any idea what it is?
Default audio bitrate for ffmpeg is 64 kb/s. If that is too low you can change it: -ab 128k or -ab 192k or any other number. If you use "acodec copy" you won't need to declare a bitrate.
andrew.46
December 10th, 2008, 06:44 PM
Hi Alfred,
You certainly get a copy of ffmpeg when you install the svn MPlayer but the downside is often that the MPlayer encoder Mencoder can be a little limited at times in manipulating and converting files. For this reason I keep a copy of both at hand.
If you are interested in amr and have compiled according to the instructions in my guide you can of course compile ffmpeg against these libraries as I have done myself:
andrew@skamandros:~$ ffmpeg -formats | grep amr
FFmpeg version SVN-r16010, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-postproc
--enable-pthreads --enable-libamr-nb --enable-libamr-wb
--enable-libmp3lame --enable-libschroedinger --enable-libx264
--enable-libxvid --enable-libfaac
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 6. 0 / 52. 6. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Dec 6 2008 09:19:26, gcc: 4.3.2
DE amr 3GPP AMR file format
DEA libamr_nb libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band
DEA libamr_wb libamr-wb Adaptive Multi-Rate (AMR) Wide-Band
All the best,
Andrew
Alfred_McGee
December 11th, 2008, 01:53 AM
Hi Andrew. Your post raises many questions in my fragile little newbie mind, and that's a good thing, but at the moment, now that I've got H.264 support, and got svn Mplayer working again, there's nothing urgent. I did compile Mplayer according to your instructions at the start of this thread. I don't know how much the libraries you now mention would add to what I have, but here's how it looks right now:
$ ffmpeg -formats | grep amr
FFmpeg version SVN-r16043, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 6. 1 / 52. 6. 1
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Dec 10 2008 12:14:34, gcc: 4.3.2
DE amr 3GPP AMR file format
andrew.46
December 11th, 2008, 12:09 PM
Hi Alfred,
Hi Andrew. Your post raises many questions in my fragile little newbie mind, and that's a good thing, but at the moment, now that I've got H.264 support, and got svn Mplayer working again, there's nothing urgent.
I am not so sure that you can call yourself a newbie any more since you have successfully compiled 2 fairly difficult programs from source :-).
I did compile Mplayer according to your instructions at the start of this thread. I don't know how much the libraries you now mention would add to what I have, but here's how it looks right now:
$ ffmpeg -formats | grep amr
FFmpeg version SVN-r16043, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 6. 1 / 52. 6. 1
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Dec 10 2008 12:14:34, gcc: 4.3.2
DE amr 3GPP AMR file format
Since you have already installed the amr libraries for MPlayer just add the following two options to your ffmpeg ./configure next time you update:
--enable-libamr-wb --enable-libamr-nb
You may very well be prompted to add --enable-nonfree as well.
All the best,
Andrew
gardara
December 12th, 2008, 12:07 AM
I'm trying to set up x264 but I'm getting this:
trying to overwrite `/usr/include/x264.h', which is also in package libx264-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/gardar/x264/x264_1:0.svn20081212-0.0ubuntu1-1_i386.deb
Edit: nvm, I uninstalled libx264-dev and then it worked!
Edit2: Another thing I came across
libdca-dev: Conflicts: libdts-dev but 0.0.2-svn-2ubuntu1 is to be installed
any ideas what's wrong?
andrew.46
December 12th, 2008, 03:16 AM
Hi,
Thanks for your message:
Edit: nvm, I uninstalled libx264-dev and then it worked!
I have added a step to specify this action before installing x264 from git, something I should have done a while ago :-).
Edit2: Another thing I came across
libdca-dev: Conflicts: libdts-dev but 0.0.2-svn-2ubuntu1 is to be installed
any ideas what's wrong?
Yes, I have taken out libdca temporarily but this should represent a newer version of libdts so it should really be the other way. Have a look at:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-April/066635.html
I shall have to have a closer look at this over the weekend and see what MPlayer is picking up in the configure process. Thanks for that!
All the best,
Andrew
mad_max0204
December 12th, 2008, 11:43 AM
There is no libglide2 available for ibex. Change that to libglide3 so people dont get errors when copy pasting :)
andrew.46
December 13th, 2008, 09:59 AM
Hi mad_max,
There is no libglide2 available for ibex. Change that to libglide3 so people dont get errors when copy pasting :)
That particular file is dragged in as a dependency of another file and I now forget exactly which one :-). All curses on the debian system of packaging!
However the file is available under Intrepid Ibex, I have just installed this version from scratch and on a clean install:
andrew@skamandros:~$ apt-cache search libglide2
libggi-target-glide - General Graphics Interface Glide2 display target
libglide2 - graphics library for 3Dfx Voodoo based cards - shared libraries
libglide2-dev - graphics library for 3Dfx Voodoo based cards - development files
BTW I only just now appreciated how easy this guide makes a reinstall of the svn mplayer, having used it for exactly this purpose! Coming up to 70,000 views soon: still waiting or a free T-shirt :-)
Andrew
costre
December 14th, 2008, 02:53 PM
I tried to install mplayer using this guide about six months ago. I was quite new to Ubuntu back then, and I remember something went wrong. I gave it a new go today, and I realized the same thing happened.
Using VLC, all I have to do to activate 5.1 surround sound is to click audio -> audio device -> 5.1_Surround
Using Mplayer, it's absolutely impossible. It's bad enough I have to enter the preferences, go to the audio tab and mess around with drop down menus. When done, the video starts to freeze, the audio starts to studder, and/or error messages appear once every frame. The quality and messages seem to differ a bit dependent on exactly what I select in the audio menu.
So, all in all, it seems it's back to VLC for me, yet again. No complaints though, I like VLC :)
The only thing VLC is a bit bad at is 1080p video. It has a tendency to freeze or lag behind during heavy scenes. Not all the time, but it happens once in a while.
Is there a quick fix, like dual graphics cards, or faster CPU? Intel vs AMD perhaps? Or should it be possible to play fluently if I mess around with codecs?
AFAIK there are HTPC's claiming to play 1080p using weaker hardware than I am using ...
psychok9
December 16th, 2008, 12:39 AM
How can I enable all standard audio output and options? Source file of alsa, pulse, etc are request? Can you help me? Thank you.
My os is Ubuntu 8.10 x86_64 (Q6600 cpu).
andrew.46
December 16th, 2008, 02:24 AM
Hi,
Most audio outputs should be enabled in the guide, this is done by downloading and compiling against the appropriate -dev files. To see what is available to you try:
For MPlayer:
andrew@skamandros:~$ mplayer -ao help
MPlayer dev-SVN-r28145-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available audio output drivers:
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
arts aRts audio output
esd EsounD audio output
pulse PulseAudio audio output
jack JACK audio output
nas NAS audio output
sdl SDLlib audio output
openal OpenAL audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
For Mencoder:
andrew@skamandros:~$ mencoder -oac help
MEncoder dev-SVN-r28145-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Available codecs:
copy - frame copy, without re-encoding (useful for AC3)
pcm - uncompressed PCM audio
mp3lame - cbr/abr/vbr MP3 using libmp3lame
lavc - FFmpeg audio encoder (MP2, AC3, ...)
twolame - Twolame MP2 audio encoder
faac - FAAC AAC audio encoder
All the best,
Andrew
andrew.46
December 18th, 2008, 01:07 AM
Hi,
I have some reasonably radical plans for this guide when Jaunty Jackalope comes into beta on March 26th 2009. The highlights are:
This version of the guide ended and Jaunty Jackalope will have its own individual guide and thread. It is becoming a little unwieldy trying to juggle different Ubuntu releases on the same page.
I will no longer include the X -dev files and build the gmplayer. I will advocate the smplayer instead. Development of the gmplayer has been abandoned and many faults remain. smplayer is actively developed and IMHO is a fine piece of work.
amr compiling will be omitted. Not many people use it and I am trying to cut out a little complexity.
I will add details for installing the mplayer plugin. This gives MPlayer a presence in the browser and has been requested a few times.
I am keen to get some feedback on these plans and any suggestions for improvements in other areas. I will install the Jaunty Jackalope beta when it comes out and test the new guide, so it will be in place early April = plenty of time for suggestions :-).
Andrew
piemaster89
December 18th, 2008, 01:43 AM
I followed this installation almost step by step on a clean install of 8.10 except for the installation of libglide2 package. It is currently unavailable from the Ubuntu repository. libglide2-dev is available but I installed libglide3 instead. I doubt this is the source of the problem but it just might be.
I am also having the same problems as costre. Videos have an error message on almost every frame and it is impossible to watch anything.
At the moment, my workaround is to use VLC :(
andrew.46
December 18th, 2008, 03:23 AM
Hi,
Sorry this guide has caused you trouble!
I followed this installation almost step by step on a clean install of 8.10 except for the installation of libglide2 package. It is currently unavailable from the Ubuntu repository. libglide2-dev is available but I installed libglide3 instead. I doubt this is the source of the problem but it just might be.
I am not sure about this phantom libglide but I suspect that it has to go as too many people are mentioning problems with it. Tomorrow I shall remove it from my own system, recompile and see if anything is broken :-).
I am also having the same problems as costre. Videos have an error message on almost every frame and it is impossible to watch anything.
At the moment, my workaround is to use VLC :(
VLC is a great program and I am glad you have a backup while there is a problem with MPlayer. Can you do me a favour, can you play a movie that is giving you trouble from the commandline using the syntax:
mplayer -v mymovie
Obviously substituting your own file for 'mymovie'. Copy and paste the entire output including the command into a message here on the forum and there may be a hint there.
All the best,
Andrew
andrew.46
December 18th, 2008, 04:43 AM
Hi,
I have adjusted the dev files for Intrepid Ibex and re-compiled without any problems. Unless these files are used elsewhere on your system you can remove:
$ sudo apt-get remove libggi-target-x libggi2 libggi2-dev libggimisc2 \
libggimisc2-dev libggiwmh0 libggiwmh0-dev libggiwmh0-target-x libglide2
and recompiled. All is well on my system with MPlayer, hopefully on yours as well :-).
Andrew
piemaster89
December 18th, 2008, 11:57 AM
Hi,
Sorry this guide has caused you trouble!
I am not sure about this phantom libglide but I suspect that it has to go as too many people are mentioning problems with it. Tomorrow I shall remove it from my own system, recompile and see if anything is broken :-).
VLC is a great program and I am glad you have a backup while there is a problem with MPlayer. Can you do me a favour, can you play a movie that is giving you trouble from the commandline using the syntax:
mplayer -v mymovie
Hmm, so running it from the command line works great on avi files but right clicking doesn't work and I have no way of changing subtitles or audio stream or any of that good stuff on mkv files.
wilson@GIR:~/Dropbox$ mplayer -v \[Doremi-OTOME\].Mai-Otome.0.S.ifr.03.\[D7B4F17F\].avi
MPlayer dev-SVN-r28162-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz (Family: 6, Model: 15, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/wilson/.mplayer/codecs.conf'
Reading /home/wilson/.mplayer/codecs.conf: Can't open '/home/wilson/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-gui
CommandLine: '-v' '[Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi'
init_freetype
get_path('font/font.desc') -> '/home/wilson/.mplayer/font/font.desc'
font: can't open file: /home/wilson/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/wilson/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/wilson/.mplayer/input.conf'
Can't open input config file /home/wilson/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('[Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi.conf') -> '/home/wilson/.mplayer/[Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi.conf'
Playing [Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi.
get_path('sub/') -> '/home/wilson/.mplayer/sub/'
[file] File size is 230959104 bytes
STREAM: [file] [Doremi-OTOME].Mai-Otome.0.S.ifr.03.[D7B4F17F].avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: AVI format
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 39097 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 848 x 480
==========================
list_end=0x10F4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 10000000/417083 = 23.976
Start: 0 Len: 39097
Suggested BufferSize: 73684
Quality 10000
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 848
biHeight 480
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 2442240
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x2186
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 26090266
Suggested BufferSize: 8000
Quality -1
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x0
mp3.nBlockSize=418
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
================================================== ========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=39097)
list_end=0x22D2
hdr=Software size=44
Software : VirtualDubMod 1.5.10.2 (build 2540/release)
list_end=0xDB10B80
Found movie at 0x280C - 0xDB10B80
Reading INDEX block, 78183 chunks for 39097 frames (fpos=229706632).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=202928302 (39097) audio size=26090266 (26090266)
VIDEO: [XVID] 848x480 24bpp 23.976 fps 995.6 kbps (121.5 kbyte/s)
Auto-selected AVI audio ID = 1
[V] filefmt:3 fourcc:0x44495658 size:848x480 fps:23.976 ftime:=0.0417
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
get_path('sub/') -> '/home/wilson/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 1920x1088
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 128 kbit Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying every known audio driver...
ao2: 44100 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.17a
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[mpeg4 @ 0xd05220]Invalid and inefficient vfw-avi packed B frames detected
[ffmpeg] aspect_ratio: 1.766667
VDec: vo config request - 848 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO Config (848x480->848x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 848x480 => 848x480 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x434d5658 (XVMC) planar
using Xvideo port 68 for hw scaling
[xv] dx: 0 dy: 0 dw: 848 dh: 480
*** [vo] Allocating (slices) mp_image_t, 848x480x12bpp YUV planar, 610560 bytes
XXX initial v_pts=0.000 a_pos=8000 (0.500) 1 ??% ??% ??,?% 0 0
*** [vo] Allocating (slices) mp_image_t, 848x480x12bpp YUV planar, 610560 bytes
get_path('subfont.ttf') -> '/home/wilson/.mplayer/subfont.ttf'
Unicode font: 255 glyphs.
get_path('subfont.ttf') -> '/home/wilson/.mplayer/subfont.ttf'
Unicode font: 255 glyphs.
Also, regarding the extra packages that you are now removing, should I try to remove them now?
Thanks for all your help!
EDIT: I did a little more testing and I think the trouble arises when the GUI is enabled.
$ mplayer -gui -v Chuck.S01E03.Chuck.Versus.The.Tango.avi
MPlayer dev-SVN-r28162-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz (Family: 6, Model: 15, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
The -gui option will only work as the first command line argument.
Playing /media/Fat ******/TV/Chuck Season 1/Chuck.S01E03.Chuck.Versus.The.Tango.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 624x352 24bpp 23.976 fps 1009.3 kbps (123.2 kbyte/s)
Clip info:
Software: cant touch this
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
[AO_ALSA] Unable to find simple control 'PCM',0.
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 624x352 => 624x352 Planar YV12
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 1 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 2 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 3 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 3 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 4 0
It just continues like this for every error.
andrew.46
December 18th, 2008, 07:27 PM
Hi piemaster,
I would not worry about the extra packages as I suspect this is peripheral to your trouble with MPlayer. It is excellent news that that the commandline player works and it seems that the gui is the problem. The gmplayer has been almost completely abandoned by the MPlayer developers and will be also by this guide when Jaunty Jackalope comes along.
Can I suggest that if you have not already done so you recompile using the checkinstall syntax I have suggested:
$ cd $HOME/mplayer
$ make clean
$ svn update
$ ./configure --enable-gui
$ make
$ sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/Desktop" \
--maintainer "$USER" --pkgname mplayer --pkgversion "3:1.0~svn" \
--backup=no --deldoc=yes --deldesc=yes --delspec=yes --gzman
$ make clean
In the next version of this guide the '--enable-gui' option will be gone, you might try this if you want or perhaps leave it in place for the moment. The checkinstall syntax I suggest means that the repository will never overwrite your svn MPlayer with its older one.
Then simply install smplayer from the repository:
$ sudo apt-get install smplayer
smplayer is a little more than a simple front-end but it certainly uses the MPlayer engine and incorporates it into a beautiful and easily used gui. There will be some qt dependencies but the download will not be excessive. (smplayer + MPlayer is my own setup and it works well.)
Then again run your video, having first crossed your fingers :-).
Andrew
piemaster89
December 18th, 2008, 07:58 PM
Andrew,
Thanks a lot. I have smplayer installed now and the videos run correctly. However, I still have a few minor problems. Sometimes the video doesn't update when I use the seek bar. Additionally, the softsubs don't display in the correct font, just a generic font from the player. I realize that I can pick a font in the preferences but the video file has styled subs.
These are minor issues that I can live with even if they go unsolved. I look forward to your next guide for Jaunty :)
gardara
December 18th, 2008, 10:26 PM
Is there a special reason why you choose gmplayer rather than smplayer?
In my option, smplayer is much nicer...
Maby adding instructions of getting svn smplayer into the guide is a good idea?
It's actually not hard, just skip the skin and "enable gui" steps and then catch smplayer svn and compile it.
andrew.46
December 19th, 2008, 12:08 AM
Hi gardara,
Is there a special reason why you choose gmplayer rather than smplayer?
In my option, smplayer is much nicer...
I agree. This guide was originally written over a year ago and at that time I wanted to demonstrate how to install the 'complete' MPlayer package. Now I am a little more experienced and have read the mplayer-users list for some time I realise that this goal was perhaps a little foolish and even misconceived.
Maby adding instructions of getting svn smplayer into the guide is a good idea?
It's actually not hard, just skip the skin and "enable gui" steps and then catch smplayer svn and compile it.
I do not intend adding to this guide after the beta release of Jaunty and in fact at that time I will write a new guide that omits skin and gmplayer completely and adds in the smplayer. I had not really considered using the svn smplayer but rather the repository version. That would of course not stop anyone who wanted to write a guide for compiling the svn smplayer :-).
All the best,
Andrew
pedja_portugalac
December 24th, 2008, 10:54 AM
Andrew Thank You very much.
Yesterday I didn't sleep much because of problems installing svn mplayer from source. This morning following your howto, on interpid, I installed it in 30 minutes and now I have the latest mplayer. This is the best howto I have found about svn mplayer compilation and it should be in official media page.
Thanks ones again and Mary Christmas to You
andrew.46
December 24th, 2008, 06:53 PM
Hi pedja,
Thanks for your kind post,
Yesterday I didn't sleep much because of problems installing svn mplayer from source. This morning following your howto, on interpid, I installed it in 30 minutes and now I have the latest mplayer. This is the best howto I have found about svn mplayer compilation and it should be in official media page.
Thanks again! The guide has kept me busy for a year or so now and I am looking forward to writing a brand new version for Jaunty when it comes. This guide will however never make it to 'official' status as it installs codecs that are not officially sanctioned by Ubuntu as well as installing libdvdcss which is not officially recognised by Ubuntu. Such a guide as mine definitely has a place but perhaps not an official place :-).
Thanks ones again and Mary Christmas to You
And a Merry Christmas or you and your family as well, and best wishes for the New Year.
All the best,
Andrew
andrew.46
December 29th, 2008, 08:40 AM
Hi,
I have put a new version of the guide in place for Intrepid Ibex:
[Howto] Install the svn Mplayer under Intrepid Ibex
http://ubuntuforums.org/showthread.php?t=1024592
The new guide is considerably improved on the current effort. It integrates all the installed software under the package management system, utilises the Medibuntu Repository for the first time, deals with manually installing the newest Live555 libraries and has abandoned the gmplayer for SMPlayer.
Look forward to seeing you there !!
All the best,
Andrew Strong
napauleon
January 6th, 2009, 12:22 PM
First of all: a great guide for installing mplayer from svn :D
The only thing i cant get my head around is lirc support. When using mplayer from the package tree, lirc works fine.
However i needed some extra's for my 1080p video's (coreavc), which runs very nice now. However i can't get lirc to work with the latest svn release of mplayer (dev-SVN-r28274-4.2.4).
when I run ./configure it shows that it found a positive lookup for --enable-lirc (not for --enable-lircc) and it compiles fine when running make.
However lirc is not loaded when running mplayer. I've got all the necessary lirc packages installed i guess.
Any ideas on getting lirc to work with the svn release of mplayer?
andrew.46
January 6th, 2009, 03:55 PM
Hi napauleon,
[...]when I run ./configure it shows that it found a positive lookup for --enable-lirc (not for --enable-lircc) and it compiles fine when running make. However lirc is not loaded when running mplayer. I've got all the necessary lirc packages installed i guess. Any ideas on getting lirc to work with the svn release of mplayer?
Only 2 potential problems that I can see. Firstly make sure that you don't try to specifically --enable-lirc in your configure options, with MPlayer the configure process is best left to find the required files itself. If you specify such an option you need also to manually locate all the header files and this is not normally required (in fact I have never had to do it).
Secondly ensure that you have the required dev files, which you may have already. If you were using Intrepid the required file would be:
$ sudo apt-get install liblircclient-dev
and it is probably the same under Hardy but you can check by using the following:
$ sudo apt-cache search lirc | grep dev
This will give a few choices and probably liblircclient-dev will be one of them. You will then need to recompile. Hopefully this is all that is required, in part because that is the limit of my knowledge of lirc :-).
All the best,
Andrew
andrew.46
March 26th, 2009, 11:11 PM
Hi,
Well, a major rewrite, new title and a change of focus to this guide. I am running Hardy on VirtualBox now and quite prepared to support the guide until 2011. Gutsy has gone I am afraid and with the impending '-end-of-life' it might be a good idea to move on from it anyway :-). Any problems with the new version of this guide please leave me a note. On my new Hardy install it is all running beautifully!
Andrew
Roanoke
March 28th, 2009, 12:17 AM
I got an error during mplayer compilation.
(Reading database ... 206459 files and directories currently installed.)
Preparing to replace mplayer 2:1.0~rc2-0ubuntu17 (using .../mplayer_3:1.0~svn-1_i386.deb) ...
Unpacking replacement mplayer ...
dpkg: error processing /home/roanoke/mplayer/mplayer_3:1.0~svn-1_i386.deb (--install):
trying to overwrite `/usr/bin/mencoder', which is also in package mencoder
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/roanoke/mplayer/mplayer_3:1.0~svn-1_i386.deb
andrew.46
March 28th, 2009, 01:34 AM
Hi Roanoke,
I got an error during mplayer compilation.
(Reading database ... 206459 files and directories currently installed.)
Preparing to replace mplayer 2:1.0~rc2-0ubuntu17 (using .../mplayer_3:1.0~svn-1_i386.deb) ...
Unpacking replacement mplayer ...
dpkg: error processing /home/roanoke/mplayer/mplayer_3:1.0~svn-1_i386.deb (--install):
trying to overwrite `/usr/bin/mencoder', which is also in package mencoder
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/roanoke/mplayer/mplayer_3:1.0~svn-1_i386.deb
This is a problem that I have not come to grips with yet. Ubuntu splits MPlayer into a few pieces and then installs them separately while my guide does not. A short term solution is to compile the svn MPlayer without Mencoder by adding the following to the configure string:
--disable-mencoder
I suspect that the repository Mencoder has been installed for the benefit of some other ripping / transcoding program. Doing it this way will be the safest and you will still get to use the latest MPlayer :-).
Andrew
mocha
March 28th, 2009, 01:25 PM
This is the same problem on Intrepid as you mentioned andrew.46 What I do is first uninstall mencoder from the repo, then compile mplayer/mencoder. Then you can allow whatever other package that needs mencoder as a dependancy to install it from the repo. The repo version goes into /usr/bin but your compiled version is already in /usr/local/bin, so it will always take precedence.
Roanoke
March 28th, 2009, 03:43 PM
Yes, that worked, thank you :)
andrew.46
March 28th, 2009, 04:36 PM
Hi mocha,
This is the same problem on Intrepid as you mentioned andrew.46 What I do is first uninstall mencoder from the repo, then compile mplayer/mencoder. Then you can allow whatever other package that needs mencoder as a dependancy to install it from the repo. The repo version goes into /usr/bin but your compiled version is already in /usr/local/bin, so it will always take precedence.
Thanks for that. I have removed the --prefix setting which was causing some of the trouble.
Andrew
white_hat
May 1st, 2009, 01:57 PM
Hi all!
I've just compiled latest mplayer with multi-threaded h.264 support. It's easier then in this guide, just:
1. $ sudo apt-get install build-essential checkinstall subversion git-core libgpac-dev yasm
2. $sudo apt-get build-dep mplayer mencoder
3. $ git clone git://repo.or.cz/mplayer && cd mplayer && git checkout origin/mt && git submodule init && git submodule update && ./configure && make && sudo make install That's all! Now 1080 movies can be smoothly played on my 1.3Ghz c2d without dropped frames :guitar:
$mplayer -benchmark -lavdopts threads=2 somemovie.mkv
logos34
May 26th, 2009, 01:29 AM
The guide worked perfect for me. It has played every file I have thrown at flawlessly. Note that since I am using the 64-bit version of Ubuntu, I needed to:
$ wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20061203.tar.bz2
Instead of:
$ wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2
I do have one question though. How can I get mplayer to play embedded video in Firefox? When I try to install the plugin through apt, it wants to install mplayer from the repos as well. I am afraid it will replace the shiny new version that I just built.
Hi,
You echo my own question:
I am a little puzzled with this one too and have been racking my brains for a solution. Any ideas anybody else?
Good to hear it all worked well for you though. I had no idea that there were different codecs for 64bit: you live and learn :-)
Andrew
I too need to install on x64 Hardy (mainly for wmv3+wmapro support), but I don't want to screw up embedded audio and video in Firefox. Has this issue been resolved?
(and, yes, I saw post #368. Still not clear on workaround)
Right now for wmv3+wmapro soundtrack I'm using
ffplay -fs video.wmv
nice full screen + audio track, but pretty spartan (no menu options). Would be nice to get one of the fully-featured players to work
andrew.46
May 26th, 2009, 05:28 AM
Hi logos34,
I too need to install on x64 Hardy (mainly for wmv3+wmapro support), but I don't want to screw up embedded audio and video in Firefox. Has this issue been resolved?
I feel a little bit bad about 64 bit MPlayer, vdpau, FFmpeg-MT and a few others as I only really write guides for technology that I am personally using and none of these will be featuring in my computer world in the near future. Hopefully there will be some 64 bit users out there with some experience with this issue?
All the best,
Andrew
logos34
May 26th, 2009, 02:09 PM
I feel a little bit bad about 64 bit MPlayer, vdpau, FFmpeg-MT and a few others as I only really write guides for technology that I am personally using and none of these will be featuring in my computer world in the near future. Hopefully there will be some 64 bit users out there with some experience with this issue?
hey, can't cover everything! Your guide has helped a lot of people as far as it goes...I suspect I'll have to compile the mplayerplug-in as well...but I've already got a head start on the ffmpeg-related stuff (+ x264, etc)...mc4man mentioned something in another mplayer thread about a patch for x64, I'll have to pm him about that. Stumbling around in the dark for a way to get this all to work on x64...it's really amazing that it's so hard to get video+audio support for wmv3/wmapro!
thanks
Update:
How I got mine to work on x64 8.04 Heron:
Used --disable-mencoder option. I found it much easier to simply go with the standalone Medibuntu mencoder, which several dvd rip apps have as a dependency.
Added wma pro audio codec support following mc4man's invaluable instructions here (http://ubuntuforums.org/showpost.php?p=7351561&postcount=22).
I'm using skins instead of smplayer or gmplayer gui, so I needed to use the --enable-gui configure option AND copy my old skins from /usr/share/mplayer/skins/ to /usr/local/share/mplayer/skins before it would even launch.
in short,
./configure --enable-gui --disable-mencoder --codecsdir=/usr/lib/codecs --confdir=/etc/mplayer
The stock mozilla-mplayer FF plugin works fine with my SVN mplayer build on 64-bit Swiftweasel browser (2.0.0.1.4). Thought I might have to compile that too.
Development packages/build-deps: put in a combination of those Andrew.46 listed on the first page, plus others that another x64 user posted somewhere else in this thread, plus the output of apt-get build-dep mplayer. Overkill, I'm sure, but it worked.
whozai_min
May 30th, 2009, 04:11 PM
hello...i cannot play any video in smplayer..i also got this error msg
Warning unknown option stop-xscreensaver at line 129
Unknown option on the command line:-stop-xscreensaver
how should i do..
sorry if my english bad
andrew.46
May 30th, 2009, 07:00 PM
Hi whozai_min,
hello...i cannot play any video in smplayer..i also got this error msg
Warning unknown option stop-xscreensaver at line 129
Unknown option on the command line:-stop-xscreensaver
Do you get the same error message from the commandline:
mplayer myfile.avi
Could you run the command above, substituting 'myfile.avi' for your own file and post the full terminal output here?
Andrew
logos34
May 30th, 2009, 07:30 PM
Is there a way to fix this:
mplayer music2/Trio\ Beyond/Saudades\ \(Disc\ 1\)/02\ -\ As\ One.ogg
mplayer: could not connect to socket
mplayer: No such file or directory
the file begins playback fine, but why the error mess.?
whozai_min
May 30th, 2009, 08:02 PM
from the terminal
root@whozai-laptop:/media/ZIEOS# mplayer bess.avi
Warning unknown option stop-xscreensaver at line 129
MPlayer SVN-r29330-4.2.4 (C) 2000-2009 MPlayer Team
Playing bess.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO: [xvid] 208x156 0bpp 29.970 fps 216.3 kbps (26.4 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.
================================================== ========================
Forced audio codec: mad
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 16000 Hz, 2 ch, s16le, 32.0 kbit/6.25% (ratio: 4000->64000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
No such audio driver 'pulse'
No such audio driver 'alsa'
AO: [oss] 16000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 357.5 (05:57.4) of 2818.6 (46:58.5) 3.3%
Exiting... (End of file)
from smplayer
/usr/local/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa, -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 50331662 -monitorpixelaspect 1 -*** -embeddedfonts -***-line-spacing 0 -***-font-scale 1 -***-styles /home/whozai/.config/smplayer/styles.*** -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 40 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /media/ZIEOS/bess.avi
Warning unknown option stop-xscreensaver at line 129
Unknown option on the command line: -stop-xscreensaver
Error parsing option on the command line: -stop-xscreensaver
MPlayer SVN-r29330-4.2.4 (C) 2000-2009 MPlayer Team
ID_EXIT=NONE
did i do something wrong during installation?
mc4man
May 31st, 2009, 12:19 AM
but why the error mess.
It's not an error per se, just means mplayer was compiled with lirc support and whem mplayer was/is started the daemon wasn't running (ie. could not connect to socket
If you don't want to see it, next time you build mplayer remove liblircclient-dev first or find the appropriate config option to disable
(unless you have some plans/means to use it (lirc
logos34
May 31st, 2009, 12:25 AM
ok, thanx for info..no, don't need lirc support
rvm4000
May 31st, 2009, 04:45 PM
from the terminal
root@whozai-laptop:/media/ZIEOS# mplayer bess.avi
Warning unknown option stop-xscreensaver at line 129
MPlayer SVN-r29330-4.2.4 (C) 2000-2009 MPlayer Team
Playing bess.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO: [xvid] 208x156 0bpp 29.970 fps 216.3 kbps (26.4 kbyte/s)
Error opening/initializing the selected video_out (-vo) device.
================================================== ========================
Forced audio codec: mad
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 16000 Hz, 2 ch, s16le, 32.0 kbit/6.25% (ratio: 4000->64000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
No such audio driver 'pulse'
No such audio driver 'alsa'
AO: [oss] 16000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 357.5 (05:57.4) of 2818.6 (46:58.5) 3.3%
Exiting... (End of file)
from smplayer
/usr/local/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa, -nokeepaspect -framedrop -nodr -double -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 50331662 -monitorpixelaspect 1 -*** -embeddedfonts -***-line-spacing 0 -***-font-scale 1 -***-styles /home/whozai/.config/smplayer/styles.*** -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 40 -cache 2000 -osdlevel 0 -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /media/ZIEOS/bess.avi
Warning unknown option stop-xscreensaver at line 129
Unknown option on the command line: -stop-xscreensaver
Error parsing option on the command line: -stop-xscreensaver
MPlayer SVN-r29330-4.2.4 (C) 2000-2009 MPlayer Team
ID_EXIT=NONE
did i do something wrong during installation?
Probably you fail to install some development packages.
What does ./configure say?
whozai_min
May 31st, 2009, 06:34 PM
my problem solved... i download smplayer and mplayer from getdeb.net and install it..and now i can watch the video..
is there any disadvantage using this method?.. i follow the tutorial and skip at mplyer and smplayer from the tutorial..
andrew.46
May 31st, 2009, 07:04 PM
Hi whozai,
my problem solved... i download smplayer and mplayer from getdeb.net and install it..and now i can watch the video..
Glad you have resolved your issue. Probably an older version of SMPlayer on getdeb but as long as it works for you :-).
Andrew
CD Baric
June 1st, 2009, 05:43 AM
Thanks so much for your informative guide and ongoing follow up.
I now have mplayer_3:1.0~svn-r29333-1_amd64 running on Jaunty AMD64 on my twin core AMD 7750 CPU with 4 gigs memory.
I was unable to support ARTs but it was a small price to pay.
I am also a Slackware user - 12.2 current! I am planning on a trial of Slack64.
Slackware was my first Linux - I made my first commercial installation in 1995 - faxserver for a dozen W95 desktops.
Thanks again for your help and guidance.
CD Baric
andrew.46
June 1st, 2009, 06:10 AM
Hi CD Baric,
Thanks so much for your informative guide and ongoing follow up.
I now have mplayer_3:1.0~svn-r29333-1_amd64 running on Jaunty AMD64 on my twin core AMD 7750 CPU with 4 gigs memory.
Excellent news, although I feel somewhat overshadowed by your hardware :-). You realise that there is a Jaunty version for this guide? No matter if you have manged to get it all installed.
I am also a Slackware user - 12.2 current! I am planning on a trial of Slack64.
I never really had the bandwidth or the inclination to run -current but I am more that happy with the release version 12.2 and I guess 13.0 will be out soon enough. Did you notice that MPlayer has actually become a part of -current with the Tue May 19 15:36:49 CDT 2009 changes (ftp://ftp.slackware.com/pub/slackware/slackware-current/ChangeLog.txt) and looks like it is being kept up to date as well! BTW while you are there search the page for 'Andrew Strong' and you will see my single greatest claim to fame :-).
All the best,
Andrew
andrew.46
July 11th, 2009, 02:29 AM
Hi,
Looks like support for the external, non-free amr libraries has been removed from libavcodec so for the moment there will be no amr playback for MPlayer. Consequently I have removed the amr / Medibuntu sections of the guide.
FFmpeg now features support for opencore-amr so hopefully support for this will be added to MPlayer soon. When this happens I shall add the details to this guide.
All the best,
Andrew
andrew.46
September 14th, 2009, 11:45 PM
In a small demonstration that this Hardy Heron guide is still well-supported I have added in a small section to enable amr playback with the svn MPlayer. Works well on my system but please let me know if there are any problems...
Andrew
pedja_portugalac
November 8th, 2009, 07:37 PM
Hi Andrew
There's no need to compile yasm package because there's already latest version in synaptic repository. I am trying to get this work on Karmic. See you later.
andrew.46
November 9th, 2009, 02:37 AM
Hi Pedja,
There's no need to compile yasm package because there's already latest version in synaptic repository. I am trying to get this work on Karmic. See you later.
I will admit that I don't have a copy of Hardy installed at the moment so I take your word for this :). As for Karmic:
Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181
All the best,
Andrew
FakeOutdoorsman
November 9th, 2009, 04:09 AM
Hi Pedja,
I will admit that I don't have a copy of Hardy installed at the moment so I take your word for this :). As for Karmic:
Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181
All the best,
Andrew
I think that taking the few minutes to compile a recent yasm is worth the effort in return for a large list of bug fixes and feature additions compared to the repository yasm.
I just noticed that the guide is installing yasm 0.7.2, but the latest release is 0.8.0. I subscribed to the super low volume yasm-announce (http://www.tortall.net/projects/yasm/wiki/MailingList) mailing list to keep up with the occasional yasm release.
andrew.46
November 9th, 2009, 04:23 AM
Hi Fakeoutdoorsman,
I just noticed that the guide is installing yasm 0.7.2, but the latest release is 0.8.0. I subscribed to the super low volume yasm-announce (http://www.tortall.net/projects/yasm/wiki/MailingList) mailing list to keep up with the occasional yasm release.
Looks like I need to reinstall Hardy this weekend :).
Andrew
mc4man
November 9th, 2009, 04:30 AM
Just to clarify, the yasm available in hardy is an old 0.5.0-2 ver. so instr. to upgrade are valid
http://packages.ubuntu.com/en/hardy/yasm
(noting though that there are no install deps preventing the install of a yasm package from more recent releases on hardy, ect.
http://packages.ubuntu.com/en/karmic/yasm
rvm4000
November 9th, 2009, 05:59 AM
I'm using Hardy on my laptop and indeed it's necessary to update yasm, at least to version 0.7.
But you don't need to compile it, you can find yasm 0.7.1 (for Hardy and Intrepid) in this PPA:
https://launchpad.net/~rvm/+archive/libs
That PPA also includes some libraries that help to compile mplayer on Hardy, Intrepid, Jaunty and Karmic.
pedja_portugalac
November 9th, 2009, 01:23 PM
Hi Pedja,
I will admit that I don't have a copy of Hardy installed at the moment so I take your word for this :). As for Karmic:
Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181
All the best,
Andrew
Hahahaha ;) . I was trying to install svn mplayer using 2 of yours howtos but also mplayer official documentation. Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' and the old one for Hardy but with GUI. At this moment I know lil-bit more about compiling packages and it wasn't problem to make my own svn-mplayer with GUI and mencoder enabled. The only thing now is that I don't like the GUI anymore :lolflag:. It doesn't support full range of possibilities offered by svn-mplayer. Foe example, I was trying to watch a movie with 5.1 surround sound. Smplayer played that movie only if I chose simple stereo, otherwise no sound at all. But when I start mplayer from terminal: mplayer -channels 6 <movie name> it plays like a charm. I think I'll keep on using nogui. Thanks for that tread to. Now, it wouldn't be linux if we don't get into other problems as soon as we solve some of them :D, I can't get it play TV over dvb-t pinnacle nano stick. I was trying for a week to get it work using so many packages but the only one with which was able to show some channels was the vlc. Again it couldn't save channels.conf and I had to scan every time I restart vlc :mad:. Mplayer command: mplayer dvb:// gives nothing even if I have saved channels.conf produced by w_scan in .mplayer directory. Anyway, I know I have to keep on trying to find solution and would like to say thank you, ones again, for all the good howto-s you have made and shared with community.
All the best, cheers from Brussels ;)
andrew.46
November 10th, 2009, 03:26 AM
Hi pedja,
At this moment I know lil-bit more about compiling packages and it wasn't problem to make my own svn-mplayer with GUI and mencoder enabled.
It certainly sounds like you have moved beyond these guides which I find immensely gratifying :). The guides in their various forms were only ever meant to furnish a starting point from which people could explore their own interests with media playback.
Andrew
andrew.46
November 10th, 2009, 09:12 PM
Well I have undertaken a spring-clean of this guide after a new installation of Hardy on VirtualBox. I cannot believe that I wrote this guide over 2 years ago but this perhaps explains a few little anomalies that I have silently corrected :). Larger changes are placement of the release version of libopencore-amr and use of a different SMPlayer PPA. And of course a new gratuitous screenshot, Slackware 13 now resting quietly in the background as the host system. As usual please point out any errors...
All the best,
Andrew
iRounak
November 20th, 2009, 12:58 PM
This has become a really long thread. I am not sure whether the first post is still good for Karmic Koala. Can someone confirm it? Is there an easy way to install mplayer? (I have it installed with get-apt but I cannot see the video (I hear only audio). Smplayer shows the video but it still has codec problems)
andrew.46
November 20th, 2009, 04:54 PM
Hi iRounak,
This has become a really long thread. I am not sure whether the first post is still good for Karmic Koala. Can someone confirm it?
The guide is only really suited to Hardy Heron. However there is another guide that has been specifically written for Karmic Koala:
Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181
Is there an easy way to install mplayer? (I have it installed with get-apt but I cannot see the video (I hear only audio). Smplayer shows the video but it still has codec problems)
The easiest way to install MPlayer under Karmic is from the Ubuntu repository as you have done. If there are a few problems there a better version is available from the PPA provided by RVM. If you are interested in troubleshooting you existing copy of MPlayer could you run a file as follows:
mplayer -v myfile.avi
and post the full commandline + terminal output here?
All the best,
Andrew
iRounak
November 20th, 2009, 10:40 PM
Thanks for the prompt response.
When i open the video file in mplayer (by right-clicking on the file and then selecting "play with mplayer", i get an error:
Error opening/initialising video_out (-vo) device
But when I used the command you gave,
mplayer -v file.avi
it played properly.
So how to get fix the problem?
andrew.46
November 21st, 2009, 12:32 AM
Hi iRoounak,
When i open the video file in mplayer (by right-clicking on the file and then selecting "play with mplayer", i get an error:
Error opening/initialising video_out (-vo) device
But when I used the command you gave,
mplayer -v file.avi
it played properly.
I wonder if you have several copies of MPlayer on your system? The option on right click should have been 'Open with..... SMPlayer', as the attached screenshot demonstrates. Can I ask which copy of MPlayer you are using? Perhaps try the following command which will demonstrate if there is more than one:
sudo find /usr -iname 'mplayer'
All the best,
Andrew
iRounak
November 23rd, 2009, 10:21 AM
sorry for the delay in reply. I am still out on a vacation. I will post back when I get to "my" system.
iRounak
November 24th, 2009, 11:09 AM
Hi iRoounak,
I wonder if you have several copies of MPlayer on your system? The option on right click should have been 'Open with..... SMPlayer', as the attached screenshot demonstrates. Can I ask which copy of MPlayer you are using? Perhaps try the following command which will demonstrate if there is more than one:
sudo find /usr -iname 'mplayer'All the best,
Andrew
The result of the command is as follows:
/usr/share/menu/mplayer
/usr/share/doc/mplayer
/usr/share/mplayer
/usr/bin/mplayer
/usr/lib/mime/packages/mplayer
When I right-click, I get:
Enqueue in SMplayer
Mplayer media player
SMplayer
VLC
I just noticed that I don't get any errors if I use SMplayer.
andrew.46
November 24th, 2009, 04:09 PM
Hi iRounak,
When I right-click, I get:
Enqueue in SMplayer
Mplayer media player
SMplayer
VLC
I just noticed that I don't get any errors if I use SMplayer.
Looks like the problem is with the default gui for MPlayer which is gmplayer. I would suggest you avoid gmplayer as it has not been developed for a while and debate continues amongst the developers about whether it should be abandoned or not. And if SMPlayer is playing your files well enough I suspect the problem is solved?
I will admit that I am getting a little lost though, is this the repository MPlayer from Karmic that you have installed?
All the best,
Andrew
iRounak
November 24th, 2009, 09:50 PM
I will admit that I am getting a little lost though, is this the repository MPlayer from Karmic that you have installed?
This is the problem really. I am not exactly sure what I did to get mplayer working.. Basically, I did not know that non-gui mplayer came along with Karmic. I installed mplayer first from Ubuntu Software Centre. Then I ran the command apt-get install mplayer. It would be better if I first remove mplayer completely and then use this:
Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181
How should I completely remove mplayer from my system?
mc4man
November 24th, 2009, 10:00 PM
wrong thread (again
iRounak
November 24th, 2009, 10:59 PM
posted in the correct thread now:
http://ubuntuforums.org/showpost.php?p=8381682&postcount=85
mc4man
November 25th, 2009, 01:49 AM
posted in the correct thread now:
wrong thread (again
@ iRounak
I was actually referring to myself, the again part was from something the other day. ( though possibly you were in the wrong thread also...
andrew.46
November 25th, 2009, 03:21 AM
OK so now I'm confused too :).
Andrew
fukc
December 20th, 2009, 02:45 AM
I wonder how much time should be spend on this? 2-3 hr maybe? Just exactly the same time to install MacOS is required. Compare installation of the full OS with a freaking codec compilation...
Poor Linux, it's a toy to kill time.
--
Roman
andrew.46
December 20th, 2009, 02:59 AM
Hi fukc,
I wonder how much time should be spend on this? 2-3 hr maybe?
If your computer has reasonable processing power it should take about 30 minutes...
Andrew
talsemgeest
December 20th, 2009, 03:03 AM
I wonder how much time should be spend on this? 2-3 hr maybe? Just exactly the same time to install MacOS is required. Compare installation of the full OS with a freaking codec compilation...
Poor Linux, it's a toy to kill time.
--
Roman
Compilation will always take more time than installing a binary. If you were to factor in the amount of time that it took for MacOS to compile at Apple, you would be looking at considerably longer than compiling mencoder ;)
Also, if the wait is too long you can always install the version from the Ubuntu repositories, which may only take seconds, depending on your PC and internet connection.
Linuxforall
December 20th, 2009, 05:25 AM
On my dual quad core with make -j8 command it takes less than ten minutes with all 8 cores in action. The only time it takes is the download of the necessary files.
If you don't wish to compile, there is the basic medibuntu option as well as latest option offered via ppa from Brandon Snider and RVM who is also the creator of the excellent SMPLAYER.
At least Linux offers me the means to compile latest x264 and ffmpeg along with a universal player. In Windows I have to depend on Klite to come out with the latest updates, thankfully they are pretty much frequent for now so in all, not bad for a toy distro ;)
NewtownGuy
December 20th, 2009, 06:33 PM
RE: mplayer: error while loading shared libraries: libcucul.so.0: cannot open shared object file: No such file or directory
I can't get past this missing file when I try to run mplayer from the command line. I've searched for an answer that I can understand, but I don't see one. I'm not up to doing a compile, I just want to apt-get install mplayer and have it work. I'm sympathetic with the person who said, in effect, there's too much geekiness in Ubuntu, because I sure can't understand some of the replies that assume the user is a guru instead of a mortal.
I'm running 8.04.1 LTS. I've done apt-get update. I have universe and multiverse enabled in the apt source list. I've run apt-get install mplayer several times now to see if somehow, magically, the missing libcucul.so.0 would appear, but no luck. There aren't any errors when I run apt-get install mplayer.
How can I fix this ?
Thank you.
-- NewtownGuy
andrew.46
December 21st, 2009, 03:35 AM
Hi NewtownGuy,
RE: mplayer: error while loading shared libraries: libcucul.so.0: cannot open shared object file: No such file or directory
I can't get past this missing file when I try to run mplayer from the command line. I've searched for an answer that I can understand, but I don't see one.
It does seem a little odd as normally when you install the repository MPlayer it will drag all the required dependencies with it. Perhaps a first step would be to install the following:
sudo apt-get install libcucul0 libcucul-dev
and this might get you out of trouble?
I'm not up to doing a compile, I just want to apt-get install mplayer and have it work. I'm sympathetic with the person who said, in effect, there's too much geekiness in Ubuntu, because I sure can't understand some of the replies that assume the user is a guru instead of a mortal.
Not everybody wants to compile :).
Andrew
FakeOutdoorsman
December 24th, 2009, 08:54 PM
This has been a popular guide: 104,167 views. Good work, Andrew.
andrew.46
December 25th, 2009, 07:27 AM
Hi Fakeoutdoorsman,
This has been a popular guide: 104,167 views. Good work, Andrew.
Thanks! It pales a little compared to a certain guide that deals with FFmpeg :).
Andrew
wijit
January 18th, 2010, 12:29 AM
I've followed Andrew's on Karmic. Unfortunately, I've got:
wijit@rmutk-wijit:~$ mplayer Record000.amr
MPlayer SVN-r30364-4.4.1 (C) 2000-2009 MPlayer Team
Playing Record000.amr.
Seek failed
libavformat file format detected.
LAVF_header: av_open_input_stream() failed
Exiting... (End of file)
Would you teach us to do it on Karmic Koala:popcorn:?
mc4man
January 18th, 2010, 12:39 AM
I'm gathering you may have followed this guide (hardy) on a karmic install?
If so see here ( you should un-install the mplayer you just built and either clean the mplayer source ( make distclean @ the mplayer source prompt) and then follow the guide or better yet maybe just start fresh.
unless something has changed you probably should use this as a configure (see last page or so or maybe Andrew has some idea's
./configure --confdir=/etc/mplayer
http://ubuntuforums.org/showthread.php?t=1305181
clint0n
March 1st, 2010, 04:02 AM
libarts1c2a is not in the repos for me? anyone unable to download some of the dev files? i tried chicago and main server too.
andrew.46
March 1st, 2010, 05:52 PM
Hi clint0n,
libarts1c2a is not in the repos for me? anyone unable to download some of the dev files? i tried chicago and main server too.
I must confess that I no longer have Hardy running but I can see this package on the package browser here:
http://packages.ubuntu.com/hardy/libarts1c2a
Andrew
mc4man
March 1st, 2010, 06:11 PM
@ clint0n
I'm wondering if you're running hardy (8.04), if I had to guess I'd think not.
If not, some other mplayer build guides
jaunty (9.04 (http://ubuntuforums.org/showthread.php?t=1081070&highlight=andrew.46+jaunty+mplayer)
karmic (9.10 (http://ubuntuforums.org/showthread.php?t=1305181)
clint0n
March 1st, 2010, 06:30 PM
bleh. haha!~ i didn't even notice the guide was for hardy, sorry about that. I have karmic. thanks for the links mc4man and thanks for the guide andrew you are a pro.
community nerd
August 4th, 2010, 09:58 AM
thanks alot all seemed to do fine
gillza
August 4th, 2010, 02:05 PM
Hi fukc,
If your computer has reasonable processing power it should take about 30 minutes...
Andrew
2Ghz Core 2 Duo, 2 gb ram, 5400rpm hdd, fresh ubuntu, install is less than 30 minutes :)
Thanks Andrew for the great guide!
andrew.46
August 4th, 2010, 06:38 PM
Hi gillza,
2Ghz Core 2 Duo, 2 gb ram, 5400rpm hdd, fresh ubuntu, install is less than 30 minutes :)
Thanks Andrew for the great guide!
I will admit that I have not looked at this version of my MPlayer guides for a long time so I am glad it still works ok :). For those who have moved to Lucid Lynx there is a shinier guide here:
Howto: Build the svn MPlayer under the latest release version of Ubuntu
http://ubuntuforums.org/showthread.php?t=1542240
All the best,
Andrew
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.