mplayer_codecs_basic

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

mplayer_codecs_basic

#1 Post by peebee »

The mplayer_codecs_basic .pet comes from puppy-noarch-official repository and doesn't seem to have been updated since 2007!

2 of the codes require libstdc++.so.5 whereas modern puppies have .6

so the package needs recompiling - but where does the source come from???

Code: Select all

# cd /usr/lib/codecs
# ldd cook.so       
	linux-gate.so.1 (0xb77da000)
	libstdc++.so.5 => not found
	libc.so.6 => /lib/libc.so.6 (0xb7627000)
	/lib/ld-linux.so.2 (0x80050000)
# ldd drvc.so       
	linux-gate.so.1 (0xb77e7000)
	libstdc++.so.5 => not found
	libc.so.6 => /lib/libc.so.6 (0xb75f4000)
	/lib/ld-linux.so.2 (0x800f7000)
# 
or would links work to satisfy the missing dependencies?

what do these codecs do anyway? Presumably nobody had detected that they don't work in modern pups - otherwise they would have been updated?
Last edited by peebee on Thu 17 Mar 2016, 07:03, edited 1 time in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hi peebee.

The codecs read the various media formats. There's probably a thousand of these formats
nowadays.

I have compiled from source the recent mplayer 1.2.1 for my "Pooch" a few weeks
ago but I haven't shared it yet. I wanted to test it first. It's got all the codecs within
itself, from the looks of it. Compiled on eglibc 2.13.
-- https://mplayerhq.hu/design7/news.html--

I didn't discriminate (pre-select) any of them when I compiled it, so it'll take whatever
media format you throw at it. Works fine with gnome-mplayer.

Interested? Just say the word! I've added it to the Pooch thread already.

15 Mg's zipped, 38 Mg's un-zipped. ;) List of files below. Because of its size, I decided to
have it reside in /mnt/home, with proper symlinks to within the Pup.

BFN.

~~~~~~~~~~~~
P.S.
I know someone else on this forum did a compilation of this 1.2.1 version recently,
and offered it as a sfs, I think. It's what prompted me to do mine, actually, because his
didn't work in my "Pooch", IIRC. I can't find it at the moment with the forum search
function, but I know it's there somewhere.
~~~~~~~~~~~~
Archive: MPlayer-1.2.1_mnt-home.zip
Length Date Time Name
--------- ---------- ----- ----
0 2016-02-18 04:15 etc/
0 2016-02-18 04:15 etc/mplayer/
0 2016-02-18 03:31 mnt/
0 2016-02-18 04:13 mnt/home/
0 2016-02-18 03:06 mnt/home/mplayer-1.2.1/
0 2016-02-18 03:06 mnt/home/mplayer-1.2.1/usr/
0 2016-02-18 02:51 mnt/home/mplayer-1.2.1/usr/share/
0 2016-02-09 23:36 mnt/home/mplayer-1.2.1/usr/share/man/
0 2016-02-18 03:11 mnt/home/mplayer-1.2.1/usr/share/man/man1/
9 2016-02-18 04:04 mnt/home/mplayer-1.2.1/usr/share/man/man1/mencoder.1
345517 2016-02-09 23:36 mnt/home/mplayer-1.2.1/usr/share/man/man1/mplayer.1
0 2016-02-10 00:15 mnt/home/mplayer-1.2.1/usr/bin/
18810800 2016-02-10 00:15 mnt/home/mplayer-1.2.1/usr/bin/mencoder
19775664 2016-02-10 00:15 mnt/home/mplayer-1.2.1/usr/bin/mplayer
45 2016-02-09 23:44 mnt/home/mplayer-1.2.1/usr/bin/mplayer.nvo.txt
156 2016-02-18 04:06 pet.specs
0 2016-02-18 04:16 usr/
0 2016-02-18 03:05 usr/share/
0 2016-02-18 03:05 usr/share/man/
0 2016-02-18 04:15 usr/share/man/man1/
9 2016-02-18 04:04 usr/share/man/man1/mencoder.1
52 2016-02-18 04:15 usr/share/man/man1/mplayer.1
0 2016-02-18 04:14 usr/bin/
40 2016-02-18 04:14 usr/bin/mencoder
39 2016-02-18 04:14 usr/bin/mplayer
0 2016-02-18 04:16 usr/lib/
--------- -------
38932331 26 files
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#3 Post by peebee »

Hi Musher0

I know what codecs in general do....I was wondering what cook and drvc in particular do?

I'm trying to squish a few remaining missing dependencies in my LxPupSc build so I really just want up-to-date versions of cook.so and drvc.so

Thanks for your interest and help
Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#4 Post by OscarTalks »

Hello peebee,

Looking in Wheezy and Slacko 5.7 there are both versions of libstdc++ (.5 and .6) in /usr/lib but I guess in later Pups the .5 may have been left out so adding it back in may be one solution.

I think the codecs are from a rather old Real Player package. I see them in an old Real Player for Linux. The MPlayer website makes it clear that they are now rather obscure and unlikely to be needed. Real media has become abandoned by most users and it may be that support for it is now included via ffmpeg anyway and the default config has this statically linked into mplayer. The website does not appear to offer those codecs as source, only binary libs. The Real code was never open source as far as I know.
Oscar in England
Image

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#5 Post by peebee »

Thanks @OscarTalks

I think adding 900KB to the build just for these obscure codecs would probably be OTT.

I'll probably leave the codecs in the build but include a link from .6 to .5 but have no way to test if this is sensible - can't be any worse than the current situation though.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
norgo
Posts: 388
Joined: Fri 13 Nov 2015, 17:19
Location: Germany
Contact:

#6 Post by norgo »

@OscarTalks is right

cook is an old realaudio codec
drvc is an old realvideo codec

@peebee

As far as I know MPlayer contains the cook and drvc codecs by default.
mplayer_codecs_basic package is a relict of the time when codecs and MPlayer were separate packages.
But this is a long time ago.
I uninstalled mplayer_codecs_basic for a test in Slacko 6.3.0 and checked this under use of default installed MPlayer version 1.1-4.8.2.

Code: Select all

#mplayer -ac help | grep cook

ffcook      ffmpeg    working   FFmpeg COOK audio  [cook]
ra10cook    realaud   working   RealPlayer 10 COOK audio  [cook.so]
racook      realaud   working   RealAudio COOK  [cook.so.6.0]
ra10cookwin realaud   working   Win32 RealAudio 10 COOK  [cook.dll]
racookwin   realaud   working   Win32 RealAudio COOK  [cook3260.dll]
racookmac   realaud   working   Mac OS X RealAudio COOK  [cook.bundle/Contents/MacOS/cook]

#mplayer -vc help | grep drvc

rv3040      realvid   problems  Linux RealPlayer 10 RV30/40  [drvc.so]
rv3040win   realvid   working   Win32 RealPlayer 10 RV30/40  [drvc.dll]
rv40mac     realvid   working   Mac OS X RealPlayer 9 RV40  [drvc.bundle/Contents/MacOS/drvc]
rv30mac     realvid   working   Mac OS X RealPlayer 9 RV30  [drvc.bundle/Contents/MacOS/drvc]
You see, both codecs are still existing.

Btw.
Of course it's useful to use a separately directory for codecs which MPlayer do not contain by default.
But do not forget to configure MPlayer with --codecsdir=DIR before compiling.

Post Reply