corrupted frames when grabbing with dvgrab

Bug #859126 reported by Raffaella Traniello
10
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.

Tags: dvgrab
Changed in lsm:
importance: Undecided → High
status: New → In Progress
Revision history for this message
Raffaella Traniello (raffaella-traniello) wrote :

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
Revision history for this message
Tim Band (tim-band) wrote :

This suggestion fixes the problem for me.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.