【问题标题】:How to set Shutterspeed of Ricoh Theta S via USB using gphoto or ptpcam?如何使用 gphoto 或 procam 通过 USB 设置 Ricoh Theta S 的快门速度?
【发布时间】:2017-02-11 08:23:12
【问题描述】:

我想使用树莓派 3 和 ubuntu mate 控制 ricoh theta 360 相机。我通过 apt-get 和 ptp build 从源代码获得了 gphoto2。我还安装了 theta 的最新固件版本。此外,曝光程序设置为 1(手动程序)或 4(快门优先程序)。

要手动设置快门速度,我尝试了以下方法:

使用 ptpcam:

   ptpcam --set-property=0xD00F --val=\x01\x00\x00\x00\x01\x00\x00\x00

回复:

   Camera: RICOH THETA S
   'UNKNOWN' is set to: 
   Changing property value to x01x00x00x00x01x00x00x00 [(null)] FAILED!!!

使用 gphoto2:

   gphoto2 --set-config shutterspeed=0.1

回复:

   *** Error ***              
   The shutterspeed widget is not configurable.
   *** Error (-2: 'Bad parameters') *** 

【问题讨论】:

    标签: unix android-camera libgphoto2 theta360


    【解决方案1】:

    我在 github (github: tlapser360) 上从 Jason Charcalla 找到了一个非常有用的脚本。

    在那里,解释说可以发送原始通用请求,如下所示:

       ptpcam -R 0x1016,0xd00f,0,0,0,0,shutter.bin
    

    shutter.bin 文件仅包含十六进制格式的快门时间。

    回复:

       01 00 00 00 04 00 00 00                         - ........        
       --------------------
       Camera: RICOH THETA S
       Sending generic request: reqCode=0x1016, params=[0x0000d00f,0x00000000,0x00000000,0x00000000,0x00000000]
       PTP: response OK
    

    这看起来不错。最后,可以按如下方式拍摄图像

       gphoto2 --capture-image-and-download
    

    【讨论】:

      【解决方案2】:

      这是 github 上的 Jason Charcalla script,其中包含经过编辑的 README.md 文件,其中包含有关信息的信息

      1. 从笔记本电脑通过 wifi 连接
      2. 带有示例的多个标志,用于调整日光、阴影、阴天等等

      还包括示例屏幕截图。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2011-04-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-07-13
        • 1970-01-01
        相关资源
        最近更新 更多