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 Sat 20 Sep 2014, 20:28
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How do I transcode video/audio format in Puppy? (solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
linus.cl

Joined: 02 Apr 2014
Posts: 71
Location: Germany

PostPosted: Sat 30 Aug 2014, 05:32    Post subject:  How do I transcode video/audio format in Puppy? (solved)  

Hello!

I have troubles with libvo_aacenc

I've tried to compile libav:
Code:

 ./configure --prefix=/usr --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-x11grab --enable-vdpau --enable-runtime-cpudetect --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfaac --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --extra-cflags='-O2 -pipe -fomit-frame-pointer' --cpu=i686 --enable-sram --disable-debug

Libvo_aacens wasn't found.

I run ./configure without parameters and install it fine.

But when I run ffmpeg or ffconvert, I get the error:
Code:

sh-4.1# ffmpeg
ffmpeg: error while loading shared libraries: libvo-aacenc.so.0: cannot open shared object file: No such file or directory


What's the problem?

I hope somebody can help me... Shocked

Thanks!

Last edited by linus.cl on Mon 01 Sep 2014, 02:12; edited 2 times in total
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 876
Location: London, England

PostPosted: Sat 30 Aug 2014, 10:50    Post subject:  

What Puppy is this?
Some Puppies (eg Precise) have this lib but some don't.
Are you compiling libav or ffmpeg?
I think it needs to be compiled with the necessary configure options, but if your Pup does not have that lib then I presume you can just compile with --disable-libvo_aacenc or otherwise install the lib (plus the DEV package) before compiling libav.
Not sure why it is looking for that lib if you compile with no parameters. Often these things are auto-detected at build time. Maybe the default config is to assume the lib is there and try to link to it unless you specify to disable it.

_________________
Oscar in England

Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 71
Location: Germany

PostPosted: Sat 30 Aug 2014, 11:24    Post subject:  

My system: Puppy Slacko 5.7

I've tried to compile libdav, ffmpeg is already installed.

I need the libvo_aacens codec to start ffmpeg or ffconvert. It is very important!

I have compiled libav without parameters.
There was also no compiling error.

All other codecs was installed fine, but this codec isn't work.. Evil or Very Mad

I've search the codec libvo_aacens:
Code:

sh-4.1# cd /
sh-4.1# find -name 'libvo_aacens*'
sh-4.1# find -name 'libvo-aacens*'
sh-4.1#

But it wasn't found.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3904
Location: World_Hub

PostPosted: Sat 30 Aug 2014, 11:46    Post subject:  

Not sure they'll work but, *extract* the two files from this pkg and place them in /usr/lib.

With the devx loaded, you should be able to run "ldconfig" to update your library paths.

_________________
>>>Punctuation Crash Course<<<
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Sat 30 Aug 2014, 11:49    Post subject:  

linus.cl wrote:
I need the libvo_aacens codec to start ffmpeg or ffconvert.

No you don't. You can simply disable this library binding during the configuration of libav, as such -
Code:
--disable-libvo-aacenc


linus.cl wrote:
It is very important!

I disagree. Of several AAC encoding libraries that are available under Linux, and also compatible with ffmpeg, this is the worst quality.
If you have a compelling reason why you should use it ... please tell us what that reason is.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Sat 30 Aug 2014, 11:55    Post subject:  

Semme wrote:
*extract* the two files from this pkg and place them in /usr/lib.

Why from .deb??
Better to compile from source, for better binary compatibility with Puppy Slacko ...
... but see my previous comment. There are better AAC encoding libraries available. The aacenc library should not be necessary at all.
Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 71
Location: Germany

PostPosted: Sat 30 Aug 2014, 12:51    Post subject:  

Thank you, Semme.
I've extract the package in /usr/lib. Very Happy
Code:

sh-4.1# ffmpeg
ffmpeg: symbol lookup error: /usr/lib/libavcodec.so.53: undefined symbol: x264_encoder_open_124
sh-4.1# ldconfig
ldconfig: File /usr/lib/libglib-2.0.so.0.3200.4 is empty, not checked.
ldconfig: /usr/lib/libvo-aacenc.so.0 ist kein symbolischer Link


What about this errors?
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3904
Location: World_Hub

PostPosted: Sat 30 Aug 2014, 15:03    Post subject:  

Why? >> Because I've had a lot of requests satisfied this way.

While I agree about the compatibility bit, not everyone cares to get involved with the devx.

==

Now Linus.. Why do you think you need libvo_aacens codec support? For what purpose?

_________________
>>>Punctuation Crash Course<<<
Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 71
Location: Germany

PostPosted: Sat 30 Aug 2014, 15:34    Post subject:  

Previous I thougt that I need the codec.

But now I don't think so.

Now I have an other problem:

xorg can't load because /usr/lib removed -> look here: http://www.murga-linux.com/puppy/viewtopic.php?t=95494

Thanks
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 876
Location: London, England

PostPosted: Sat 30 Aug 2014, 15:38    Post subject:  

@ linus.cl
Slacko 5.7 has a fairly recent version of ffmpeg.
If you compile libav and just install it over the top you will probably cause lots of problems. It doesn't surprise me that you are seeing symbol errors. If you need to add support for additional codecs then you would be better to compile the codec libraries from source and then recompile the same version of ffmpeg from source but adding the new codecs to your configure options. Mixing ffmpeg and libav binaries and libraries in the standard paths is not a good idea.

_________________
Oscar in England

Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 71
Location: Germany

PostPosted: Sat 30 Aug 2014, 15:42    Post subject:  

Thank you!

I'll remove ffmpeg and compile libav and ffmpeg with the same version.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Sat 30 Aug 2014, 22:12    Post subject:  

linus.cl wrote:
Previous I thougt that I need the codec.
But now I don't think so.

Hoorah.

Semme wrote:
not everyone cares to get involved with the devx.

True indeed ... but the original poster is already compiling an application from source. Clearly, he does care to get involved with the devx.
For the record, the libvo-aacenc source code is here -
http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/

But more importantly, the missing library was indicative of a bigger problem - the application was not (properly) compiled for the distribution under which it was to eventually run. The correct process, as I tried to explain, is to properly configure the application by adding the libraries you truly need and disabling the libraries you don't need. How do you know? Research. Or ask on this forum.

Which leads us to the sad fact that we still don't know what the original poster wants to do. We were simply asked a series of technical steps, which the OP assumed were necessary.

linus.cl, what do you want to achieve with ffmpeg? Is there a particular codec that you want to decode? Or a particular codec you need to encode to?
Audio/video encoding is my everyday job. I can help you with the big picture, beyond the the technical minutiae of Linux compiling.
Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 71
Location: Germany

PostPosted: Sun 31 Aug 2014, 02:30    Post subject:  

I didn't know I can run ffmpeg without a codec.

I need ffmpeg for my video editing projects.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5258
Location: Australia

PostPosted: Sun 31 Aug 2014, 04:09    Post subject:  

What is a typical type of video file you would like to encode to?
Are such files to be used within your editing application? Or will the video file be used AFTER editing, to be sent to end-users - burnt as DVD or Blu-ray, or small filesize to be uploaded to the web?
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3904
Location: World_Hub

PostPosted: Sun 31 Aug 2014, 08:50    Post subject:  

Although wildly conspicuous, point taken.
Quote:
But the original poster is already compiling an application from source.

_________________
>>>Punctuation Crash Course<<<
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0824s ][ Queries: 11 (0.0060s) ][ GZIP on ]