MPlayer-1.0rc2 + mencoder Feb 2008

Audio editors, music players, video players, burning software, etc.
Message
Author
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]

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

#36 Post by tempestuous »

Understood.

Regarding libv4l, my version was compiled against Xorg7.3 in Puppy4.1.
But I understand that Newyearspup uses Xorg7.4?
If so, I suggest you compile libv4l against Xorg7.4 for maximum compatibility.

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

#37 Post by MU »

I sometimes have the issue, that movies do not have a correct aspect ratio.
There are black bars on top and bottom, and faces look too wide.

It seems, that the following simple script is a good solution.
No more black bars, the movie is scaled to the physical size of the screen.

It requires xscreensize:
http://www.murga-linux.com/puppy/viewto ... ch&id=7845

Code: Select all

#!/bin/bash
x=`xscreensize | cut -d ' ' -f1`
y=`xscreensize | cut -d ' ' -f2`
gmplayer -fs -x $x -y $y "$@"

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

friendlybiker
Posts: 27
Joined: Sat 10 May 2008, 20:19
Location: Madison, WI

Crashes in 4.2

#38 Post by friendlybiker »

I downloaded this in 4.1.2 and worked fine. I updated to 4.2 on two laptops and it freezes up. I wish we had a stable version of mplayer.
[b][color=red]friendlybiker[/color][/b]

------------------------------
5.2.8-Lucid
"Where the North Begins"

mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

Mplayer with BBC RAM files

#39 Post by mawebb88 »

Installed the mplayer apps from the Puppy 4 repository. Corrected the ..jwmrc entry as reported earlier in the thread. Set the run action for the attached file (r4.ram temporary renamed to r4.tif as ram extensions are not allowed for attachments on this forum!) to:

Code: Select all

gmplayer "$@"
but it did not play the stream. Changed the run action to:

Code: Select all

gmplayer -playlist "$@"
and it now plays the stream all be it with a "invalid chunksize" error (which is reported on the mplayer forums but no solution as far as far II can see..

If the mplayerplugin is used on a embedded link in a web page to a RAM stream I do not get the error.
Rgds Mike
Attachments
r4.tif
Really r4.ram but the forum does not allow ram extensions
(236 Bytes) Downloaded 801 times

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

#40 Post by tempestuous »

mawebb88 wrote:Installed the mplayer apps from the Puppy 4 repository.
The version of MPlayer from the official repository is somewhat different to the version which is the subject of this forum thread.
The repository version does not have all of the advanced features listed in the first post.
mawebb88 wrote:all be it
No offence, the word is "albeit".

Post Reply