MPlayer 1.0rc1 + XvMC Nov 2006

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
GeorgR
Posts: 26
Joined: Wed 12 Sep 2007, 11:26
Location: Düsseldorf, Germany

#16 Post by GeorgR »

:o
Shouting:
Now Puppy4 missed: libXvMC.so.1

Sunday stress :D

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

Re: MPlayer with puppy 4

#17 Post by tempestuous »

I'm not in front of a Linux computer at the moment, but I suspect that libXxf86dga.so.1 (EDIT - and libXvMC.so.1) is part of the xorg_xorg_dri-7.3.pet package for Puppy4.
I don't want to compile MPlayer (and mencoder) again until Puppy's Xorg version settles down. Barry has hinted that he is unhappy with Xorg7.3 and wants to change it for Puppy 4.1.

I recommend that MPlayer-1.0rc2 be tried first, and only use the older rc1 as a fallback if there are problems.

I also see this in the "Puppy 4 Beta 2" thread -
GeorgR wrote:user.warn kernel: dvb-bt8xx: A frontend driver was not found for device 109e/0878 subsystem 0071/0101
MPlayer won't display the output of your digital tuner until the module (and associated modules) loads properly.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#18 Post by ttuuxxx »

ok I remade the package with the other missing lib I'll keep updating the same package, maybe use a numbering system:)
Once again just shout :)
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#19 Post by tempestuous »

ttuuxxx,
I trust you are obtaining those libraries from Puppy4 Xorg7.3 packages.
libXxf86dga.so.1 will be needed by anyone who chooses the "dga" video out option in MPlayer.
libXvMC.so.1 will be needed by anyone who chooses the "xvmc" video out option in MPlayer.
If the libraries are not compatible with Xorg7.3, then I don't expect those MPlayer video out options will be successful.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#20 Post by ttuuxxx »

tempestuous wrote:ttuuxxx,
I trust you are obtaining those libraries from Puppy4 Xorg7.3 packages.
libXxf86dga.so.1 will be needed by anyone who chooses the "dga" video out option in MPlayer.
libXvMC.so.1 will be needed by anyone who chooses the "xvmc" video out option in MPlayer.
If the libraries are not compatible with Xorg7.3, then I don't expect those MPlayer video out options will be successful.
yes those libs come from
http://www.puppylinux.ca/pet4/xorg_xorg ... ri-7.3.pet
all I did was download the full library and extracted the libs :)
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#21 Post by disciple »

Tempestuous - you might know the answer to this:
I've been trying to compile Mplayer RC2, because I want a package using shared ffmpeg, and Barry's official Puppy 4 package is the only one I've seen, but it doesn't have dvdnav support, and doesn't work on anything older than Pentium 3 (I've actually got a computer that is only 8 years old and has a 550MHz K6 processor that doesn't work either).
But I'm wondering if I should be using the "enable runtime cpu detection" option. Does it let Mplayer use the different instructions or whatever they are (MMX or whatever), depending on if they are present, or is it about x86 vs PowerPC vs anything else?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#22 Post by tempestuous »

One way to guarantee that MPlayer will work on your 550MHz K6 is to compile it on that machine ... but then MPlayer will fail on P1 and maybe P2's, because by default the MPlayer configuration will optimise for the machine on which it's compiled.
disciple wrote:I'm wondering if I should be using the "enable runtime cpu detection" option.
Yes, definitely. This compile option relates only to x86 architectures. I read somewhere that there's one other option which will avoid other (unnecessary) optimisations -

Code: Select all

--target=i486-pc-linux-gnu
disciple wrote:I want a package using shared ffmpeg
Good idea. I suggest you first compile your own version of ffmpeg, with useful extra libraries - FAAC, FAAD, lame, theora, x264, xvidcore (XviD). Then compile like this -

Code: Select all

--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
When I first tried to compile MPlayer against ffmpeg I failed, but Barry later explained the correct configuration options -
http://www.murga-linux.com/puppy/viewto ... 702#157702
This is what he suggests -

Code: Select all

--disable-libavcodec_a --disable-libavformat_a --disable-libavutil_a --disable-libpostproc_a
For DVD navigation you will need libdvdnav from MPlayer CVS, which also includes up-to-date libdvdread.
It's also worth updating Puppy's libdvdcss libraries with the latest SVN.
Then add these compile options

Code: Select all

--enable-dvdnav --disable-dvdread-internal --enable-dvdread

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#23 Post by disciple »

Thanks for that. I was having problems with make failing, but I haven't tried compiling on anything newer than Grafpup 2. I should be able to get the devx file for Dingo and have a go with that in the next few days. But you mentioned that you had to hack the source to get VCD support to work. Are you able to point me in the right direction there?
And is it really necessary to recompile ffmpeg? Surely Barry or you or someone has produced a suitable package.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#24 Post by tempestuous »

Regarding VCD support, at line 5345 of the configure script you will see this -

Code: Select all

echocheck "VCD support"
if linux || bsdos || freebsd || netbsd || sunos || darwin || mingw32; then
  _inputmodules="vcd $_inputmodules"
  _def_vcd='#define HAVE_VCD 1'
  _vcd="yes"
It seems to be a simple check on your operating system, and should enable VCD support when Linux is detected.
But for whatever reason, the "if" condition fails and VCD support is not enabled.
My simple hack is to change the "else" condition from "no" to "yes" further down at line 5354.
disciple wrote:is it really necessary to recompile ffmpeg?
Well I just saw someone on the forum report that Puppy's ffmpeg cannot encode to AAC. If true, this is a significant shortcoming in the age of the iPod.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#25 Post by disciple »

That's interesting, I don't seem to need that hack. But I'm about ready to give up. I don't know why I always have so much trouble with Mlayer. This time it complained about needing ffmpeg with zlib, so I installed ffmpeg compiled with zlib, and now it complains about the same thing, just later in the configure script...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
sketchman
Posts: 294
Joined: Thu 01 Jun 2006, 17:20
Location: West Virginia, USA

#26 Post by sketchman »

has rc2 worked for anyone? I'm using Puppy 4 and I've installed every lib it asked for, but I can't find the following one that it wants now.

libcaca.so.0
"In a world that exists without walls and fences, who needs Windows and Gates?"

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#27 Post by MU »

in Puppy 3 it works fine.
I just have some (I think divx) videos, where I must set the aspect-ration explicitly to 4:3, or they are distorted.
But that is seldom.

Here is the dependency-list:
# ldd mplayer
linux-gate.so.1 => (0xffffe000)
libXv.so.1 => /usr/X11R71/lib/libXv.so.1 (0xb7ef8000)
libXvMC.so.1 => /usr/X11R71/lib/libXvMC.so.1 (0xb7ef5000)
libXvMCW.so.1 => /usr/X11R71/lib/libXvMCW.so.1 (0xb7ef0000)
libXinerama.so.1 => /usr/X11R71/lib/libXinerama.so.1 (0xb7eed000)
libXxf86dga.so.1 => /usr/X11R71/lib/libXxf86dga.so.1 (0xb7ee8000)
libGL.so.1 => /usr/X11R71/lib/libGL.so.1 (0xb7e47000)
libdl.so.2 => /lib/libdl.so.2 (0xb7e43000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7e33000)
libx264.so.58 => /usr/lib/libx264.so.58 (0xb7dad000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7d96000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7cf1000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb798a000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7908000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb78ee000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb78d7000)
libm.so.6 => /lib/libm.so.6 (0xb78b0000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb78a8000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb786a000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb77f5000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb77bc000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb77b9000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb76fd000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb76bc000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7680000)
libz.so.1 => /lib/libz.so.1 (0xb766f000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb764f000)
libgif.so.4 => /usr/lib/libgif.so.4 (0xb7647000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7593000)
libdvdread.so.4 => /usr/lib/libdvdread.so.4 (0xb7579000)
libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0 (0xb756b000)
libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0 (0xb7563000)
libfreetype.so.6 => /usr/X11R71/lib/libfreetype.so.6 (0xb74ed000)
libfontconfig.so.1 => /usr/X11R71/lib/libfontconfig.so.1 (0xb74c2000)
libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb74b4000)
libmad.so.0 => /usr/lib/libmad.so.0 (0xb749e000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7474000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb746f000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7430000)
libamrnb.so.3 => /usr/lib/libamrnb.so.3 (0xb73f4000)
libamrwb.so.3 => /usr/lib/libamrwb.so.3 (0xb73ca000)
liblirc_client.so.0 => /usr/lib/liblirc_client.so.0 (0xb73c4000)
liblircc.so.0 => /usr/lib/liblircc.so.0 (0xb73c1000)
libdvdnavmini.so.4 => /usr/lib/libdvdnavmini.so.4 (0xb73ac000)
libc.so.6 => /lib/libc.so.6 (0xb726a000)
libX11.so.6 => /usr/X11R71/lib/libX11.so.6 (0xb7181000)
libXext.so.6 => /usr/X11R71/lib/libXext.so.6 (0xb7173000)
/lib/ld-linux.so.2 (0xb7efe000)
libXcomposite.so.1 => /usr/X11R71/lib/libXcomposite.so.1 (0xb716f000)
libXdamage.so.1 => /usr/X11R71/lib/libXdamage.so.1 (0xb716c000)
libXfixes.so.3 => /usr/X11R71/lib/libXfixes.so.3 (0xb7167000)
libXrender.so.1 => /usr/X11R71/lib/libXrender.so.1 (0xb715f000)
libXi.so.6 => /usr/X11R71/lib/libXi.so.6 (0xb7157000)
libXrandr.so.2 => /usr/X11R71/lib/libXrandr.so.2 (0xb7150000)
libXcursor.so.1 => /usr/X11R71/lib/libXcursor.so.1 (0xb7147000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb711c000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb70e1000)
libSM.so.6 => /usr/X11R71/lib/libSM.so.6 (0xb70d8000)
libICE.so.6 => /usr/X11R71/lib/libICE.so.6 (0xb70c1000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb70a1000)
libXau.so.6 => /usr/X11R71/lib/libXau.so.6 (0xb709e000)
libXdmcp.so.6 => /usr/X11R71/lib/libXdmcp.so.6 (0xb7099000)
#
For large wmv-videos, in "preferences - misc" I must check "autosync on/off", or the sound is asyncron (too fast), because the pictures are displayed a bit too slow on my system.
Example movie: Star Wars Revelations:

http://panicstruckpro.com/revelations/

Without that setting, I also had no sound at all for:
http://impstherelentless.com/tek9.asp?pg=chapter1
Join the emperors heroic forces to bring peace to the galaxy!
Learn more about the majestic vessels with the most modern military equipment, and see an episode in the life of a storm trooper!

Mark
Last edited by MU on Mon 19 May 2008, 16:40, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#28 Post by tempestuous »

sketchman wrote:has rc2 worked for anyone? I'm using Puppy 4 and I've installed every lib it asked for, but I can't find the following one that it wants now.
libcaca.so.0
You appear to be using a less-than-ideal version of MPlayer.

Try the official Puppy4 petget version first, but if you want some of the special features that I enable, then use this one - "MPlayer-1.0rc2 + mencoder Feb 2008"
http://www.murga-linux.com/puppy/viewtopic.php?t=26511

I think that Mark is referring to my rc2 version. It definitely doesn't require libcaca.so.0.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#29 Post by MU »

I think that Mark is referring to my rc2 version. It definitely doesn't require libcaca.so.0.
yep.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
sketchman
Posts: 294
Joined: Thu 01 Jun 2006, 17:20
Location: West Virginia, USA

#30 Post by sketchman »

tempestuous wrote:
sketchman wrote:has rc2 worked for anyone? I'm using Puppy 4 and I've installed every lib it asked for, but I can't find the following one that it wants now.
libcaca.so.0
You appear to be using a less-than-ideal version of MPlayer.

Try the official Puppy4 petget version first, but if you want some of the special features that I enable, then use this one - "MPlayer-1.0rc2 + mencoder Feb 2008"
http://www.murga-linux.com/puppy/viewtopic.php?t=26511

I think that Mark is referring to my rc2 version. It definitely doesn't require libcaca.so.0.
Tried both. Neither work. They show 2 windows(1 black and 1 either purple or white) and lock up my desktop. Have to crtl-alt-backspace to get out and re-xwin to get my desktop back.
"In a world that exists without walls and fences, who needs Windows and Gates?"

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#31 Post by disciple »

At least two packages of RC2 work for me. But this
Tried both. Neither work. They show 2 windows(1 black and 1 either purple or white) and lock up my desktop. Have to crtl-alt-backspace to get out and re-xwin to get my desktop back.
sounds like the problem that is common when starting Mplayer from the menu. What happens if you start it from Rox or a terminal?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
sketchman
Posts: 294
Joined: Thu 01 Jun 2006, 17:20
Location: West Virginia, USA

#32 Post by sketchman »

I get the following.

Code: Select all

MPlayer dev-SVN-rUNKNOWN-4.2.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 4000+ (Family: 15, Model: 55, 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
115 audio & 237 video codecs
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
How do I get the main program window?
"In a world that exists without walls and fences, who needs Windows and Gates?"

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#33 Post by MU »

type:
gmplayer
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
sketchman
Posts: 294
Joined: Thu 01 Jun 2006, 17:20
Location: West Virginia, USA

#34 Post by sketchman »

Works fine. Thanks guys.
"In a world that exists without walls and fences, who needs Windows and Gates?"

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#35 Post by MU »

fine, so you should drag /usr/local/bin/gmplayer on your desktop for easy access :)
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply