Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing index pages (64 articles)

Check, is FFmpeg or GStreamer available

What's the easiest way to check in OpenCV code, is FFmpeg or GStreamer (or both) available. I've understood that in VideoCapture class FFmpeg requires filename or device ID, but GStreamer a pipeline,...

View Article


Build OpenCV with FFMpeg for iOS

Hi, is there a way to build OpenCV with FFMpeg for iOS? I need a way to process rtsp stream on iPhone with OpenCV. I found https://sourceforge.net/projects/ffmpeg-ios/, but how to build OpenCV with...

View Article


How to encode video using FFMPEG in VideoWriter in Java?

I downloaded the ffmpeg and h264 dlls and added them to the java class path, but everytime I call videowriter.open on 'h264', it returns false and I don't know why. I looked up the previous answers on...

View Article

VideoCapture::set (CAP_PROP_POS_FRAMES, frameNumber) not exact in opencv 3.2...

For an application (Win7/ mingw) that analyses movie files I divide the reading and processing to the cores. When trying to jump to the beginning of the parts with> VideoCapture::set>...

View Article

How to create a Python AWS Lambda zip with OpenCV + FFmpeg?

On my desktop I have FFmpeg, OpenCV compilated right, and works well. The function **load a video** from S3 and run a model that **extract some frames** and store them in another **S3 Bucket**. But I...

View Article


Streaming a webcam at 60 fps

hi everybody i have a roblem with capturing a webcam (logitech c922) video stream. the webcam provides a stream at 60fps at a resolution of 720p. right now i initialize a capture confert it from...

View Article

FPS and TBR

I've webm video file, which fps is 1k, and tbr 29.97 ffprobe video.webm ... Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, progressive), 1280x720, SAR 1:1 DAR 16:9, 1k fps, 29.97 tbr, 1k tbn, 1k tbc...

View Article

OpenCv 3.20 for Android. Videowriter and 3rd party libs (ffmpeg)

OpenCv3.20 for Android only allows (for what I have tried and seen in some posts) videowriter to encode .AVI files with fourcc "MJPG" code. Any other options that I have tried result in .isOpened()...

View Article


Video Stabilization Output Length Change

I'm performing video stabilization in OpenCV 3.2.0 using code from the [videostab sample](https://github.com/opencv/opencv/blob/master/samples/cpp/videostab.cpp) reduced down to simply perform one pass...

View Article


License of Ffmpeg for android

Dear, I download the "opencv-3.2.0-android-sdk.zip" file to develop an Android application for commercial. Btw, when i using tool to check the license of my application (include the "sdk" folder of...

View Article

Specify ffmpeg encoder in VideoCapture

I'm using an Orange Pi with a built in CSI webcam. On the command line with ffmpeg I can get 30+ frames a second no problem using the hardware-accelerated cedrus encoder. From OpenCV, using the v4l2...

View Article

opencv_ffmpeg320_64.dll error with mjpeg

Hi i am trying to load mjpeg camera Code is working perfect in opencv2.4 but when i try same code with opencv 3.2 and i get the below error [mpjpeg @ 00000094198e87e0] Expected boundary '--' not found,...

View Article

Trying to load a .mp4 Video fails

Hey guys, I've installed ffmpeg and opencv on my linux server, like that: git clone cd FFmpeg ./configure --enable-shared make sudo make install sudo apt-get install build-essential sudo apt-get...

View Article


OpenCV conda installation (missing ffmpeg) - Windows

So I managed to install OpenCV 3.1 using conda and Python 3.5 and everything seems to work fine. However when trying to import a video file via ffmpeg I get this: import numpy as np import cv2 cap =...

View Article

Video Playback via Microsoft Media Foundation (msmf)

Hi! Have anyone successfully playbacked video using Media Foundation (CV_CAP_MSMF) of VideoCapture on Windows 10? My goal is to use only media foundation and remove ffmpeg dependency for video...

View Article


How to build opencv_ffmpeg.dll from patched FFmpeg source

I am trying to write a patch to the FFmpeg API, and I am able to build the FFmpeg library dlls for Windows successfully using the instructions on their website (MinGW/FFmpeg installation guide)....

View Article

Error opening video file without extension or some formats

I have a video file here /data/out.mp4 and its copy /data/out. I'm on Osx Sierra with Xcode 8. Open video with mp4 extension is ok but get error with no extension or any other format. I tryed opencv...

View Article


ffmpeg suport on Centos7

I am trying to compile OpenCV with ffmpeg support on Centos7. I installed ffmpeg from the EPEL repository, and installed `yum install ffmpeg ffmpeg-devel`. When I tried to compiled using `cmake -G"Unix...

View Article

OpenCV not detecting FFMPEG on Linux Mint

I have been using OpenCV on Windows for a year now and recently transitioned to Linux, Life has not been easy, from loading an already existing `Jar` file to compiling my own. I have manage to compile...

View Article

opencv3 videoCapture doesn't work

I've a problem with openCV 3 java wrapper. When i use videocapture, camera.grab() always return false. I see several subjects on internet about this problem. I succeeded to run opencv 2.4 but not with...

View Article
Browsing index pages (64 articles)


Latest Images