Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
FFMPEG on windows (for H.264 RTSP decoding)
13 octobre 2011, par Saurabh GandhiHas anyone used the latest FFMPEG version for decoding H.264 based RTSP stream on windows environment using OpenCV.
My problem is that I am able to successfully decode H.264 based RTSP stream on Linux successfully but when I use the same code to decode H.264 based RTSP stream on windows the output is pretty much pixelated. Can someone tell me as to why there is a difference in behaviour (is it due to version mismatch)? Also how do I find out which version of FFMPEG is being used by the OpenCV SDK 2.1.0 and 2.2.0 available for windows?
Awaiting your response. Thanks in advance.
-
tips needed : aac encode on android using ffmpeg-neon optimization
13 octobre 2011, par user992537there I am trying to do some performance improvement about libfaac/libx264 encoder using ffmpeg and neon.seems successfully compiled ffmpeg with neon support,and video encode performance indeed has some improvement,however when it comes to aac encode, it barely can run...Do I have to do some code change about aac specificly? Does this have something to do with neon`s fft stuff?Totally clueless, any tips would be greatly appreciated!Thanks
-
How do I reduce the video size captured by the default camera using FFMPEG in Android ?
12 octobre 2011, par KrishnenduI am trying to reduce the video size captured by the default camera (it's generating high resolution video) in Android. Does FFMPEG have a property to encode a video with given resolution? I tried to Google, but all examples are using command line mode for FFMPEG.
My questions are:
- Can we use ffmpeg command line in Android?
- If not then how we will achieve it?
- Can we able record a video directly using ffmpeg in Android?
- Is there any other solution for this?
-
How do I reduce the video size captured by the default camera using FFMPEG in Android ?
12 octobre 2011, par KrishnenduI am trying to reduce the video size captured by the default camera (it's generating high resolution video) in Android. Does FFMPEG have a property to encode a video with given resolution? I tried to Google, but all examples are using command line mode for FFMPEG.
My questions are:
- Can we use ffmpeg command line in Android?
- If not then how we will achieve it?
- Can we able record a video directly using ffmpeg in Android?
- Is there any other solution for this?
-
Error while Creating Videos from images using ffmpeg
12 octobre 2011, par Rcrd 009I am trying to create videos from images sequence. I tried all the below code given in $ff_command variable.
$path = dirname(__FILE__); $ff_command = "ffmpeg -f image2 -i {$path}/img%03d.jpg video.mpg"; $ff_command = "ffmpeg -r 10 -b 1800 -i {$path}/img%03d.jpg test1800.mpg"; $ff_command = "ffmpeg -i {$path}/img%03d.jpg -s 1280x720 -aspect 16:9 -r 24 -vb 20M teste.mp4"; $ff_command = "ffmpeg -f image2 -i {$path}/img%03d.jpg -vcodec mpeg4 -b 800k video.avi"; $ff_command = "ffmpeg -f image2 -i {$path}/img%03d.jpg -vcodec libx264 -b 800k video.avi";
Most of these commands are creating a video file. But when I open that video nothing comes or first image is coming for a split second and nothing after that
Please let me know what I am doing wrong here
I noticed that video is too short to see. Is it possible to increase the video duration so that we can see all the images?