ffmpeg -v error in tahr-6.0.6 (RESOLVED)

Booting, installing, newbie
Post Reply
Message
Author
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

ffmpeg -v error in tahr-6.0.6 (RESOLVED)

#1 Post by B.K. Johnson »

Code: Select all

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
Last edited by B.K. Johnson on Fri 01 Mar 2019, 14:56, edited 1 time in total.
[color=blue]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[/color]

r__hughes
Posts: 359
Joined: Thu 13 Apr 2006, 04:14
Location: Montreal, Canada

#2 Post by r__hughes »

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.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

Re: ffmpeg -v error in tahr-6.0.6

#3 Post by greengeek »

B.K. Johnson wrote:

Code: Select all

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: Select all

ffmpeg -version
or did you have some other function in mind?

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#4 Post by B.K. Johnson »

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:
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.
[color=blue]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[/color]

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#5 Post by B.K. Johnson »

@greengeek
Thanks for your interest.
I'll quote from my response to r_hughes:
I had been tracing an error in VideoDownload Helper which cited LIBAVUTIL_52 as not being available.
And the ffmpeg -v showed:
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?
[color=blue]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[/color]

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#6 Post by B.K. Johnson »

Hello all
A little bird whispered in my ear that tahrpup-6.0.6 was not an official offering. :oops: 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:
[color=blue]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[/color]

User avatar
a_salty_dogg
Posts: 180
Joined: Sun 15 Dec 2013, 19:08

#7 Post by a_salty_dogg »

@ 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: Select all

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.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#8 Post by greengeek »

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

Code: Select all

ffmpeg -version
Same result with that?

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#9 Post by B.K. Johnson »

Yeah greengeek, same result.

Code: Select all

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.
[color=blue]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[/color]

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#10 Post by B.K. Johnson »

a_salty_dogg wrote:
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"
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 :( .

And this:
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. :D :D :) Thanks.
[color=blue]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[/color]

Post Reply