MPlayer 1.0rc1 + XvMC Nov 2006
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?
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
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
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.
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 -
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
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 -disciple wrote:I'm wondering if I should be using the "enable runtime cpu detection" option.
Code: Select all
--target=i486-pc-linux-gnu
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 -disciple wrote:I want a package using shared ffmpeg
Code: Select all
--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
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
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
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.
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
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Regarding VCD support, at line 5345 of the configure script you will see this -
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.
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"
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.
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 wrote:is it really necessary to recompile ffmpeg?
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
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
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:
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
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:
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.# 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)
#
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.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
You appear to be using a less-than-ideal version of MPlayer.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
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.tempestuous wrote:You appear to be using a less-than-ideal version of MPlayer.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
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.
"In a world that exists without walls and fences, who needs Windows and Gates?"
At least two packages of RC2 work for me. But this
sounds like the problem that is common when starting Mplayer from the menu. What happens if you start it from Rox or a terminal?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.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I get the following.
How do I get the main program window?
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 * * *
"In a world that exists without walls and fences, who needs Windows and Gates?"
LIRC modules for Puppy 4.0 Dingo
Do the LIRC modules in
LIRC-0.8.1modules-k2.6.18.1.pup
work for Puppy 4.0? From what I've found, Puppy 2.16 was the last one to use the 2.6.18 kernel. For newer puppies, do we need LIRC modules compiled for the 2.6.21 kernel? If so, are those available anywhere?
Thanks.
LIRC-0.8.1modules-k2.6.18.1.pup
work for Puppy 4.0? From what I've found, Puppy 2.16 was the last one to use the 2.6.18 kernel. For newer puppies, do we need LIRC modules compiled for the 2.6.21 kernel? If so, are those available anywhere?
Thanks.