corrupted frames when grabbing with dvgrab

Bug #859126 reported by Raffaella Traniello on 2011-09-25
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux Stopmotion
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

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.

Changed in lsm:
status: In Progress → Fix Committed
Tim Band (tim-band) wrote :

This suggestion fixes the problem for me.

Tim Band (tim-band) wrote :

Released in 0.8.2

Changed in lsm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers