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 01 Oct 2014, 16:30
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 Posts_count   Goto page: 1, 2 Next
Author Message
linus.cl

Joined: 02 Apr 2014
Posts: 79
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!

Edited_times_total
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
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: 79
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: 3938
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: 5263
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: 5263
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: 79
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: 3938
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: 79
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: 884
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: 79
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: 5263
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: 79
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: 5263
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: 3938
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:   Sort by:   
Page 1 of 2 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0798s ][ Queries: 11 (0.0036s) ][ GZIP on ]