从GoPro检索video时出现问题

从GoPro中检索video时遇到问题。 我能够安装GoPro,我看到“Get_started_with_GoPro.URL”文件,但没有video或图像文件。 同样,我也有

$ gphoto2 -L 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'. 

下面是大量的调试输出,可能有助于深入研究问题。

至于gvfs-mount,我有

 $ gvfs-mount -li Volume(0): GoPro HERO Type: GProxyVolume (GProxyVolumeMonitorGPhoto2) ids: unix-device: '/dev/bus/usb/001/006' activation_root=gphoto2://[usb:001,006]/ themed icons: [camera-photo] symbolic themed icons: [camera-photo-symbolic] [camera-symbolic] [camera-photo] [camera] can_mount=1 can_eject=0 should_automount=1 

在设备插件后运行dmesg给了我

 [ 1191.640449] usb 1-1: USB disconnect, device number 6 [ 1195.017487] usb 1-1: new high-speed USB device number 7 using xhci_hcd [ 1195.203112] usb 1-1: New USB device found, idVendor=2672, idProduct=000c [ 1195.203117] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1195.203119] usb 1-1: Product: GoPro HERO [ 1195.203121] usb 1-1: Manufacturer: GoPro [ 1195.203122] usb 1-1: SerialNumber: C3111025740636 

和设备上的lsusb -v

 Bus 001 Device 007: ID 2672:000c Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x2672 idProduct 0x000c bcdDevice 0.00 iManufacturer 1 GoPro iProduct 2 GoPro HERO iSerial 3 C3111025740636 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 4mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 6 Imaging bInterfaceSubClass 1 Still Image Capture bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 16 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered 

我在UbuntuGnome Xenial和GoPro Session Hero 4下也遇到了同样的问题。

问题来自libgphoto2中的错误。 此库需要更新到2.5.10版以解决问题并获得对GoPro的完全访问权限。

我已经解释了本文中所需的步骤http://bernaerts.dyndns.org/linux/74-ubuntu/347-ubuntu-xenial-gopro-usb-access-bug

干杯。

我有同样的问题。 请注意,将SDCard插入SDCard阅读器后,我可以看到所有文件,因此我认为这不是由文件系统引起的。

我已经向GoPro支持报告了这个问题。 他们说GoPro不支持Linux ,这可能导致认为GoPro不能与Linux一起使用。

这在Ubuntu 16.04(Xenial)中对我有用:

  1. 从下一个ubuntu verison“The Yakkety Yak”下载以下更新

    • libgphoto2-port12_2.5.10-3_amd64.deb
    • libgphoto2-port12_2.5.10-3_i386.deb
    • libgphoto2-6_2.5.10-3_i386.deb
    • libgphoto2-6_2.5.10-3_amd64.deb
  2. 安装它们sudo dpkg -i libgphoto2-port12_2.5.10-3_amd64.deb libgphoto2-port12_2.5.10-3_i386.deb libgphoto2-6_2.5.10-3_i386.deb libgphoto2-6_2.5.10-3_amd64.deb

您现在可以使用Shotwell导入video。

以下是有点hacky,但有效:

  1. 安装virtualbox / vagrant
  2. 按照http://code-chronicle.blogspot.de/2014/08/connect-usb-device-through-vagrant.html上的说明在virtualbox中启用USB。
  3. 设置vagrant文​​件
 # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "hashicorp/precise64" config.vm.provider "virtualbox" do |vb| vb.memory = "1024" vb.customize ["modifyvm", :id, "--usb", "on"] vb.customize ["modifyvm", :id, "--usbehci", "on"] vb.customize ["usbfilter", "add", "0", "--target", :id, "--name", "gopro", "--manufacturer", "GoPro", "--product", "GoPro Hero"] config.vm.provision "shell", :inline => "sudo apt-get update; sudo apt-get -y install gphoto2" end end 
  1. 做流浪汉,流浪汉ssh
  2. sudo gphoto2 -L列出了你的video和图片
  3. sudo gphoto2 -P下载所有文件

我的新GoPro Hero出了问题,无法看到SD卡上的图片或video,我尝试了一切。 使用不同的计算机(都使用Ubuntu 16.04),一切都运行良好。 唯一的区别是工作没有安装VLC的那个。 使用Imageviewer拉取照片,使用video(图腾)录制video。 回到第一台计算机并删除了VLC,现在一切都很好,就像使用Imageviewer和video的其他计算机一样。 希望这有助于某人。 PS现在我的小Vivitar Lifecam也用16.04