2014-07-30 05:52:57 -0600 | received badge | ● Editor (source) |
2014-07-10 14:27:40 -0600 | received badge | ● Necromancer (source) |
2014-07-10 03:31:40 -0600 | answered a question | How can I get one single frame from a video file? Well, I don't believe there's a seek. You need to do it. For example I do it like this : But, there's some errors I can't explain. The execution is OK 'till you start it with an index at most 100 though the FRAME_COUNT says 451 !? For example, let's tell the first frame to read is #100, next you can read any frame indexed before or after 100. I'd like to fix it. I also try the Haris' code but I met the same bug, i.e. the last frame (#450) isn't read... If you could help me to understand I'll be grateful.... Well, there's no pb ! The test video file was corrupted !!! Thus, you can use the code without trouble. |