Error Avformat.h No Such File Or Directory
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed fatal error: ffmpeg/avformat.h: no such file or directory opencv answers to any questions you might have Meta Discuss the sys/videoio.h: no such file or directory workings and policies of this site About Us Learn more about Stack Overflow the company
Fatal Error: Sys/videoio.h: No Such File Or Directory
Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question
#include Libavformat Avformat H
and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top 'libavformat/avformat.h: No such file or directory' while compiling OpenCV for Arm libavcodec/avcodec.h: no such file or directory A8 up vote 3 down vote favorite 1 I am using Ubuntu 12.04. I get errors while cross-compiling OpenCV for Arm A8. Can someone help to resolve? $ make Scanning dependencies of target zlib [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/adler32.c.o [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/compress.c.o [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/crc32.c.o [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/deflate.c.o [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzclose.c.o [ 0%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzlib.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzread.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/gzwrite.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/inflate.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/infback.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/inftrees.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/inffast.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/trees.c.o [ 1%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/uncompr.c.o [ 2%] Building C object 3rdparty/zlib/CMakeFiles/zlib.dir/zutil.c.o Linking C static library ../lib/libzlib.a [ 2%] Built target zlib Scanning dependencies of target libtiff [ 2%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_aux.c.o [ 2%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.di
Sign in Pricing Blog Support Search GitHub This repository Watch 9 Star 70
Libavformat/avformat.h Not Found
Fork 16 dirkvdb/ffmpegthumbnailer Code Issues 9 Pull requests 0 avformat.h ubuntu Projects 0 Pulse Graphs New issue ffmpeg include path issues #18 Closed GoogleCodeExporter opened this sys/videoio.h ubuntu Issue Mar 15, 2015 · 21 comments Projects None yet Labels auto-migrated Priority-Medium Type-Defect Milestone No milestone Assignees No one assigned http://askubuntu.com/questions/258648/libavformat-avformat-h-no-such-file-or-directory-while-compiling-opencv-for-a 1 participant GoogleCodeExporter commented Mar 15, 2015 What steps will reproduce the problem? 1. Tried different pc's i386 and x64 2. What is the expected output? What do you see instead? Won't compile In file included from moviedecoder.cpp:17: moviedecoder.h:33:28: error: ffmpeg/avcodec.h: No such file or directory moviedecoder.h:38:29: error: ffmpeg/avformat.h: https://github.com/dirkvdb/ffmpegthumbnailer/issues/18 No such file or directory moviedecoder.cpp:28:28: error: ffmpeg/swscale.h: No such file or directory Symlinking those files then gives another error. In file included from moviedecoder.h:38, from moviedecoder.cpp:17: /usr/include/ffmpeg/avformat.h:47:18: error: avio.h: No such file or directory Symlink that file as well and it compiles fine. What version of the product are you using? On what operating system? Fedora 10 Please provide any additional information below. moviedecoder.h #if HAVE_LIBAVCODEC_AVCODEC_H #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/9548693/how-do-i-get-rid-avformat-h-no-such-file-or-directory-error-while-installing-v Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack https://forums.zoneminder.com/viewtopic.php?t=11478 Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How do I get rid 'avformat.h' no no such such file or directory error while installing Video-ffmpeg? up vote 0 down vote favorite I've been trying to install Video-ffmpeg but sudo make shows this error, FFmpeg.xs:7:22: fatal error: avformat.h: No such file or directory. compilation terminated. I've libavformat53 installed on my m/c. Is there something I've to install? ffmpeg video-processing timecodes share|improve this question asked Mar 3 '12 at 18:27 codef0rmer 6,70073058 add a comment| no such file 1 Answer 1 active oldest votes up vote 1 down vote accepted you need the headers of libavformat, which in ubuntu/debian are called libavformat-dev. aptitude search libavformat sudo aptitude reinstall libavformat53 libavformat-dev libavcodec53 share|improve this answer edited Mar 16 '12 at 9:45 codef0rmer 6,70073058 answered Mar 3 '12 at 18:30 Not_a_Golfer 18.1k13941 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged ffmpeg video-processing timecodes or ask your own question. asked 4 years ago viewed 4739 times active 4 years ago Related 0Video length missing in FLV converted by ffmpeg-php183Rotating videos with FFmpeg12Installing FAAC on linux, getting errors0Installed ffmpeg but i'm getting a “no such file or directory” error4How to Add Font size in subtitles in ffmpeg video filter0/root/bin/ffmpeg: error while loading shared libraries: libtheoraenc.so.1: cannot open shared object file: No such file or directory1how to convert videos to flv using ffmp
such file o directory Support and queries relating to all previous versions of ZoneMinder Post Reply Print view Search Advanced search 2 posts • Page 1 of 1 decibel83 Posts: 80 Joined: Tue Dec 06, 2005 5:22 pm ffmpeg/avformat.h: No such file o directory Quote Postby decibel83 » Thu Apr 10, 2008 4:45 pm I'm trying to compile ZoneMinder 1.23.2, but I'm having this problem: Code: Select allmake[2]: Entering directory `/home/mattia/ZoneMinder-1.23.2/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:27,
from zm_event.h:36,
from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:27:
zm_mpeg.h:29:29: error: ffmpeg/avformat.h: Nessun file o directory
zm_mpeg.h:31:28: error: ffmpeg/swscale.h: Nessun file o directory
zm_mpeg.h:63: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:64: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type
zm_mpeg.h:64: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:65: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_mpeg.h:65: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:66: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_mpeg.h:66: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:67: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:67: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:68: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:68: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:69: error: ISO C++ forbids declaration of ‘uint8_t’ with no type
zm_mpeg.h:69: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:85: error: ‘uint8_t’ has not been declared
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/home/mattia/ZoneMinder-1.23.2/src'
make[1]: ***