-
Notifications
You must be signed in to change notification settings - Fork 8
Transferring data
Although the video data is ultimately processed on the Pi, to retrieve the video data files for your report and work with prototype code, it's useful to be able to access the video data files you may save as part of your code debugging.
We've been seeing this semester that VLC and Windows Video Player may not be able to playback the .h264 videos from the Pi.
So far we've found that using ffplay, which is part of ffMpeg does work to playback the videos from the PiCamera.
For MacOS, the ffplay binary is downloaded by itself, or if you have Homebrew via brew install ffmpeg.
You do not compile ffmpeg, just download the binary executables if you need to playback your video on your laptop.
SCP uses SSH to copy files between computers. MacOS, Windows and Linux laptops have SCP built into the factory operating system.
The SCP syntax is like:
recursively copy all files from a remote directory to my laptop
scp -r host:directory .Assuming the data was stored on the Pi under ~/data
scp -r [email protected]:~/data .Assuming the filename is foo.zip
scp foo.zip [email protected]: