LinHES Forums
http://forums.linhes.org/

HOWTO: compile mplayer on R5.5 - UPDATE 05-Mar-2009
http://forums.linhes.org/viewtopic.php?f=11&t=4706
Page 7 of 7

Author:  mediathreat [ Wed Jun 13, 2007 7:48 am ]
Post subject: 

RMVB does work. After you install the RP9 linux codecs.

You have to go to Utilities and add the RMVB extension for MythVideo to recognize it and know what player (mplayer) to use to play it.

Works like a charm, RMVb gives some high quality files in a small package - but I prefer open standards rather than real proprietary formats like REAL.

This guide for updating ROCKS!

Author:  frisco [ Tue Jun 19, 2007 8:30 pm ]
Post subject: 

I'm a little confused here. I'm trying to play the rmvb files and have the rp9 codecs downloaded, but I'm unsure where to extract them to. Where do I put the codecs?

Author:  hankmyth [ Sat Jul 07, 2007 7:40 pm ]
Post subject:  Many errors updating MPlayer

Hi,

I'm trying to update my MPlayer following these instructions, but I'm getting some strange errors. I'm hoping someone can help. I'm running R5F1 and my current version of MPlayer is 1.0rc1-4.1.2.

Here's what I did. I'm a bit of a newbie, so please bear with me.

1. I downloaded the essential codecs and the "all codecs" pack from the MPlayer site and put them in my /usr/lib/codecs directory.

2. I was able to download the MPlayer source code just fine, but when I did a Make, it worked away for quite a while, but then I got the following error and it quit:

Code:
include/freetype2 -DMPG12PLAY -o vo_ivtv.o vo_ivtv.c
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:82: error: 'struct ivtv_cfg_stop_decode' has no member named 'hide_last'
vo_ivtv.c:83: error: 'struct ivtv_cfg_stop_decode' has no member named 'pts_stop'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libvo'
make: *** [libvo/libvo.a] Error 2


3. I realized that I'd forgotten to do the dpkg step, so I went back to do that. I got the following error:

Code:
# dpkg -r mplayer-fonts
dpkg - warning: ignoring request to remove mplayer-fonts which isn't installed.
# dpkg -r mplayer
dpkg: dependency problems prevent removal of mplayer:
 mplayer-skin-blue depends on mplayer.
dpkg: error processing mplayer (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 mplayer


4. Well, that didn't work. I figured I'd try to install the new MPlayer anyway. Unfortunately, more errors:

Code:
# make install
make -C loader
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/loader'
make -C loader/dshow
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/loader/dshow'
make[1]: `libDS_Filter.a' is up to date.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/loader/dshow'
make -C loader/dmo
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/loader/dmo'
make[1]: `libDMO_Filter.a' is up to date.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/loader/dmo'
make -C libavformat LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libavformat'
make -C libavcodec LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libavcodec'
make -C libavutil LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libavutil'
make -C libmpdemux
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libmpdemux'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libmpdemux'
make -C stream
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/stream'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/stream'
make -C libmpcodecs
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libmpcodecs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libmpcodecs'
make -C libao2
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libao2'
make[1]: `libao2.a' is up to date.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libao2'
make -C osdep
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/osdep'
make[1]: `libosdep.a' is up to date.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/osdep'
make -C libswscale LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libswscale'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libswscale'
make -C input
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/input'
make[1]: `libinput.a' is up to date.
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/input'
make -C libvo
make[1]: Entering directory `/home/username/MPlayer-1.0rc1/libvo'
cc -c -I. -I.. -I../osdep  -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=athlon -mtune=athlon -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb -I/usr/include  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include -I/usr/include/dvdnav  -I/usr/include/freetype2 -DMPG12PLAY -o vo_ivtv.o vo_ivtv.c
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:82: error: 'struct ivtv_cfg_stop_decode' has no member named 'hide_last'
vo_ivtv.c:83: error: 'struct ivtv_cfg_stop_decode' has no member named 'pts_stop'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/username/MPlayer-1.0rc1/libvo'
make: *** [libvo/libvo.a] Error 2


Any ideas? Any help would be greatly appreciated.

Author:  sinspot1 [ Sat Jul 07, 2007 8:52 pm ]
Post subject: 

there were updates to ivtv in R5F1 that will not allow you to recompile that version of mplayer. You would need to download the SVN version to be able to recompile it. If you are just looking to do that to install the codecs. If you change your sources.list file to point to the debain repositories that would let you get them and just do a apt-get install W32CODECS that should do it.


UPDATE:know when I turn it back on I am not getting sound out of mplayer. Has anyone else had issues with sound in the new mplayer with the codecs. Also I have notice that my mplayer-resumer.pl is not work. Is anyone else having issue wtih it in R5F1.

Author:  graysky [ Fri Oct 12, 2007 3:11 pm ]
Post subject: 

Just updated the 1st post since there's a new mplayer/codecs released. I tested it on R5F27 and it works fine.

Author:  marc.aronson [ Thu Nov 22, 2007 1:27 am ]
Post subject: 

Graysky, I was having problems with non-smooth playback of xvid videos using mplayer under R5F27. I followed your instructions to upgrade mplayer and now the playback is smooth again, just like it used to be under R5D1.

Thanks for posting your instructions!

Marc

Author:  graysky [ Thu Nov 22, 2007 4:36 am ]
Post subject: 

@marc - cool man, glad people are getting some mileage out of this tread!

Author:  graysky [ Sun Jun 01, 2008 5:12 am ]
Post subject: 

sticky request... anyone else think the thread is worthy of the honor?

Author:  marc.aronson [ Sun Jun 01, 2008 8:15 am ]
Post subject: 

graysky wrote:
sticky request... anyone else think the thread is worthy of the honor?

Agreed.

Marc

Author:  graysky [ Sat Aug 09, 2008 3:12 am ]
Post subject: 

Update on 09-Aug-08 - I tailored the original procedure for R5.5 (minor but important changes) should you wish to -downgrade- your mplayer from the dev version to the older stable version.

Author:  boardy [ Fri Sep 12, 2008 11:39 am ]
Post subject:  Having a problem :(

Hi I'm not a linux guru by any means and have followed this tutorial but I'm getting a compile error that I just can't seem to get past.

I need to get mplayer 1.0-rc2 installed as I have a patch to enable last.fm submissions (http://banthar.googlepages.com/MPlayer- ... stfm.patch).

Everything seems to go fine until it hits this point.

Code:
usr/include  -c -o libx264.o libx264.c
libx264.c: In function 'X264_init':
libx264.c:254: error: 'struct <anonymous>' has no member named 'psz_rc_eq'
make[1]: *** [libx264.o] Error 1
make[1]: Leaving directory `/home/mythtv/MPlayer-1.0rc2/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
root@tv-1:/home/mythtv/MPlayer-1.0rc2#


My configure options are

Code:
./configure --prefix=/usr --disable-ivtv --enable-largefiles --enable-menu


Can someone help me to figure out what's going wrong please?

Thanks
Adam[/code]

Author:  tophee [ Mon Sep 22, 2008 10:56 am ]
Post subject: 

I notice that mplayer has received an update as of 9/9/2008 or for you Americans 2008/9/9. lol.

Quote:
2008-09-09, Tuesday :: libdvdnav-4.1.3 and libdvdread-4.1.3 released
posted by Dominik

We are proud to announce another release. This time, it's a dual one, because libdvdread was split from libdvdnav and is now developed in a separate tree, retaining API compatibility with the old upstream.

Apart from the split, the highlights for this release include a large number of memory and resource leak fixes, pkgconfig support and the introduction of dvdread-config script.


I may have a go tomorrow at compiling this newer version of mplayer. If it goes well, I'll add it to here.

-oh, btw, I assume this will be a case of doing everything detailed at the beginning of this thread, but adding an extra make, make install step for libdvdread and libdvdnav? (and I'll be doing it on a test system - not prepared to deal with the fallout of playing with my live box yet!)

Author:  graysky [ Tue Sep 23, 2008 2:19 pm ]
Post subject: 

@tophee - dunno about the new libdvdnav-4.1.3 and libdvdread-4.1.3 at all... the main package seems to be the same 1.0rc2 as before. Do these files only affect DVD playback? Please let us know how your compile goes.

Author:  tophee [ Wed Sep 24, 2008 4:38 am ]
Post subject: 

Hi,
Unfortunately I was unable to have a go at compiling with these items yesterday and I'm not likely to have a chance in the next week or so... time is at a premium at the moment.
If I do, I'll post how I got on (or not) but it won't be for a short while.
Regards

Author:  graysky [ Thu Mar 05, 2009 3:55 pm ]
Post subject: 

Updated the thread. If you are hungry for VDPAU support under R5.5 have a look :)

Page 7 of 7 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/