Home > Undefined Reference > Libavcodec Libx264 O Error 1

Libavcodec Libx264 O Error 1


Guy Osman Eralp January 4, 2013 at 1:25 pm Glad to hear you got it working! Tango Icons Tango Desktop Project. After fixing the two problems, build opencv again. The "\" operator does not work from comments. http://cdbug.org/undefined-reference/libavcodec-libx264-o-error.php

Osman Eralp June 19, 2012 at 8:18 pm Try using the instructions for 64 bit systems. any idea? ../../lib/libopencv_highgui.so.2.4.1: undefined reference to `avpriv_vorbis_parse_extradata' ../../lib/libopencv_highgui.so.2.4.1: undefined reference to `av_des_init' ../../lib/libopencv_highgui.so.2.4.1: undefined reference to `av_rc4_crypt' ../../lib/libopencv_highgui.so.2.4.1: undefined reference to `av_aes_crypt' ../../lib/libopencv_highgui.so.2.4.1: undefined reference to `av_des_mac' ../../lib/libopencv_highgui.so.2.4.1: undefined reference to Make sure ran the "cd" command as shown in step 7a. 2. Any ideas what causes that? –kerim yucel Aug 30 '12 at 20:30 Welcome.If this helped accept the answer and ask a seperate one so that others can also join website here

Libavcodec/libavcodec.so: Undefined Reference To `x264_encoder_open_148'

Perfectly smooth installation. There might be an incompatibility. Ike December 9, 2012 at 10:03 am Yes I'm in the directory and Have seen the Makefile Ike December 9, 2012 at 10:19 am What do i do with the makefile.

User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. I was able to build ffmpeg by following steps 1 to 8. what could be the solution. Ffmpeg Install dvb-v5.h:69:9: error: ‘NULL’ undeclared here (not in a function) In file included from dvb-fe.c:21:0: dvb-v5-std.h:167:2: error: initializer element is not constant dvb-v5-std.h:167:2: error: (near initialization for ‘dvbv5_attr_names[0]’) … dvb-v5-std.h:167:2: error: initializer

This is interesting. –kerim yucel Aug 30 '12 at 22:08 Might be permissions issues also. Undefined Reference To X264_encoder_open_142 When decerasing -qp the quality get's better but the file will be inadequate larger. asked 4 years ago viewed 1156 times active 2 years ago Linked 0 libx264 encoder error in ffmpeg android build Related 1Builing ffmpeg with libx264 enabled on cygwin0“File descriptor in bad Osman Eralp July 7, 2012 at 7:49 am I have not seen this error before.

RAJ June 26, 2012 at 6:52 am hi i have an error while building opencv 241 i am using ubuntu 12.04 64 bit can u please explain me thanks in advance Giang November 6, 2012 at 9:20 pm I have sloved this problem. rui October 6, 2012 at 7:57 am Hi. Thanks a lot, Osman Eralp December 20, 2012 at 12:40 pm You have two separate problems: 1.

Undefined Reference To X264_encoder_open_142

This should work:
CvVideoWriter* videoOut = cvCreateVideoWriter(
30, // fps. I get the same error mentioned above. Libavcodec/libavcodec.so: Undefined Reference To `x264_encoder_open_148' Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Undefined Reference To `x264_encoder_open_146' thanks for the post!

Did you skip that step? http://cdbug.org/undefined-reference/libx264-o-error.php If you still have an error, try removing the OpenCV build directory and creating a new build directory. Thanks Osman for the post! I'm sure it will work this time. Ffmpeg X264

Did you try it? 2015-04-03 15:32 GMT+03:00 aRUNTU : … Hi, any hint about this???: ***@***.***:/etc/aruntu-extras/programs/FFmpeg-Cedrus-master$ sudo make -j2 && sudo make install LD ffmpeg_g libavcodec/libavcodec.a(cedrus264.o): In function cedrus264_encode_init': /etc/aruntu-extras/programs/FFmpeg-Cedrus-master/libavcodec/cedrus264.c:218: undefined collect2: ld returned 1 exit status make[2]: *** [bin/opencv_perf_imgproc] Error 1 make[1]: *** [modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/all] Error 2 make: *** [all] Error 2 Thanks Alex August 13, 2012 at 6:29 am Hey, thanks Ivan June 13, 2012 at 11:14 am SOLVED! this content EDIT I have deleted the comments and now obtain the following. ./buildnew.sh: 4: ./buildnew.sh: function: not found ERROR: libx264 not found Above error is observed from the terminal when I run

With one glitch, which I appear to have surmounted: for some reason it, the package install command failed to install all the lib*.so files in my /usr/local/lib directory. Use "apt-cache search ffmpeg" to see if other versions of ffmpeg are installed. Cheers -E Prakhar January 22, 2013 at 8:49 am I tried compiling the basic program to load and display an image the result was: g++ `pkg-config opencv -cflags` p1.cpp -o p1

I am presently getting the following error after I followed the steps suggested in the above post :- CC libavformat/rtspdec.o libavformat/rtspdec.c: In function ‘rtsp_read_play': libavformat/rtspdec.c:62: error: expected expression before ‘<<' token

In other words , how do I execute/run an OpenCV program. I would be very grateful if you could help me resolve this issue. Any hints? As others have noted, you might want to use -enable-shared on the library deps.

However, I don't think you need to do this. Mike Duffy December 21, 2012 at 2:31 pm Great guide. Thanks in advance, Amey rafrouf August 21, 2012 at 2:42 pm I use the guide step by step but when I compile my file.cpp using Qt. have a peek at these guys however, there is no such folder in src.

this means that the ./configure did work, doesnt it?) Any idea what should be the problem now? However, just for knowledge purpose, can you please tell how to use cmake to compile programs instead of this method ? cd ~/src

wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120528-2245-stable.tar.bz2

tar xvf x264-snapshot-20120528-2245-stable.tar.bz2

cd x264-snapshot-20120528-2245-stable Configure and build the x264 libraries. ./configure --enable-static
sudo make install IMPORTANT: If you are running a 64-bit version But the problem is whenever I execute the command [email protected]:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast

Mayank December 28, 2012 at 3:18 am Hey Osman, I installed OpenCV 2.4.3 by following your procedure. libavcodec/libavcodec.a(libx264.o): In function `X264_frame': /home/mehmet/ffmpeg-0.10.4/libavcodec/libx264.c:159: undefined reference to `x264_picture_init' /home/mehmet/ffmpeg-0.10.4/libavcodec/libx264.c:179: undefined reference to `x264_encoder_reconfig' /home/mehmet/ffmpeg-0.10.4/libavcodec/libx264.c:191: undefined reference to `x264_encoder_encode' /home/mehmet/ffmpeg-0.10.4/libavcodec/libx264.c:197: undefined reference to `x264_encoder_delayed_frames' libavcodec/libavcodec.a(libx264.o): In function `encode_nals': /home/mehmet/ffmpeg-0.10.4/libavcodec/libx264.c:196: undefined reference That means going back to steps 7 and 8 where you built x264 and ffmpeg. It simplified my job.

Name spelling on publications Red balls and Rings Yinipar's first letter with low quality when zooming in Public huts to stay overnight around UK Referee did not fully understand accepted paper Osman Eralp November 6, 2012 at 9:42 am Yes, it matters 🙂 There are three possibilities: 1. I can see the webcam for example with cheese webcam… (using ubuntu 12.04, opencv 3.4.1) Thanks Osman Eralp August 13, 2012 at 6:59 am Here's a couple ideas: 1. please help me!

Thanks for the info. thanks nkd Adv Reply March 24th, 2011 #4 FakeOutdoorsman View Profile View Forum Posts Private Message 5 Pints of Stout Join Date Sep 2006 Beans 3,713 Re: ffmpeg installation problem You could try "sudo apt-get autoremove" and then try to install the packages again. Osman Eralp October 5, 2012 at 3:34 pm Repeat the steps for ffmpeg and x264.

In the standard Ubuntu install, the opencv.conf file does not exist; you need to create it. jihed December 24, 2012 at 10:16 pm Hi Osman, I'm running ubuntu 12.04 on virtualBox under windows 7 host and I have this error and don't find solution Linking CXX shared