(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 30 Sep 2020, 19:20
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
ffmpeg -v error in tahr-6.0.6 (RESOLVED)
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
B.K. Johnson

Joined: 12 Oct 2009
Posts: 810

PostPosted: Mon 25 Feb 2019, 12:56    Post subject:  ffmpeg -v error in tahr-6.0.6 (RESOLVED)  

Code:
root# ffmpeg -v
ffmpeg: relocation error: /usr/lib/libswresample.so.0: symbol av_calloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
root#

I haven't had to use ffmpeg ever, so I don't know if this malfunction has been in the O/S, but unnoticed.
What should I do?
TIA

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM


Last edited by B.K. Johnson on Fri 01 Mar 2019, 10:56; edited 1 time in total
Back to top
View user's profile Send private message 
r__hughes

Joined: 13 Apr 2006
Posts: 359
Location: Montreal, Canada

PostPosted: Thu 28 Feb 2019, 15:30    Post subject:  

It looks like "ffmpeg -v" is an incomplete set loglevel command which needs to be followed by a number(?). Hope this helps.

In my 32bit frugal slacko5.7 system I get the following:

The command
ffmpeg -version gives the following
-------------------------------------------
ffmpeg version 2.0
built on Jul 16 2013 10:17:34 with gcc 4.7.1 (GCC)
configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.100 / 55. 12.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 79.101 / 3. 79.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
--------------------------------------------

the command
ffmpeg -h gives the following
---------------------------------------------
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Getting help:
-h -- print basic options
-h long -- print more options
-h full -- print all options (including all format and codec specific options, very long)
See man ffmpeg for detailed description of the options.

Print help / information / capabilities:
-L show license
-h topic show help
-? topic show help
-help topic show help
--help topic show help
-version show version
-formats show available formats
-codecs show available codecs
-decoders show available decoders
-encoders show available encoders
-bsfs show available bit stream filters
-protocols show available protocols
-filters show available filters
-pix_fmts show available pixel formats
-layouts show standard channel layouts
-sample_fmts show available audio sample formats

Global options (affect whole program instead of just one file:
-loglevel loglevel set logging level
-v loglevel set logging level
-report generate a report
-max_alloc bytes set maximum size of a single allocated block
-y overwrite output files
-n do not overwrite output files
-stats print progress report during encoding
-bits_per_raw_sample number set the number of bits per raw sample
-vol volume change audio volume (256=normal)

Per-file main options:
-f fmt force format
-c codec codec name
-codec codec codec name
-pre preset preset name
-map_metadata outfile[,metadata]:infile[,metadata] set metadata information of outfile from infile
-t duration record or transcode "duration" seconds of audio/video
-to time_stop record or transcode stop time
-fs limit_size set the limit file size in bytes
-ss time_off set the start time offset
-timestamp time set the recording timestamp ('now' to set the current time)
-metadata string=string add metadata
-target type specify target file type ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd", ...)
-apad audio pad
-frames number set the number of frames to record
-filter filter_graph set stream filtergraph
-filter_script filename read stream filtergraph description from a file
-reinit_filter reinit filtergraph on input parameter changes

Video options:
-vframes number set the number of video frames to record
-r rate set frame rate (Hz value, fraction or abbreviation)
-s size set frame size (WxH or abbreviation)
-aspect aspect set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
-bits_per_raw_sample number set the number of bits per raw sample
-vn disable video
-vcodec codec force video codec ('copy' to copy stream)
-timecode hh:mm:ss[:;.]ff set initial TimeCode value.
-pass n select the pass number (1 to 3)
-vf filter_graph set video filters
-b bitrate video bitrate (please use -b:v)
-dn disable data

Audio options:
-aframes number set the number of audio frames to record
-aq quality set audio quality (codec-specific)
-ar rate set audio sampling rate (in Hz)
-ac channels set number of audio channels
-an disable audio
-acodec codec force audio codec ('copy' to copy stream)
-vol volume change audio volume (256=normal)
-af filter_graph set audio filters

Subtitle options:
-s size set frame size (WxH or abbreviation)
-sn disable subtitle
-scodec codec force subtitle codec ('copy' to copy stream)
-stag fourcc/tag force subtitle tag/fourcc
-fix_sub_duration fix subtitles duration
-canvas_size size set canvas size (WxH or abbreviation)
-spre preset set the subtitle options to the indicated preset
---------------------------------------------

_________________
--- quad booting Slacko57NPAE, Slacko56NPAE, Slacko55PAE (with OO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5834
Location: Republic of Novo Zelande

PostPosted: Fri 01 Mar 2019, 03:24    Post subject: Re: ffmpeg -v error in tahr-6.0.6  

B.K. Johnson wrote:
Code:
root# ffmpeg -v
ffmpeg: relocation error: /usr/lib/libswresample.so.0: symbol av_calloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
root#

I haven't had to use ffmpeg ever, so I don't know if this malfunction has been in the O/S, but unnoticed.
What should I do?
TIA
First question - what were you trying to achieve with "ffmpeg -v"?

Were you actually trying to check the version:
eg:
Code:
ffmpeg -version


or did you have some other function in mind?
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 810

PostPosted: Fri 01 Mar 2019, 10:15    Post subject:  

r__hughes
Thanks for your in depth reply.
I had tried -v, ---version , -h and ---help and getting the same result.

I had been tracing an error in VideoDownload Helper which cited LIBAVUTIL_52 as not being available. So when the version and help arguments for ffmpeg showed it I wanted to dig deeper, starting with the version.

If not mistaken, peebee's upupbb and upupcc come with 4.9.96. In this post, peebee states:
Quote:
note: ndiswrapper is not directly available as all builds crash under kernel 4.9

He therefore directed users to a pet for 3.16.45.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 810

PostPosted: Fri 01 Mar 2019, 10:30    Post subject:  

@greengeek
Thanks for your interest.
I'll quote from my response to r_hughes:
Quote:
I had been tracing an error in VideoDownload Helper which cited LIBAVUTIL_52 as not being available.
And the ffmpeg -v showed:
Quote:
LIBAVUTIL_52 not defined in file libavutil.so.52
Checking the version of ffmpeg was supposed to be the start of an investigation. What version was installed? What version should I seek to replace what is extant?
_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 810

PostPosted: Fri 01 Mar 2019, 10:55    Post subject:  

Hello all
A little bird whispered in my ear that tahrpup-6.0.6 was not an official offering. Embarassed I should have been alerted of this by the absence of comment from the usual responsive peebee Wink . So, a bad implementation can be possible and pardonable.

Accordingly, I'll consider this thread closed and now dump 6.0.6, tackle Archer TP-Link T4UH, ndiswrapper and upupbb, hopefully with a operational ffmpeg so my VideoDownloadHelper woes can go away. Wink

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
a_salty_dogg


Joined: 15 Dec 2013
Posts: 181

PostPosted: Fri 01 Mar 2019, 11:54    Post subject:  

@ B.K. Johnson,

My understanding is that ffmpeg hasn't been installed by default in recent Puppies, until it was (re?)introduced with the release of UPupBB.

However you can install "ffmpeg 3.2.2-static" in Tahrpups, though be warned, with dependencies it's a huge install, from memory upwards of 55 MB.

I installed it a long time ago in Unicornpup (which I believe is based on Tahr 6.0?) in order to enable full functioning of all get_iplayer's features.

Libavutil with it installed shows as version
Code:
libavutil      55. 34.100 / 55. 34.100


You can find a .pet for it here, made available courtesy of rockedge, where he specifies it will work in Tahr 6.05 and 6.06.
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 5834
Location: Republic of Novo Zelande

PostPosted: Fri 01 Mar 2019, 13:30    Post subject:  

B.K. Johnson wrote:
I had tried -v, ---version , -h and ---help and getting the same result.


What about:
Code:
ffmpeg -version

Same result with that?
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 810

PostPosted: Fri 01 Mar 2019, 13:58    Post subject:  

Yeah greengeek, same result.
Code:
root# ffmpeg -version
ffmpeg: relocation error: /usr/lib/libswresample.so.0: symbol av_calloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
root# ffmpeg --version
ffmpeg: relocation error: /usr/lib/libswresample.so.0: symbol av_calloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
root# ffmpeg ---version
ffmpeg: relocation error: /usr/lib/libswresample.so.0: symbol av_calloc, version LIBAVUTIL_52 not defined in file libavutil.so.52 with link time reference
root#

But as inferred in an earlier post, this is flogging a dead horse - unsupported puppy.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 810

PostPosted: Fri 01 Mar 2019, 14:33    Post subject:  

a_salty_dogg wrote:
Quote:
My understanding is that ffmpeg hasn't been installed by default in recent Puppies until it was (re?)introduced with the release of UPupBB.

A working ffmpeg in upupbb is confirmed, meaning the version and help arguments do not produce an error. Wink

You added"
Quote:
However you can install "ffmpeg 3.2.2-static" in Tahrpups, ...

Thanks for the suggestion, but I'll pass on it:) - may not be worth the effort considering that I'm moving on from tahr-6.0.6, now that I know it's unsupported Sad .

And this:
Quote:
You can find a .pet for it here, made available courtesy of rockedge, where he specifies it will work in Tahr 6.05 and 6.06.

Now, this I'll install. Very Happy Very Happy Smile Thanks.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0583s ][ Queries: 11 (0.0088s) ][ GZIP on ]