CV_CAP_PROP_POS_* doesn't work for all filetypes (Bug #203)


Added by Kevin Bryan almost 15 years ago. Updated over 12 years ago.


Status:Cancelled Start date:
Priority:Normal Due date:
Assignee:Alexander Reshetnikov % Done:

0%

Category:highgui-video
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

I have found the attached patch helpful for some codecs that don't update video_st->cur_dts properly.


cv_time_fix.patch - Patch for fixing CV_CAP_PROP_POS reporting (1.3 kB) Kevin Bryan, 2010-03-19 08:27 pm


Related issues

duplicated by Bug #481: cv::VideoCapture::set not working with OpenCV version 2.x Cancelled

Associated revisions

Revision 49e038c7
Added by Andrey Kamaev about 12 years ago

Merge pull request #203 from asmorkalov/android_cam_stub

Native camera warper libraries build improvements

Revision 3f7b1eb8
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #203 from mshabunin:stitch-fix

History

Updated by anonymous - almost 15 years ago

thanks! your patch was applied in r2917

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by guan-jhih chen almost 15 years ago

Still not work on CV_CAP_PROP_POS_FRAMES...
Incorrect frame number!

  • Status changed from Done to Cancelled
  • (deleted custom field) deleted (fixed)

Updated by Vadim Pisarevsky over 13 years ago

probably, with the latest cap_ffmpeg.cpp (http://code.ros.org/svn/opencv/trunk/opencv/modules/highgui/src/cap_ffmpeg.cpp) the problem is fixed. If not, please, reopen the ticket

  • Status changed from Cancelled to Done
  • (deleted custom field) set to fixed

Updated by Benoit Rosa over 13 years ago

In Ubuntu 10.04 with the last stable version (2.3 rc) and the correct version of the cap_ffmpeg.cpp file, I still get the problem.

I also compiled the last ffmpeg version and nothing changed.

I posted on the OpenCV yahoo group before coming here : http://tech.groups.yahoo.com/group/OpenCV/message/81451

  • Status changed from Done to Cancelled
  • (deleted custom field) deleted (fixed)

Updated by Georgios Petrou over 13 years ago

The solution provided in the ticket #120 worked for me. You might also need to use the hurry_up property of the AVCodecContext to speed things up.

Updated by Alexander Reshetnikov about 13 years ago

  • Status deleted (Cancelled)

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from High to Normal
  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Status set to Open

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Alexander Reshetnikov)

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Alexander Reshetnikov almost 13 years ago

  • Status changed from Open to Cancelled
  • Target version set to 2.4.0
  • Assignee set to Alexander Reshetnikov

Updated by Andrey Kamaev over 12 years ago

  • Category changed from highgui-images to highgui-video

Also available in: Atom PDF