LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2010, 10:26 PM   #1
whitewa
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
ffmpeg-libpostproc


Hello everyone I am fairly new to SlackWare and I have been working to install transcode. I keep running into a problem when I execute the slack build script. I have installed ffmpeg and other dependencies it asked for, but I cannot figure out where to get libpostproc as it doesn't seem to come with the ffmpeg package.

patching file export/export_jpg.c
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking target system type... x86_64-slackware-linux-gnu
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of gcc... gcc3
checking for gawk... /bin/gawk
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for standard header files... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking __attribute__((...)) support... yes
checking __attribute__((aligned())) support... 64
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for getopt_long_only... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for mmap... yes
checking for strlcat... no
checking for strlcpy... no
checking for strtof... yes
checking for vsscanf... yes
checking for sysconf(_SC_PAGESIZE)... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for pthreads in -lpthread... yes
checking for build architecture... AMD64 architecture (AMD64)
checking if $CC groks MMX inline assembly... yes
checking if $CC groks 3DNow inline assembly... yes
checking if $CC groks SSE inline assembly... yes
checking if $CC can handle SSE2 inline asm... yes
checking if $CC groks AltiVec inline assembly... no
checking if $CC groks AltiVec C extensions... no
checking if linker needs -framework vecLib...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for X... libraries /usr/lib64, headers
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XvQueryExtension in -lXv... yes
checking for XShmQueryExtension in -lX11... yes
checking X11/Xaw/Simple.h usability... yes
checking X11/Xaw/Simple.h presence... yes
checking for X11/Xaw/Simple.h... yes
checking for XpmFreeAttributes in -lXpm... yes
checking for gzopen in -lz... yes
checking for sin in -lm... yes
checking for ffmpeg support... requested
Package libavcodec was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavcodec.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavcodec' found
checking for pkgconfig support for libavcodec... no
checking how to determine LIBAVCODEC_CFLAGS... default
checking libavcodec/avcodec.h usability... no
checking libavcodec/avcodec.h presence... no
checking for libavcodec/avcodec.h... no
checking how to determine LIBAVCODEC_LIBS... default
checking for avcodec_thread_init in -lavcodec... no
Package libavformat was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavformat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavformat' found
checking for pkgconfig support for libavformat... no
checking how to determine LIBAVFORMAT_CFLAGS... default
checking libavformat/avformat.h usability... no
checking libavformat/avformat.h presence... no
checking for libavformat/avformat.h... no
checking how to determine LIBAVFORMAT_LIBS... default
checking for av_register_all in -lavformat... no
checking whether libv4l2 support is requested... yes
checking for LIBV4L2... yes
checking whether libv4lconvert support is requested... yes
checking for LIBV4LCONVERT... yes
checking whether libmpeg2 support is requested... no
checking whether libmpeg2convert support is requested... no
checking enable new or experimental components... no
checking enable deprecated components... no
checking for internal static framebuffer support... yes
checking whether v4l support is requested... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for linux/videodev2.h... yes
checking for struct v4l2_buffer in videodev2.h... no
checking whether bktr support is requested... no
checking whether sunau support is requested... no
checking whether OSS support is requested... no
checking whether ALSA support is requested... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking encore2.h usability... no
checking encore2.h presence... no
checking for encore2.h... no
checking whether libpostproc support is requested... yes
checking for LIBPOSTPROC... no
checking whether freetype2 support is requested... yes
checking for FREETYPE2... yes
checking whether lame support is requested... yes
checking for pkgconfig support for lame... no
checking how to determine LAME_CFLAGS... default
checking how to determine LAME_LIBS... default
checking for lame_init in -lmp3lame... yes
checking lame/lame.h usability... yes
checking lame/lame.h presence... yes
checking for lame/lame.h... yes
checking lame version... 398
checking whether xvid support is requested... no
checking whether x264 support is requested... no
checking whether ogg support is requested... yes
checking for OGG... yes
checking whether vorbis support is requested... yes
checking for VORBIS... yes
checking whether theora support is requested... yes
checking for THEORA... yes
checking whether libdvdread support is requested... yes
checking for pkgconfig support for libdvdread... no
checking how to determine LIBDVDREAD_CFLAGS... default
checking how to determine LIBDVDREAD_LIBS... default
checking for DVDOpen in -ldvdread... yes
checking dvdread/dvd_reader.h usability... yes
checking dvdread/dvd_reader.h presence... yes
checking for dvdread/dvd_reader.h... yes
checking whether pvm3 support is requested... no
checking whether libdv support is requested... no
checking whether libquicktime support is requested... no
checking whether lzo support is requested... yes
checking for pkgconfig support for lzo... no
checking how to determine LZO_CFLAGS... default
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking how to determine LZO_LIBS... default
checking for lzo_version in -llzo2... yes
checking whether a52 support is requested... no
checking whether faac support is requested... no
checking whether libxml2 support is requested... yes
checking for LIBXML2... yes
checking whether ibp and lors support is requested... no
checking whether mjpegtools support is requested... no
checking whether sdl support is requested... yes
checking for SDL... yes
checking whether imagemagick support is requested... yes
checking for pkgconfig support for imagemagick... yes
checking how to determine IMAGEMAGICK_CFLAGS... pkg-config
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking how to determine IMAGEMAGICK_LIBS... pkg-config
checking wand/magick-wand.h usability... yes
checking wand/magick-wand.h presence... yes
checking for wand/magick-wand.h... yes
checking whether libjpegmmx support is requested... no
checking whether libjpeg support is requested... yes
checking for pkgconfig support for libjpeg... no
checking how to determine LIBJPEG_CFLAGS... default
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking how to determine LIBJPEG_LIBS... default
checking for jpeg_CreateCompress in -ljpeg... yes
checking whether bsdav support is requested... no
checking whether iconv support is requested... yes
checking for pkgconfig support for iconv... no
checking how to determine ICONV_CFLAGS... default
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking how to determine ICONV_LIBS... default
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -lc... yes
checking for PV3 support... no
checking for NuppelVideo support... configure: WARNING: NuppelVideo support on x86_64 platform is ***EXPERIMENTAL***
yes
checking if gcc supports -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -fPIC flags... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating aclib/Makefile
config.status: creating avilib/Makefile
config.status: creating docs/Makefile
config.status: creating docs/html/Makefile
config.status: creating docs/man/Makefile
config.status: creating docs/pvm3/Makefile
config.status: creating docs/tech/Makefile
config.status: creating docs/tech/html/Makefile
config.status: creating encode/Makefile
config.status: creating export/Makefile
config.status: creating filter/Makefile
config.status: creating filter/divxkey/Makefile
config.status: creating filter/extsub/Makefile
config.status: creating filter/preview/Makefile
config.status: creating filter/subtitler/Makefile
config.status: creating filter/tomsmocomp/Makefile
config.status: creating filter/yuvdenoise/Makefile
config.status: creating filter/stabilize/Makefile
config.status: creating import/Makefile
config.status: creating import/framegen/Makefile
config.status: creating import/nuv/Makefile
config.status: creating import/v4l/Makefile
config.status: creating multiplex/Makefile
config.status: creating libdldarwin/Makefile
config.status: creating libtc/Makefile
config.status: creating libtcaudio/Makefile
config.status: creating libtcvideo/Makefile
config.status: creating pvm3/Makefile
config.status: creating src/Makefile
config.status: creating testsuite/Makefile
config.status: creating tools/Makefile
config.status: creating transcode.spec
config.status: creating filter/parse_csv.awk
config.status: creating filter/filter_list.awk
config.status: creating config.h
config.status: executing depfiles commands

----------------------------------------
Summary for transcode 1.1.5:
----------------------------------------

core options
----------------------------------------
enable experimental code no
enable deprecated code no
static AV-frame buffering yes
A52 default decoder no
FFmpeg support yes

ffmpeg libraries
----------------------------------------
libavcodec build
libavcodec version
libavformat build
libavformat version

hardware support
----------------------------------------
v4l/v4l2 yes
ALSA yes
OSS no
bktr no
sunau no

optional module support
----------------------------------------
PV3 no
NuppelVideo yes

optional package support
----------------------------------------
IBP (libxio) no
X11 yes
Xv extension yes
Xshm extension yes
Xaw library yes
Xpm library yes

libv4l2 yes
libv4lconvert yes
libmpeg2 no
libmpeg2convert no
libpostproc no
freetype2 yes
lame yes
xvid no
x264 no
ogg yes
vorbis yes
theora yes
libdvdread yes
pvm3 no
libdv no
libquicktime no
lzo yes
a52 no
faac no
libxml2 yes
mjpegtools no
sdl yes
imagemagick yes
libjpeg yes
bsdav no
iconv yes


ERROR: option '--enable-libpostproc' failed:
libpostproc can be found in the following packages:
libpostproc http://ffmpeg.mplayerhq.hu/



Please see the INSTALL file in the top directory of the
transcode sources for more information about building
transcode with this configure script.



Any help would be greatly appreciated. I almost gave up but after figuring out how to use the slackbuilds things were much easier. Just can't seem to figure this out. I installed ffmpeg from the script on slackbuilds.org. The error indicates that libpostproc can be found on ffmpeg.mplayerhq.hu, however I haven't been able to find it and when I install ffmpeg it doesn't seem to have it either.

I am running Slackware 13.1 64 bit

Last edited by whitewa; 12-06-2010 at 10:32 PM. Reason: version of slackware running:
 
Old 12-06-2010, 11:26 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
libpostproc can be found in the following packages:
libpostproc http://ffmpeg.mplayerhq.hu/

Have you checked to see whether it's offered as an independent package? Debian has it as libpostproc51.
 
Old 12-07-2010, 11:20 AM   #3
whitewa
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I have found it for several distros but have been unable to find the individual package for any version of slackware
 
Old 12-07-2010, 01:01 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think you need ffmpeg compiled with '--enable-postproc'.
 
Old 12-07-2010, 06:29 PM   #5
whitewa
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Okay so here is what I have figured out thus far. ffmpeg did install libpostproc in /usr/local/src/ffmpeg/libpostproc however transcode is not finding it. I tried making a directory called /usr/include/libpostproc and copying all files form usr/local/src/ffmpeg/libpostproc to it, but it didn't work. Any help would be greatly appreciated.
 
Old 12-08-2010, 02:35 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Install ffmpeg to '/usr'. So use './configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't configure xine; no libpostproc found, even though it is there SiliconBadger Linux - Software 3 06-13-2012 09:30 PM
ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or dir darkstarbyte Linux - Software 7 12-29-2010 05:45 PM
Install FFMPEG and FFMPEG-PHP on fedora10 & 12 cks Linux - Server 2 09-17-2010 01:55 PM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration