2020-07-17 03:09:09 -0600 | received badge | ● Notable Question (source) |
2019-10-18 21:05:31 -0600 | received badge | ● Popular Question (source) |
2016-07-19 12:49:46 -0600 | received badge | ● Famous Question (source) |
2015-08-18 16:47:07 -0600 | received badge | ● Notable Question (source) |
2015-02-03 13:26:52 -0600 | received badge | ● Popular Question (source) |
2014-07-27 17:59:20 -0600 | received badge | ● Student (source) |
2014-05-02 22:51:05 -0600 | asked a question | OpenCV move to begin frame position fail I am trying to use OpenCV VideoCapture to read some frames for training. After training, I would like to return to the beginning of the video and do processing. The problem is that OpenCV VideoCapture set(CV_CAP_PROP_POS_FRAMES, 0) cannot return to the beginning of the video. In the program, the final index value would not be same as frame count. Say a sample running would be: I also try to set frame index using CV_CAP_PROP_POS_MSEC (according to a post). But it didn't work. My current solution is to reconstruct a VideoCapture and read from begin to end. Can anyone explain why set can even not return to the beginning of the video? I think it go nothing to do with the decompression algorithm. |
2014-04-26 01:43:11 -0600 | commented question | Ubuntu OpenCV VideoWriter using ffmpeg with “Could not open codec 'libx264'” Error I downloaded OpenCV2.4.8 from the opencv.org website, and it redirected me to the sourcefourge.com. Would it be any problem? |
2014-04-24 21:42:11 -0600 | received badge | ● Editor (source) |
2014-04-24 21:38:17 -0600 | asked a question | Ubuntu OpenCV VideoWriter using ffmpeg with “Could not open codec 'libx264'” Error I am new to OpenCV, and I want write Mat images into video using VideoWriter on Ubuntu 12.04. But when constructing VideoWriter, errors came out. It seems that OpenCV invoke ffmpeg API using default parameters and ffmpeg invoke x264 using its default parameters. Then these setting is broken for libx264. Thus the "Could not open codec 'libx264'" error. Anyone has ideas to solve this problem? More specifically:
Errors: Codes: OpenCV Configuration: FFMPEG ffmpeg is enable to support OpenCV and libx264 is enabled when compiling ffmpeg. By using ffmpeg command line, libx264 is running normally. ffmpeg -i test.avi -vcodec libx264 test.mp4 |