MPlayer-1.0rc2 + mencoder Feb 2008

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
sketchman
Posts: 294
Joined: Thu 01 Jun 2006, 17:20
Location: West Virginia, USA

#16 Post by sketchman »

Got the following.

Code: Select all

MPlayer 1.0rc2-3.4.4 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 4000+ (Family: 15, Model: 55, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing i-irona.avi.

AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  592x272  24bpp  25.000 fps  1600.6 kbps (195.4 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2540/release)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Exiting... (Quit)
Nothing else happens.

I thought about the xvesa thing too, but I dropped to the prompt and typed xorgwizard and made sure to choose xorg. Still didn't help.
"In a world that exists without walls and fences, who needs Windows and Gates?"

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

#17 Post by sketchman »

Problem solved. I installed gray's prop NVIDIA driver and everything's smooth and fast. If anyone has my problem, gray's drivers are at the link below.

http://download.tuxfamily.org/nop/

Thanks for your help, tempestuous.
"In a world that exists without walls and fences, who needs Windows and Gates?"

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

mplayer and also xawtv can't find libraries in Puppy 4.00

#18 Post by mcewanw »

@tempestuous:

On latest Puppy 4.00 (Dingo) frugal install with new pup_save file
kernel: 2.6.21.7

Installed:
http://minipc.org/ipup/download/MPlayer-1.0rc2.pet
and
MPlayer-extra-libs.pet

Rebooted and from console ran: gmplayer
Gives following error:

gmplayer: error while loading shared libraries: libXvMC.so.1: cannot open shared object file: No such file or directory

ALSO

Installed v4lctl.pet and xawtv-3.95.pet
from http://www.murga-linux.com/puppy/viewtopic.php?t=19918

Tried running: xawtv from console
Gives following error:
xawtv: error while loading shared libraries: libXxf86dga.so.1: cannot open shared object file: No such file or directory

I'm busy packing so haven't been able to look into this further. I'm presuming it is a library path problem?

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

#19 Post by tempestuous »

Yes, once MPlayer-extra-libs.pet is installed both of those library files definitely exist in /usr/X11R7/lib/

I'm away from a Linux computer at the moment, and I can't remember where to define library files ... but /usr/X11R7/lib/ is a standard location, and there are many other files already there ... maybe just run this command -

Code: Select all

ldconfig
Strange, though, that neither I nor sketchman had that trouble?

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

Re: mplayer and also xawtv can't find libraries in Puppy 4.0

#20 Post by big_bass »

a clean up
removed old links to outdated packages
that were linked here
Last edited by big_bass on Wed 11 Nov 2009, 03:23, edited 1 time in total.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

mplayer now working

#21 Post by mcewanw »

@tempestuous

I didn't realise Puppy had ldconfig installed (v.2.17.1 didn't). Running that did the trick for mplayer. It starts up now (haven't otherwise had time to test it). Yes, I found it strange that no-one else seems to have needed to run ldconfig or set the lib path environment variable.

xawtv still comes up with an error though:

xawtv: error while loading shared libraries: libXaw.so.8: cannot open shared object file: No such file or directory

I tried searching for libXaw with Pfind and found libXaw.so.7 rather than .8, so I guess I'll try a symlink tomorrow when I have slept...

Thanks for you help

@bigbass
I'll try out your alternative compilation sometime, if I ever get round to all the other bits and pieces I keep adding to my todo list :-)
Thanks.

What is the difference or problem with BarryK's mplayer - I presume it has a lot of codecs missing or something (it is such a small file comparatively, according to an earlier post anyway)?

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

Re: mplayer now working

#22 Post by tempestuous »

mcewanw wrote:What is the difference or problem with BarryK's mplayer
Sensible question, and strange that no one else has asked that. My earlier rc1 MPlayer version in November 2006 pre-dates Barry's interest in MPlayer. Then Barry compiled a version of MPlayer during the Puppy4 development phase, but was unhappy with it for reasons I can't recall. That's why MPlayer was made available as a dotpet but was not included in the standard release.

My rc2 MPlayer version continues to be a viable alternative to the official version in that it has significant additional features. These features are comprehensively listed in the first post in this thread, but the main ones are XvMC output, DVD menus, infrared remote control, and IVTV tuner support.

Apart from these features, Barry's version is fine. The official version has the additional technical feature of being compiled against shared ffmpeg libraries, which keeps the size down and allows ffmpeg to be used by other applications. The official dotpet also has the very important "xv" video output option.
mcewanw wrote:I presume it has a lot of codecs missing
No, no, no. The "extra-codecs-pack" is rarely necessary and highly overrated. These Windows codec dll's are only needed for codecs not supported by MPlayer's inbuilt ffmpeg library. But currently, that really only means RealVideo10/11, which is about 750KB in size (and I have already included this extra codec in my dotpet) so the total uncompressed 22MB size of the codecs pack is a mostly useless consumption of your pupsave file. You would need the extra codecs, for example, if you stumbled across a Microsoft MS-CRAM video file from the 1990's!
mcewanw wrote:I tried searching for libXaw with Pfind and found libXaw.so.7 rather than .8
Yes, that would be because I compiled XawTV in an earlier version of Puppy. Now that you have MPlayer installed, XawTV is not really necessary anyway.

maddmike
Posts: 14
Joined: Tue 17 Jun 2008, 20:03

Lirc modules for Puppy 4.0

#23 Post by maddmike »

Does anyone have the lirc modules compiled for the 2.6.21 kernel in Puppy 4? I've found LIRC-0.8.1modules-k2.6.18.1.pup , but they only seem to be for older puppies (with 2.6.18 kernel).

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

#24 Post by tempestuous »

maddmike, you're the first to ask about infrared remote control in recent times.
I have just attached the LIRC drivers for Puppy3.x and Puppy4.0 to the first post.

Diamond
Posts: 141
Joined: Tue 11 Dec 2007, 15:44
Contact:

#25 Post by Diamond »

Bugs with mplayer...

Please,equalizers are not working very well...There is distorsion of sound when I am using equalizers.

And also there is a problem with displaying of unicode font.I mean letters like this "

Arvi Pingus
Posts: 8
Joined: Fri 18 Jul 2008, 18:32
Location: Behind the dutch dunes

#26 Post by Arvi Pingus »

Mplayer gives fatal error. Puppy 4.0.0 with installed xorg_xorg_dri-7.3-1
Screenshot gives error message in terminal and when menu option is used.
Image

Starting at commandline 'mplayer' works ok showing the -options.
Know where you are talking about instead of talking about what you know.

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

#27 Post by tempestuous »

Diamond wrote:there is a problem with displaying of unicode font.
I don't know much about fonts, but I just did a Google search for "MPlayer unicode" and I suggest you do the same.
The problem might not be a bug, it may be due to the way that MPlayer interacts with Puppy's fonts. Puppy's font configuration is at /usr/share/fonts/default/
You may need to install a different font?
Diamond wrote:equalizers are not working very well...There is distorsion of sound when I am using equalizers.
Again, this is not necessarily a bug with MPlayer. The equalizers may be raising the volume above the maximum volume threshold.
Try reducing the main volume with alsamixer.
Arvi Pingus wrote:Mplayer gives fatal error ...
Screenshot gives error message in terminal and when menu option is used.
Well I can't read the screenshot, but the problem may be what I mentioned in the first post -
tempestuous wrote:UPDATE FOR PUPPY 4.0:
- MPlayer will freeze when launched from the JWM menu. To fix this, open /root/.jwmrc in geany and add a space and "&" to the end of the gmplayer launch command, so it looks like this

Code: Select all

<Program label="MPlayer" icon="mplayer.xpm">gmplayer -msglevel all=-1 %U &</Program>

Diamond
Posts: 141
Joined: Tue 11 Dec 2007, 15:44
Contact:

#28 Post by Diamond »

Try reducing the main volume with alsamixer.
I tried,unfortunatelly,no use.

I installed windows fonts,no use for now.Tried with google,the same result.

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

#29 Post by tempestuous »

EDIT: LIRC dotpet for Puppy 4.1alpha4 (2.6.25.11 kernel) removed.

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

#30 Post by tempestuous »

Linux Infrared Remote Control dotpet package for Puppy4.1 just added to the first post.
List of LIRC modules:

commandir
lirc_atiusb
lirc_bt829
lirc_cmdir
lirc_dev
lirc_gpio
lirc_i2c
lirc_igorplugusb
lirc_imon
lirc_it87
lirc_mceusb2
lirc_mceusb
lirc_parallel
lirc_sasem
lirc_serial
lirc_sir
lirc_streamzap
lirc_ttusbir

MUguest
Posts: 73
Joined: Sat 09 Dec 2006, 16:40

#31 Post by MUguest »

MPlayer-extra-libs.pet

It is packaged wrong.
The symlinks in /usr/X11R7/lib point to a nonexistent folder.

I attach a pet, where I corrected them.

Mark
Attachments
MPlayer-extra-libs.pet
for Puppy 4 only !!!
(14.71 KiB) Downloaded 1499 times

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

#32 Post by tempestuous »

Ah yes! Thanks Mark. I have attached your fixed dotpet to the first post.
I created the original dotpet in the early days of Puppy4.0 alphas, when I was forced to stop using emelFM and upgrade to emelFM2 to be compatible with Puppy 4.0's GTK2. Early versions of emelFM2 failed to copy symlinks properly.

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

#33 Post by MU »

I have created a pet, that should include all required files for Puppy 4.12.

To avoid conflicts with other libraries, they are installed to
/usr/local/MPlayer/libs1rc2/

I renamed mplayer to mplayer.bin and added startscripts, that "include" those libs.
These libs are included:

drvc.so
libamrnb.la
libamrnb.so
libamrnb.so.3
libamrnb.so.3.0.0
libamrwb.la
libamrwb.so
libamrwb.so.3
libamrwb.so.3.0.0
libdvdcss.la
libdvdcss.so
libdvdcss.so.2
libdvdcss.so.2.0.8
libdvdnav.la
libdvdnavmini.la
libdvdnavmini.so
libdvdnavmini.so.4
libdvdnavmini.so.4.1.1
libdvdnav.so
libdvdnav.so.4
libdvdnav.so.4.1.1
libdvdread.la
libdvdread.so
libdvdread.so.4
libdvdread.so.4.1.1
libfaac.so
libfaac.so.0
libfaac.so.0.0.0
libGL.so.1
libGL.so.1.2
liblircc.la
liblirc_client.la
liblirc_client.so
liblirc_client.so.0
liblirc_client.so.0.2.0
liblircc.so
liblircc.so.0
liblircc.so.0.0.0
libtheora.a
libtheora.la
libtheora.so
libtheora.so.0
libtheora.so.0.3.2
libx264.so
libx264.so.58
libXvMC.so.1
libXvMC.so.1.0.0
libXvMCW.so.1
libXvMCW.so.1.0.0
libXxf86dga.so.1
libXxf86dga.so.1.0.0

I also uploaded a small utility to use Mplayer as Webcamviewer.
My readme:

This viewer does:
load a compatibility library, so that video4linux2 streams can be used by applications
supporting only video4linux(1) correctly.

Like this Mplayer can be used to display the streams from the webcam drivers for Kernel 2.6.28.5.

Details:
http://hansdegoede.livejournal.com/3636.html


Download:
http://dotpups.de/puppy4/dotpups/Multim ... -puppy412/

Let me know, if anything misses.
Mark
[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

#34 Post by tempestuous »

Mark, it's strange that it's necessary to move the MPlayer libs out of /usr/lib
I presume you are responding to forum member ravensrest's problem when trying to view a webcam with MPlayer.

I just installed MPlayer-1.0rc2.pet with MPlayer-extra-libs.pet, in a fresh boot to the Puppy 4.1.2 liveCD. Video and audio playback is perfect. GMPlayer gui works fine. But I don't have a webcam that I can test with.

Of course, it's possible that there is something different about Puppy 4.2? I can't be bothered downloading 4.2 to test.

Regarding libv4l, the download link mentioned here is libv4l-0.1
http://hansdegoede.livejournal.com/3636.html
but that's outdated.
I provided libv4l-0.5.8 a few months ago here -
http://www.murga-linux.com/puppy/viewto ... 689#270689

and I see that the latest version is currently libv4l-0.5.97, from
http://people.atrpms.net/~hdegoede/

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

#35 Post by MU »

tempestuous

No, it is not really necessary.

I moved them for another reason.
I do it like this in newyearspup, it just has a smaller amount of libs, as e.g. xorg is more complete than in Puppy.

Meanwhile, there are a lot of multimedia sfs or pets, or even larger ones, like Gnome.

They sometimes contain own versions of some of these libs.
To avoid conflics by the different versions, I now moved them to an own folder.
So if you install in addition "pup-radio-tv-whatever.pet" with own libtheora and other libs, there is no conflict.
Even after un-installing such a pet, mplayer continues to work.


Thanks for the info about the newer libv4l, I will update the pet this evening.

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

Post Reply