After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 717305 - Can't import .ogg video files
Can't import .ogg video files
Status: RESOLVED FIXED
Product: shotwell
Classification: Other
Component: general
unspecified
Other All
: High normal
: 0.26
Assigned To: Shotwell Maintainers
Shotwell Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-23 12:32 UTC by Jim Nelson
Modified: 2017-02-25 22:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix import of files ending in ogg (2.81 KB, patch)
2017-02-25 22:25 UTC, Jens Georg
committed Details | Review

Description Charles Lindsay 2013-11-25 21:51:09 UTC


---- Reported by jim@yorba.org 2011-03-22 17:32:00 -0700 ----

Original Redmine bug id: 3401
Original URL: http://redmine.yorba.org/issues/3401
Searchable id: yorba-bug-3401
Original author: Jim Nelson
Original description:

Files with the .ogg extension are not imported on my system, probably because
GVFS is reporting it's a non-video mime-type. If renamed to .ogv, Shotwell
will import it.



--- Bug imported by chaz@yorba.org 2013-11-25 21:51 UTC  ---

This bug was previously known as _bug_ 3401 at http://redmine.yorba.org/show_bug.cgi?id=3401

Unknown Component 
   Using default product and component set in Parameters 
Unknown version " in product shotwell. 
   Setting version to "!unspecified".
Unknown milestone "unknown in product shotwell. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Jens Georg 2017-02-25 22:04:36 UTC
Issue is that shotwell uses g_content_type_guess with only the file name here and for .ogg this results in audio/ogg.

We cannot add audio/ogg, though, otherwise Shotwell would also import "real" audio files
Comment 2 Jens Georg 2017-02-25 22:25:05 UTC
Created attachment 346722 [details] [review]
Fix import of files ending in ogg

This will only work for "local" imports, not from camera.
Comment 3 Jens Georg 2017-02-25 22:26:03 UTC
Attachment 346722 [details] pushed as a334c78 - Fix import of files ending in ogg