You are not logged in.

#1 2013-08-24 23:58:27

VNelectric
Member
From: Houston, TX
Registered: 2013-08-24
Posts: 2

ffmpeg-full installation

Hi, I have a laptop running 32-bit Arch Linux. Trying to install ffmpeg-full through the AUR repo at the moment.

I have installed all dependencies, along with AUR dependencies. One of the AUR dependency is shine.

Here is my output for "makepkg" in ffmpeg-full folder after all dependencies have been installed:

user@server ~/Documents/Packages/ffmpeg-full % makepkg
==> Making package: ffmpeg-full 1:2.0.1-1 (Sat Aug 24 18:09:50 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ffmpeg-2.0.1.tar.bz2
  -> Found UNREDISTRIBUTABLE.txt
==> Validating source files with sha256sums...
    ffmpeg-2.0.1.tar.bz2 ... Passed
    UNREDISTRIBUTABLE.txt ... Passed
==> Extracting sources...
  -> Extracting ffmpeg-2.0.1.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
==> Starting configure...
ERROR: shine not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
==> ERROR: A failure occurred in build().
    Aborting...
makepkg  12.62s user 4.21s system 41% cpu 40.389 total

here is the tail of config.log in ffmpeg-full/src/ffmpeg-full-2.0.1/config.log:

gcc -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -std=c99 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/opus -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -c -o /tmp/ffconf.otPPcvb8.o /tmp/ffconf.GMlouizO.c
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,--as-needed -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -o /tmp/ffconf.plRgXN2D /tmp/ffconf.otPPcvb8.o -lschroedinger-1.0 -lrtmp -lz -lssl -lcrypto -lquvi -lpulse-simple -lpulse -lopus -lopenjpeg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lmodplug -lgsm -lgme -lfreetype -lfdk-aac -lfaac -lcaca -lcelt0 -lcelt0 -lbluray -lass -laacplus -lraw1394 -lavc1394 -lrom1394 -liec61883 -lgnutls -lfontconfig -lm -pthread -lbz2 -lz
check_pkg_config shine shine/layer3.h shine_encode_frame
check_func_headers shine/layer3.h shine_encode_frame -lm -lshine
check_ld cc -lm -lshine
check_cc
BEGIN /tmp/ffconf.GMlouizO.c
    1	#include <shine/layer3.h>
    2	long check_shine_encode_frame(void) { return (long) shine_encode_frame; }
    3	int main(void) { return 0; }
END /tmp/ffconf.GMlouizO.c
gcc -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -std=c99 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/opus -D_REENTRANT -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -c -o /tmp/ffconf.otPPcvb8.o /tmp/ffconf.GMlouizO.c
/tmp/ffconf.GMlouizO.c: In function 'check_shine_encode_frame':
/tmp/ffconf.GMlouizO.c:2:53: error: 'shine_encode_frame' undeclared (first use in this function)
 long check_shine_encode_frame(void) { return (long) shine_encode_frame; }
                                                     ^
/tmp/ffconf.GMlouizO.c:2:53: note: each undeclared identifier is reported only once for each function it appears in
ERROR: shine not found

It was suggested that I use the latest version from git. Which I'm guessing means the ffmpeg-full-git package. I'm just not sure what the differences between the two packages are.

Thanks,

An Nguyen

Offline

#2 2013-08-25 00:35:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,501
Website

Re: ffmpeg-full installation

VNelectric wrote:

It was suggested that I use the latest version from git. Which I'm guessing means the ffmpeg-full-git package. I'm just not sure what the differences between the two packages are.

Where was this suggested, or by whom?  And can you clarify the question?  The git version is just that, it gets the current development code rather than the last stable snapshot.

As for the shine issue, what is the output of the following:

pacman -Ql shine
pkg-config --cflags --libs shine

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-08-25 02:00:33

VNelectric
Member
From: Houston, TX
Registered: 2013-08-24
Posts: 2

Re: ffmpeg-full installation

for pacman -Ql shine is

shine /usr/
shine /usr/bin/
shine /usr/bin/shineenc
shine /usr/include/
shine /usr/include/shine/
shine /usr/include/shine/layer3.h
shine /usr/lib/
shine /usr/lib/libshine.a
shine /usr/lib/libshine.so
shine /usr/lib/libshine.so.3
shine /usr/lib/libshine.so.3.0.0
shine /usr/lib/pkgconfig/
shine /usr/lib/pkgconfig/shine.pc

Output of pkg-config --cflags --libs shine

-lm -lshine

The git thing was suggested with this part of the configure file output:

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.

The #ffmpeg irc helped out and I deleted the "--enable-libshine" line. Reasoning was that shine is another mp3 encoder, and --enable-libmp3lame was already there. Correct me if this reasoning was wrong. I installed ffmpeg on this computer to convert video between video codecs so hopefully this won't be a problem.

Thanks

Offline

#4 2013-08-25 11:35:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,501
Website

Re: ffmpeg-full installation

Ah, that ffmpeg does seem to be built against a different (older?) version of shine.  So the git version probably would work - have you tried it?

I'm curious which video codecs you need to convert between.  Does the regular ffmpeg in the repos not handle those codecs?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-08-26 20:15:42

DrZaius
Member
Registered: 2008-01-02
Posts: 193

Re: ffmpeg-full installation

VNelectric wrote:

Trying to install ffmpeg-full through the AUR repo at the moment.

Nobody should need "everything" enabled. I'm also curious as to why you would use this package instead of ffmpeg from the repo or using ABS if you want to enable libfdk_aac or some other non-free encoder.

Offline

Board footer

Powered by FluxBB