Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
OpenCV conda installation (missing ffmpeg) - Windows
12 février 2017, par FZNBI 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 = cv2.VideoCapture('data\vtest.avi') cap.read() #(False, None)
When using still images or my laptop webcam it works (notice that the VideCapture returns
None
). Obviously, something is wrong with ffmpeg.I have tried a couple of things:
- Install ffmpeg binaries in my environment/PATH (works fine separately but apparently OpenCV cannot call it since it looks for specific dlls).
Move to the bin folder (which is in my path as well) the dlls from the compiled version in sourceforge:
opencv_ffmpeg310_64.dll
opencv_ffmpeg310.dll
Neither of the two options worked. Any ideas?
-
Can ffmpeg burn in time code ?
12 février 2017, par spinonI have a need to burn in a time code to a video and am wondering if this is something that ffmpeg is capable of?
-
How to convert WAV to FLAC/AMR in server-side javascript ? [on hold]
12 février 2017, par Phil AndrewsI need to process audio for transcription through a
node
server. The server receives the audio in WAV format and saves it to a temp file. From there it needs to be converted to FLAC/AMR in order to process it. How can this be accomplished?WAV in -> FLAC/AMR out ->
-
How to resize a picture using ffmpeg's sws_scale() ?
12 février 2017, par cyh24I wanna resize a picture by using the ffmpeg's func--->sws_scale().
Is there any one knows how to do it?
Do you have the source code for this function?
-
FFMPEG (BASH) Trying to record stream from IP camera, getting really bad framerates and random stuttering in video
12 février 2017, par user2419553I'm trying to record an .asf from my IP camera using FFMPEG to save it as an .mp4 file every 15 minutes. The stream coming from the camera is variable, but averages at around 10 FPS. However, when I watch the output mp4, the framerate is much lower, and there is often stuttering, random frame skips, and sometimes the video freezes and doesn't play (on VLC player).
Is there any way I can make the recording smoother and/or have less stuttering?
Here is the code that I use:
ffmpeg -i http://USER:PASSWORD@IP:PORT/videostream.asf -r 10 -vcodec copy -an -t 900 /root/Record/"$(date +"%Y_%m_%d %I.%M %p")".mp4
Any help would be appreciated.