gpt4 book ai didi

video - Gphoto2 拍摄视频并下载

转载 作者:行者123 更新时间:2023-12-03 23:55:49 25 4
gpt4 key购买 nike

我过去曾使用 gphoto 捕捉图像并将它们直接下载到我的电脑,而不是使用相机中的 sd 卡。我想知道是否可以对视频执行此操作,或者在成功录制后将文件视频文件复制到计算机。我正在寻找相当于 --capture-image-and-download 的视频/电影或其他可以从命令行使用 DSLR 完成此操作的程序

最佳答案

取决于您的数码单反相机,但有可能,请参阅此处的命令行(“电影捕捉”):http://gphoto.org/doc/remote/

编辑 :

Capturing movies with sound is currently possible with:

Newer Nikon DSLRs: gphoto2 --set-config movie=1 --wait-event=10s --set-config movie=0 --wait-event-and-download=2s. Replace 10s by the number of seconds you want to have your movie long. This started being supported around 2012, around the D7000 release.

Newer Canon EOS DSLRs (around 7D and later) : Switch the camera to movie record mode on the camera. Then run gphoto2 --set-config viewfinder=1 --set-config movierecordtarget=Card --wait-event=10s --set-config movierecordtarget=None --wait-event-and-download=2s (before 2.5.6, replace viewfinder by eosviewfinder). If this does not work, check and switch the capturetarget to SD Card (gphoto2 --set-config capturetarget=1)

Older cameras with preview capture ability: gphoto2 --capture-movie=10s . This will capture 10 seconds of preview frames and concatenate them in a MotionJPEG style stream.



对于佳能,您需要将 --set-config movierecordtarget=Card 更改为 --set-config movierecordtarget=0 并将 --set-config movierecordtarget=None 更改为 --set-config movierecordtarget=1。

关于video - Gphoto2 拍摄视频并下载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48068603/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com