- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我过去曾使用 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.
关于video - Gphoto2 拍摄视频并下载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48068603/
我是一名优秀的程序员,十分优秀!