Libx264 O Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might undefined reference to x264_encoder_open_142 have Meta Discuss the workings and policies of this site About libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_148' Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads undefined reference to `x264_encoder_open_146' with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million
Ffmpeg X264
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Yet another ffmpeg/libx264 issue up vote 1 down vote favorite My current situation is; ffmpeg and libx264 has been compiled for Android, as shared and static libraries respectively. Since I have libx264.a and libffmpeg.so with me, only thing that ffmpeg install remains is to link them and obtain a ffmpeg library that would allow me to proceed with my application. However, some questions remain unanswered. I am using Ubuntu with a virtual machine under Windows 7. I am using x264's last version, ffmpeg 0.10.4 release and NDK 7. I have tried to adjust flags (extracf and extrald) in order to include libx264 to ffmpeg compilation process as well, however I keep failing. Below you may find my build script for ffmpeg and the errors I have encountered. NDK=~/Android_NDK_r7b PLATFORM=$NDK/platforms/android-8/arch-arm/ PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86 x264=/usr/local #x264v2=~/x264 function build_one { ./configure --target-os=linux \ --prefix=$PREFIX \ --enable-cross-compile \ --extra-libs="-lgcc" \ --arch=arm \ --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \ --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \ --nm=$PREBUILT/bin/arm-linux-androideabi-nm \ --sysroot=$PLATFORM \ # --extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS " \ --extra-cflags="-I$x264/include" \ --enable-shared \ --enable-static \ #--extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \ --extra-ldflags="-L$x264/lib" \ --disable-everything \ # --enable-demuxer=mov \ # --enable-demuxer=h264 \ # --disable-ffplay \ --enable-gpl \ --enable-libx264 \ # --enable-protocol=file \ # --enable-avformat
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] ffmpeg installation problem Having an Issue With Posting ? Do you want to help us http://stackoverflow.com/questions/12200172/yet-another-ffmpeg-libx264-issue debug the posting issues ? < is the place to report it, thanks ! Results 1 to 9 of 9 Thread: ffmpeg installation problem Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode March 22nd, 2011 #1 nkdnkd View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Mar 2011 Beans https://ubuntuforums.org/showthread.php?t=1712267 25 ffmpeg installation problem hi all, I am trying to install ffmpeg and the x264 codecs using this guide http://ubuntuforums.org/showthread.php?t=786095 However, I ran into some trouble with the make step of the ffmpeg compilation. The error reads as under :- nishith@nishith-Aspire-4720:~/ffmpeg$ make LD ffmpeg_g /home/nishith/ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_init': /home/nishith/x264/ffmpeg/libavcodec/libx264.c:308: undefined reference to `x264_encoder_open_114' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1 can someone plz advice me what to do ? btw the dir structure is as under /home/nishith/x264 -- after a okay compilation and installation /home/nishith/ffmpeg -- the config step worked fine but the make is giving above error. thanks in advance nishith Adv Reply March 22nd, 2011 #2 FakeOutdoorsman View Profile View Forum Posts Private Message 5 Pints of Stout Join Date Sep 2006 Beans 3,713 Re: ffmpeg installation problem I am guessing that libx264-dev is interfering. The first step of the guide should have removed this package. Did you skip that step? Did you follow the guide word-for-word or did you modify anything? What Ubuntu version are you using? Try this: Code: sudo apt-get remove libx264-dev cd ~/ffmpeg make distclean git pull Now continue with the FFmp
[PATCH] encoder: copy https://mailman.videolan.org/pipermail/x264-devel/2015-March/011002.html VUI params in reconfigure Messages sorted by: [ date ] [ thread ] [ subject http://www.ozbotz.org/opencv-installation/ ] [ author ] Hi, All, I built the libx264.a with ./configure --disable-cli --enable-static. But undefined reference when I used it in another project, there was a link error: libx264.a(common.o) : error LNK2001: unresolved external symbol _strcasecmp. In Osdep.h:51, within the #ifdef _MSC_VER section, "#define strcasecmp _stricmp". undefined reference to But I found that _MSC_VER was NOT defined while compiling. I tried to change it into "#ifdef _WIN32", there are some warnings but it DID succeed. Did I miss something? Looking forward to your comments on it. Thanks. Xing Yanchao -------------- next part -------------- An HTML attachment was scrubbed... URL:
Square Wave » A Comprehensive Guide to Installing and Configuring OpenCV 2.4.2 on Ubuntu June 6th, 2012 | Posted by Osman Eralp | 163 comments - (Comments are closed)Software Tags: opencv, software, ubuntu This guide describes how to install and configure OpenCV 2.4.2 and its dependencies on Ubuntu 12.04. This guide includes instructions for both 32-bit and 64-bit systems. Revision History: [2012-09-12] Updated guide to work with OpenCV 2.4.2. Updated ffmpeg section: ffmpeg 0.11.1 now requires -pic option on 64-bit systems. [2012-06-05] Updated guide to work with OpenCV 2.4.1 and Ubuntu 12.04. Added instructions for 64-bit systems. [2011-08-11] Initial version. Worked with OpenCV 2.3.1 and Ubuntu 11.10. Archived here. If you need help troubleshooting OpenCV installation problems, see the companion guide “A Comprehensive OpenCV Installation Troubleshooting Guide.” The Installation Procedure To install and configure OpenCV 2.4.1, complete the following steps. The commands shown in each step can be copy and pasted directly into a Linux command line. Remove any installed versions of ffmpeg and x264. sudo apt-get remove ffmpeg x264 libx264-dev Get all the dependencies for x264 and ffmpeg. sudo apt-get update
sudo apt-get install build-essential checkinstall git cmake libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev texi2html yasm zlib1g-dev Download and install gstreamer. sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg Download and install gtk. sudo apt-get install libgtk2.0-0 libgtk2.0-dev Download and install libjpeg. sudo apt-get install libjpeg8 libjpeg8-de