Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 30 Jul 2014, 23:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
ffmpeg 0.5 and xine-lib 1.1.16.3
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [23 Posts]   Goto page: Previous 1, 2
Author Message
jani


Joined: 05 Jan 2008
Posts: 30
Location: Hungary

PostPosted: Sat 26 Sep 2009, 03:17    Post subject:  

Hi

I installed these packages (only 1 & 2 because 3 is not must).
Before the installation i could use ffmpeg apart from mp4 to mp3 conversation.
After the installation when i launch ffmpeg a got this message:

ffmpeg: relocation error: /usr/lib/libavdevice.so.52: symbol snd_pcm_htimestamp, version ALSA_0.9 not defined in file libasound.so.2 with link time reference

I use puppy 4.00 full install.

Could you help me please?
Have you got any idea what is the issue what i have to do?

Thank you
Jani
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sat 26 Sep 2009, 21:50    Post subject:  

Hmmm .....

@jani

It seems that there's an ALSA dependencies that is not met with in puppy 4.0 ..... I believe that puppy 4.0 is using kernel 2.6.21.7 but with an older alsa-1.0.15 ... To resolve this, you will need to upgrade alsa to at least version 1.0.16 (the one used in puppy 4.12) or the latest 1.0.21 ...

I don't remember off hand but puppy 4.00 kernel could be configured differently and my alsa driver upgrade pet would not work properly ... If you need any help with alsa upgrade, please pm me .....


Rgds
Back to top
View user's profile Send private message 
jani


Joined: 05 Jan 2008
Posts: 30
Location: Hungary

PostPosted: Tue 29 Sep 2009, 11:19    Post subject:  

Hi Patriot.

You are right my kernel is 2.6.21.7.
But i don't know my ALSA version. I don't know how can i check it.
(you know i am not a linux expert just an open mind user; may be the the version of alsamixer? it is 1.0.14)

Could you help me how can i upgrade the ALSA libs/progs? to the proper version?

Thank you
Jani
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Wed 30 Sep 2009, 03:45    Post subject:  

Hmmm .....

I've made some checks and finally found a suitable symvers to use ... Please go to my alsa-1020 thread here and get the alsa-3in1-k26217-pre-1020 pet package made specifically for puppy 4.00 and puppy 3.01 ...

After installing the alsa upgrade, open a terminal and use alsaconf to reconfigure your soundcard ... I would suggest that you boot using a LiveCD with pfix=ram to try it out first ...


Rgds
Back to top
View user's profile Send private message 
jani


Joined: 05 Jan 2008
Posts: 30
Location: Hungary

PostPosted: Wed 30 Sep 2009, 14:24    Post subject:  

Hi Patriot

I done your instruction and finally the ffmpeg works !!! Very Happy
I appreciate your help.
Thank you very much.

Jani
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4288

PostPosted: Thu 01 Oct 2009, 01:02    Post subject:  

did you compile against libgsm? It's pretty small and also a useful lossy speech codec similar to speex. It took forever to figure out how to compile a decent shared library though... I am posting a small pet in case someone needs it

EDIT: need to chmod the /usr/lib/libgsm.so...
libgsm_DEV-1.0.13-i486.pet
Description 
pet

 Download 
Filename  libgsm_DEV-1.0.13-i486.pet 
Filesize  17.32 KB 
Downloaded  232 Time(s) 
libgsm-1.0.13-i486.pet
Description 
pet

 Download 
Filename  libgsm-1.0.13-i486.pet 
Filesize  12.67 KB 
Downloaded  241 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Thu 01 Oct 2009, 01:53; edited 2 times in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6426
Location: Auckland, New Zealand

PostPosted: Thu 01 Oct 2009, 01:17    Post subject:  

Quote:
figure out how to

Perhaps you could enlighten us... or at least document it so you don't forget it yourself Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4288

PostPosted: Thu 01 Oct 2009, 01:50    Post subject:  

AFTER
# The basic API: libgsm

ADDED
dotso:
$(LD) $(CFLAGS) $(LFLAGS) -o lib/libgsm.so.1.0.13 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(GSM_SOURCES) -lc
ln -fs libgsm.so.1.0.13 lib/libgsm.so.1
ln -fs libgsm.so.1.0.13 lib/libgsm.so

THEN
make dotso

the files will be in ./lib - I just manually copied them at that point because I was too sick of editing the Makefile to futs with the install part ... CRAP forgot to chmod the .so grrr I'll repack it tomorrow

P.S. I used GSM_SOURCES instead of OBJECTS so the -combine CFLAG would shrink the library

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [23 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0599s ][ Queries: 12 (0.0074s) ][ GZIP on ]