VideoWriter apparently not released in python (Bug #2746)


Added by Ken Seehart about 12 years ago. Updated about 12 years ago.


Status:Cancelled Start date:2013-01-30
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:python bindings
Target version:2.4.4
Affected version:pre 2.4 (deprecated) Operating System:
Difficulty: HW Platform:
Pull request:

Description

Videos created with CreateVideoWriter() are missing finalization data. This makes the video unreadable in some media viewers, and sometimes prevents cuing with the slider.

ReleaseVideoWriter is not exposed, so there isn't any obvious workaround.

Perhaps it ReleaseVideoWriter could be called when the object is cleaned up, but that would be potentially unreliable, since the order of cleanup is unpredictable. The programmer should be able to call it explicitly in any case.


History

Updated by Ken Seehart about 12 years ago

Correction: This can be closed.

I have determined experimentally that ReleaseVideoWriter does in fact get called during cleanup.

This was a problem for me due to cleanup interference by my framework. I solved my problem by explicitly deleting the VideoWriter object.

Still it might be nice to expose this kind of thing. Doesn't matter to me though :)

Updated by Kirill Kornyakov about 12 years ago

Ken, thanks for the update!

  • Target version set to 2.4.4
  • Status changed from Open to Cancelled

Also available in: Atom PDF