corrupted frames when grabbing with dvgrab
Bug #859126 reported by
Raffaella Traniello
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Stopmotion |
Fix Released
|
High
|
Unassigned |
Bug Description
When grabbing with dvgrab from a MiniDv camcorder, occasionally the live preview is flickering. Some grabbed frames are grey in full or in part. The saved images are corrupted.
Changed in lsm: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in lsm: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Herman Robak found out that dvgrab overwrites the file in-place. Since Stopmotion reads the capture file asynchronously, it will sometimes read a partially overwritten file, hence the partially gray image.
It should rather write to a temporary file first, then rename it, so the capture file instantly changes from one image to the next.
In 2007 dvgrab added an "use jpeg temp" option (false by default).
To enable it add
-- jpeg-temp dvtemp.jpeg
after
--jpeg-overwrite
in the start deamon line of the Stopmotion configuration window for dvgrab.