duplicate detection for video files doesn't work

Bug #499737 reported by Brian Candler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
F-Spot
Won't Fix
Medium
f-spot (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: f-spot

I have a Canon PowerShot A430 which can take video (AVI) as well as photos.

When attaching the camera a second time, duplicate jpegs are skipped but the AVIs are re-imported, with xxx.avi becoming xxx-1.avi

$ find Pictures -name '*.avi' | sort
Pictures/Photos/2009/12/23/mvi_0773-1.avi
Pictures/Photos/2009/12/23/mvi_0773.avi
Pictures/Photos/2009/12/23/mvi_0796-1.avi
Pictures/Photos/2009/12/23/mvi_0796.avi
Pictures/Photos/2009/12/23/mvi_0797-1.avi
Pictures/Photos/2009/12/23/mvi_0797.avi
Pictures/Photos/2009/12/23/mvi_0798-1.avi
Pictures/Photos/2009/12/23/mvi_0798.avi
Pictures/Photos/2009/12/23/mvi_0807-1.avi
Pictures/Photos/2009/12/23/mvi_0807.avi
Pictures/Photos/2009/12/23/mvi_0808-1.avi
Pictures/Photos/2009/12/23/mvi_0808.avi
Pictures/Photos/2009/12/23/mvi_0809-1.avi
Pictures/Photos/2009/12/23/mvi_0809.avi

However they are clearly identical files:

$ find Pictures -name '*.avi' | sort | xargs sha1sum
4f922a2e4f638f9215447add8db0e4f37138d1d5 Pictures/Photos/2009/12/23/mvi_0773-1.avi
4f922a2e4f638f9215447add8db0e4f37138d1d5 Pictures/Photos/2009/12/23/mvi_0773.avi
485035009c4afea82e91480d1602a7bec2787f11 Pictures/Photos/2009/12/23/mvi_0796-1.avi
485035009c4afea82e91480d1602a7bec2787f11 Pictures/Photos/2009/12/23/mvi_0796.avi
a074a586e17d5d653e28afbfd61de43dae307d0c Pictures/Photos/2009/12/23/mvi_0797-1.avi
a074a586e17d5d653e28afbfd61de43dae307d0c Pictures/Photos/2009/12/23/mvi_0797.avi
0bbcc1bdfb5f8fbf5940d8cbb5bcca73480715bf Pictures/Photos/2009/12/23/mvi_0798-1.avi
0bbcc1bdfb5f8fbf5940d8cbb5bcca73480715bf Pictures/Photos/2009/12/23/mvi_0798.avi
8621f455f9ed3f8c6535665c7d7b62fc335f9ff4 Pictures/Photos/2009/12/23/mvi_0807-1.avi
8621f455f9ed3f8c6535665c7d7b62fc335f9ff4 Pictures/Photos/2009/12/23/mvi_0807.avi
f449e1930b52ab62d54bb93453207537e4cc905d Pictures/Photos/2009/12/23/mvi_0808-1.avi
f449e1930b52ab62d54bb93453207537e4cc905d Pictures/Photos/2009/12/23/mvi_0808.avi
4a6435317e7cab11a1512592e4e955a6b035be18 Pictures/Photos/2009/12/23/mvi_0809-1.avi
4a6435317e7cab11a1512592e4e955a6b035be18 Pictures/Photos/2009/12/23/mvi_0809.avi

It would be helpful if byte-identical files could be skipped.

ProblemType: Bug
Architecture: amd64
Date: Wed Dec 23 08:23:22 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: fglrx
Package: f-spot 0.6.1.5-0ubuntu1
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: f-spot
Uname: Linux 2.6.31-16-generic x86_64

Revision history for this message
Brian Candler (b-candler) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
 https://bugzilla.gnome.org/show_bug.cgi?id=606102

Changed in f-spot (Ubuntu):
importance: Undecided → Low
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Triaged
Revision history for this message
Brian Candler (b-candler) wrote :

Workaround: script to find SHA1 of all files and delete duplicates. Run it manually after importing.

Changed in f-spot:
importance: Unknown → Medium
status: Unknown → New
Changed in f-spot:
status: New → Won't Fix
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.