Fedora :: OpenCV Cannot Resolve FFmpeg Codec Libraries

May 19, 2011

OpenCV doesn't work. I wonder why would anyone create a RPM package and not bother to check whether it actually works? Do they get paid per package at Red Hat? The problem seems to be in cap_ffmpeg.cpp. Somehow, OpenCV cannot resolve the ffmpeg CODEC libraries, but the annoying part is that it compiles and installs error free - it just doesn't work. Without any error messages, it is really hard to figure out what is wrong.

View 8 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Compile Errors From OpenCV With Ffmpeg + X264

May 29, 2011

I am trying to compile OpenCV 2.0 with ffmpeg (with x264) support on my Ubuntu 11.04 64-bit machine. (Since I want to use the binaries provided by other developers, I have to use opencv 2.0 version)

I followed the guide from: [URL] to compile x264 and ffmpeg manually, and succeeded.

Then I followed the guide in the INSTALL file provided by the OpenCV 2.0 package. I use CMake to configure and generate them, and use "make" command to try compiling. However, I got the following error report, which haunted me for almost half a week.

Code:
Linking CXX static library ../../lib/libhighgui_pch_dephelp.a
[ 71%] Built target highgui_pch_dephelp
Scanning dependencies of target pch_Generate_highgui
[ 71%] Generating _highgui.h
[ 71%] [COLOR="rgb(65, 105, 225)"]Generating

[Code].....

View 7 Replies View Related

OpenSUSE :: Multimedia Codec Mess - Ffmpeg Options?

Mar 23, 2010

I'm writing a wrapper for FFMPEG and need help of a multimedia guru. The more I read about containers, formats and codecs the more confused I become, it all seems to be a pretty big mess. To convert a video file with ffmpeg you need to specify a few arguments for ffmpeg:

- input file
- some video/audio options (bit rates, sizes and so on)
- format (to force format)
- codec (to force codec)
- output file

My confusion is all about the format and output file extension. If I want to encode my file in MPEG-4, I'll use either 'libx264' or 'libxvid' codec. Then the encoded stream needs to be stored in a file. If I use '.mp4' as the output file, it'll be stored in that file. If I use '.mkv', the video will still be MPEG-4 but stored in a Matroska container. But what do I do with the format option? When I force the format to 'mp4', does it mean I don't have to enter output file, it'll be stored as '.mp4' anyway? Or if I use '-matroska' will I still have to put it into a container '.mkv'? Can I use a '-matroska' format but '.mp4' output file for example?

What's the difference between the format and output file in this context? Or what does forcing the format really do?

View 3 Replies View Related

Ubuntu Multimedia :: FFmpeg Unsupported Codec For Output Stream

Feb 26, 2010

So I've been trying to convert .avi files to .mov using FFmpeg. I input something like this:
Code:
ffmpeg -i in.avi -b 1000 out.mov

And it says:
Code:
Unsupported codec for output stream #0.1
So I tried adding -acodec mp3 OR -acodec libmp3lame and it says unknown codec.

I went to install libmp3lame-dev using
Code:
sudo apt-get install libmp3lame-dev

And it comes up with this:
Code:
The following NEW packages will be installed:
libmp3lame-dev

The following packages will be REMOVED:
libdc1394-22{u} libfaac0{u} libxvidcore4{u} linux-headers-2.6.28-11{u}
linux-headers-2.6.28-11-generic{u}
I'm fairly sure I don't want those packages removed? Should mention I'm on Ubuntu 9.04 64-Bit.

View 9 Replies View Related

OpenSUSE Multimedia :: X264 Codec Segfaults Or Incorrect Parameters With Ffmpeg?

Apr 28, 2010

I've probably exhausted all possible ffmpeg argument combinations for encoding with a libx264 codec - none worked, the codec always either segfaults or tells me incorrect parameters. I've installed, uninstalled and re-installed all available versions of the codec - no difference. Did anyone have any luck with it? Are there any tricks or conflicts in different arguments? Does the input file have to be in any particular container/format/codec for the x264 to work on?

My examples: >ffmpeg -i video.mpg -vcodec libx264 video.mkv >... Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height >ffmpeg -i video.mpg -vcodec libx264 -b 4000 -s hd1080 -f h264 video.mkv Same error If I use any other codec, they all work fine. give a working ffmpeg arguments example,

View 9 Replies View Related

Programming :: OpenCV - Pixel Format Of Incoming Image Is Unsupported By OpenCV

Nov 6, 2010

I'm using a logitech quickcam pro 3000 on Ubuntu 10.04.

When I run a simple program with OpenCV to display the output from a camera I get the following output:

Code:

A window still opens with the output from the camera, but it seems very low quality and has far less pixels then it should. The camera built into my computer runs the same program with no problems.

My code for the program is simply:

Code:

One further note to make is that I still have the bad quality and low number of pixels with the logitech even when using webcam program. I can seem to find any drivers to update or anything though.

View 1 Replies View Related

Ubuntu :: Convert File Using Ffmpeg Returns Error Dealing Just With H264 Codec?

Jan 20, 2011

I am trying to convert a file using ffmpeg. I have this following code in a terminal.

ffmpeg -i introvideofinal -vcodec libx264 -acodec libfaac introvideofinalfinal.mp4

It returns an error dealing just with the h264 codec saying that I need to use a vpre parameter? I can't find any documentation on using the vpre parameter.

View 1 Replies View Related

Ubuntu Multimedia :: FFmpeg "Unsupported Codec For Stream #0.3"?

Jun 30, 2010

I've been trying to re-mux some mkv files into mp4 files recently and ran into this issue. The mkv files contain an h.264 video stream, two aac audio streams (english and japanese) and one subtitle stream. All I'm trying to do is move all four streams into a mp4 container using the following command:

Code:
ffmpeg -i input.mkv -vcodec copy -acodec copy -acodec copy -scodec copy output.m4v -newaudio
Code:
Input #0, matroska, from 'input.mkv':
Duration: 00:24:42.64, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 640x480, PAR 1:1 DAR 4:3, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(jpn): Audio: aac, 11025 Hz, stereo, s16

[Code]...

Since the first audio stream doesn't seem to be throwing an error I'm a little confused as to why the second (with the same codec) would give this error. I would appreciate any help with this problem, or alternative solutions to accomplishing the mux.

View 2 Replies View Related

Ubuntu Multimedia :: Use In Kubuntu 9.10 Audio Codec - <voxware Metasound Audio Codec>?

Jan 26, 2010

how I can use in my Kubuntu 9.10, audio codec - <voxware metasound audio codec>? P.S. Sorry for my bad english. I look forward to an answer,

View 7 Replies View Related

Ubuntu Multimedia :: Ffmpeg 6 Is Out For Some Time When Will Lucid Afford Such A New Ffmpeg?

Jul 20, 2010

Since ffmpeg 6 is out for some time, when will Ubuntu Lucid afford such a new ffmpeg package from its repository?

View 2 Replies View Related

General :: Use Always The Latest Versions Of The Libraries And Don't Save The Old Libraries For Compatibility?

May 11, 2011

Why many Linux distros are trying to use always the latest versions of the libraries and don't save the old libraries for compatibility? I mean, I can see libtiff for example, i can found a libtiff.so.5 on my /usr/lib, but doesn't store a libtiff.so.4 or 3 just for binary applications or games. For this example, I need libtiff.so.4 for uplink.

That should happen too on the old version of sims for linux, some ID games or others.What's wrong with storing old libraries? PD: Yay, my first post on 3 years!

View 6 Replies View Related

Fedora :: Codec Installation For X86_64 F13?

May 27, 2010

On a fresh installation of F12 and F13 I have had issues getting the multimedia codecs working properly. I have followed the tutorial that I was pointed to and it doesn't seem to work..

[URL]

There is a note in there that reads as follows:"NOTE: There is significant variation depending on your architecture (i386, x86_64, ppc). This step is really only beneficial to 32bit i386 users."

What is the step for the x86_64 users? Are there special codecs I can't find on the net that I need to be installing? Should these just be extracted in the /usr/lib64/codecs directory?

codec installation for x86_64 F13.

View 10 Replies View Related

General :: Codec Installation On Fedora 12

Jan 20, 2010

I've just installed Fedora 12. I Love it. But .. how to install a codec package so I can watch movies? (.avi, Xvid etc.....) for Movie Player (default installed).

I've downloaded a package called "all-20071007.tar.bz2" that suggests it is just what I need.

I created a folder called "codecs" in usr/local/lib/" as su using the terminal as pkg instructions suggested.

When I tried to unpack the package into that new directory I got the reply that I did not have the right permissions.

Has anyone else imstalled this/or better codec packages?

How do I overcome this problem

ps if there's another/better video player, I'd like to know too, so I can try it out also.

View 6 Replies View Related

Fedora :: Xine Can't Find MPEG 1/2 Codec?

Nov 13, 2009

I am having some trouble with xine, and because of this I cannot get any media player to work. When I try to play mp3's in Amarok, nothing happens and the song does not play. When I try to open xine, it opens a window that says

The stream 'There is no MRL' uses an unsupported codec:
Video Codec: MPEG 1/2 (0x0)
Start playback anyway?

[code]....

View 4 Replies View Related

Fedora :: Rhythmbox Does Not Play Mp3s - Needs Codec

Jan 19, 2011

My rhythmbox does not play mp3s. It says it needs codecs. not able to find any codecs for mp3s.

View 4 Replies View Related

General :: Using Dynamic Libraries As Static Libraries?

May 6, 2010

Is there any way to use a dynamic libraries as a static libraries instead when compiling, so that my resulting executable won't have them as dependencies?

View 3 Replies View Related

Fedora Installation :: Can't Find Any Player Or Codec That Will Allow To Play Videos On F9?

Apr 25, 2009

I installed Fedora 10 on a Toshiba Laptop, where I had been successfully running Ubuntu for over a year. The newest iteration of Ubuntu was giving me problems, and the press was saying that Fedora 10 was pretty good, so I tried it.

Fedora 10 froze after any application was loaded. I couldnt correct it. I installed Fedora 9, and am no longer having that problem. However, I cant run any multimedia items on the computer. Particularly videos, including wmv, mpeg, or rm formats. This was not a problem in Ubuntu. I can't find any player or codec that will allow me to play these videos on Fedora 9. Can anyone suggest a solution for this?

View 5 Replies View Related

Ubuntu :: Any Way To Get OpenCV 1.1 Through Aptitude?

Jun 9, 2010

I need to run Opencv 1.1 or lower to be compatible with the systems at my University where most of my work is done. 9.10 allowed 1.1 through apt, but before that I remember all kinds of nightmares getting OpenCV to run with FFMPEG. If I go back to self-installing 1.1, am I going to have a repeat of those nightmares? I guess a better way to phrase it, is there any way to get opencv 1.1 through aptitude?

View 2 Replies View Related

Fedora :: Xine And AVI Files - Reports A Codec Missing While Mplayer Plays

Jan 19, 2010

I try using xine to play AVI files, but it reports a codec missing while mplayer plays it just fine. I use F11 with all the latest updates.

View 4 Replies View Related

Fedora :: No Sound Card Listed In LSPCI - Unable To Initialize Codec

Feb 25, 2011

There is no sound card listed in "lspci" and also I receive this error when I use dmesg command:
[15.012010] AC'97 0 does not respond - RESET
[15.012017] AC'97 0 access is not valid [0xffffffff], removing mixer.
[15.012024] Unable to initialize codec #0

View 2 Replies View Related

Debian Programming :: How To Install OpenCV 2.4.9 On 7.6

Oct 14, 2014

I am a new man on using both of the opencv and debian. In china, few people use debian linux and have nothing paper about how to insall opencv on this os ... Looking for detail step of installation of opencv on this OS?

View 3 Replies View Related

General :: OpenCV - Some Packages Could Not Be Installed

Feb 5, 2011

I am learning image processing and hence using opencv-2.2.0. I am following the link [URL] to install this. But even the first command to install build-essential.
Code:
apt-get install build-essential
is giving following errors...

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

The following information may resolve the situation:
The following packages have unmet dependencies:
build-essential: Depends: gcc (>= 4:4.4.3) but 4:4.4.1-1ubuntu2 is to be installed
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Broken packages

View 3 Replies View Related

Slackware :: How To Get OpenCV Library Location

Aug 22, 2010

I recently installed openCV using [URL]. I am unable to locate library location to be included while running programs. Does this version of openCV needs libraries to be downloaded externally or they are inbuilt and I am unable to get their location.

View 1 Replies View Related

Fedora :: Watch A Movie In Totem But It Asks For A Plugin MPEG Layer-3 Codec?

Nov 21, 2009

i want to watch a movie in totem but it asks for a plugin MPEG layer-3 codec how can i install this codec preciate

View 4 Replies View Related

Ubuntu :: Shell Script For Opencv Compilation?

May 30, 2010

I installed Opencv in Lucid.But i dont know how to compile a program (.c/.cpp) by giving additional opencv flags. So i found another method, There is Buildall.sh (given Below) along with the samples in Opencv Source.I copied buildall.sh to my working directory and using it but there is a problem that each time it compile all the source files in the .

But what i need is a "build.sh" file such that it compile only the argument file given from terminal using opencv flags as in buildall.sh. like follows

Code:
sh ./build.sh prog.c
then it will compile prog.c
Code:
sh ./build.sh prog2.cpp
then it will compile prog2.cpp

its for my project .imy entire project using opensource tools and softs only. if possible somone pls explain the shell script in build all.sh

[Code]...

View 5 Replies View Related

Ubuntu Installation :: OpenCV Application Not Running

Sep 3, 2010

unable to run opencv opllications on ubuntu(10.04)error:OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /home/p/OpenCV-2.0.0/src/highgui/window.cpp, line 100.

View 2 Replies View Related

Ubuntu Installation :: Getting Opencv To Run With Python Support?

Oct 10, 2010

So I followed all the steps here.[URl].. whixh is basically the same steps as in the installation wiki.The problem is that I can't find the cv.so file in /usr/local/lib/python2.6/site-packages . the folder is empty.

View 1 Replies View Related

Programming :: OpenCV - Color Detection / Tracking

Oct 14, 2010

I've introduced myself to OpenCV a bit now and can do some of the most basic things with it. My current goal is to have a solid color object (say a red ball) and have a camera be able to find that object. Anybody know of any resources to start learning how to do this? Any tutorials/books? Or is there something I should be searching for instead of color detection and tracking that will give me things more in the right direction?

View 2 Replies View Related

Ubuntu Multimedia :: How To Install Java (Processing And OpenCV)

Jun 17, 2011

I'm starting to use Ubuntu 10.04 LTS and want to install a Java based language, Processing which uses OpenCv library to perform video issues. [URL]. I'm not familiar with the terminal but willing to be. I'm also not familiar with the file system, I mean I don't exactly know where the archives downloaded are and where they should be to be executed.

View 6 Replies View Related

Fedora :: Ffmpeg With Amr Support ?

Aug 15, 2010

If anyone is interested i have rebuilt ffmpeg with amr support, for those having trouble converting files to 3gp etc....only 64bit rpms [url]

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved