Bug 1331161

Summary: videos not shown on GoPro Hero 4 Session camera
Product: [Fedora] Fedora Reporter: Pierre Ossman <pierre-bugzilla>
Component: libgphoto2Assignee: Igor Gnatenko <ignatenko>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: hdegoede, jdisnard, rhbugs, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-21 20:57:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pierre Ossman 2016-04-27 19:32:27 UTC
I plugged in my GoPro Hero 4 Session and it seems to confuse libgphoto2 rather badly. Not videos are shown, and the folder names are not stable.

> $ /usr/bin/gphoto2  --list-files 
> There is no file in folder '/'.                                                
> There is 1 file in folder '/store_00010001'.
> #1     Get_started_with_GoPro.URL r-     1 KB text/html
> There is no file in folder '/store_00010001/DCIM'.
> There is no file in folder '/store_00010001/DCIM_00000001'.

> $ /usr/bin/gphoto2  --list-folders
> There is 1 folder in folder '/'.                                               
>  - store_00010001
> There are 2 folders in folder '/store_00010001'.
>  - DCIM_00000001
>  - DCIM_00000001_00000001
> There are 0 folders in folder '/store_00010001/DCIM_00000001'.
> There is 1 folder in folder '/store_00010001/DCIM_00000001_00000001'.
>  - 100GOPRO
> There are 0 folders in folder '/store_00010001/DCIM_00000001_00000001/100GOPRO'.

However libmtp finds the files:

> $ ./examples/mtp-files
> libmtp version: 1.1.11
> 
> Device 0 (VID=2672 and PID=000f) is a GoPro HERO4 Session.
> mtp-files: Successfully connected
> Listing File Information on Device with name: (NULL)
> File ID: 1638403
>    Filename: GOPR0003.MP4
>    File size 13689131 (0x0000000000D0E12B) bytes
>    Parent ID: 100
>    Storage ID: 0x00010001
>    Filetype: Apple Quicktime container format
> File ID: 1638404
>    Filename: GOPR0004.MP4
>    File size 42119659 (0x000000000282B1EB) bytes
>    Parent ID: 100
>    Storage ID: 0x00010001
>    Filetype: Apple Quicktime container format
> File ID: 4026531841
>    Filename: Get_started_with_GoPro.URL
>    File size 137 (0x0000000000000089) bytes
>    Parent ID: 0
>    Storage ID: 0x00010001
>    Filetype: HTML file
> File ID: 1638403
>    Filename: GOPR0003.MP4
>    File size 13689131 (0x0000000000D0E12B) bytes
>    Parent ID: 100
>    Storage ID: 0x00010001
>    Filetype: Apple Quicktime container format
> File ID: 1638404
>    Filename: GOPR0004.MP4
>    File size 42119659 (0x000000000282B1EB) bytes
>    Parent ID: 100
>    Storage ID: 0x00010001
>    Filetype: Apple Quicktime container format
> File ID: 1638403
>    Filename: GOPR0003.MP4
>    File size 13689131 (0x0000000000D0E12B) bytes
>    Parent ID: 100
>    Storage ID: 0x00010001
>    Filetype: Apple Quicktime container format
> File ID: 1638404
>    Filename: GOPR0004.MP4
>    File size 42119659 (0x000000000282B1EB) bytes
>    Parent ID: 100
>    Storage ID: 0x00010001
>    Filetype: Apple Quicktime container format
> OK.

(Note that this is libmtp master as the version in Fedora 23 doesn't find GoPro devices.)

Comment 1 Pierre Ossman 2016-04-28 20:30:45 UTC
Upstream bug:

https://github.com/gphoto/libgphoto2/issues/52

Comment 2 Pierre Ossman 2016-04-29 07:01:37 UTC
This is fixed in 2.5.10. Could we get an upgrade of the Fedora packages? :)

Comment 3 Fedora Admin XMLRPC Client 2016-11-21 12:31:55 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.