diff --git a/Take-a-video-and-upload-it-to-an-FTP-Server.md b/Take-a-video-and-upload-it-to-an-FTP-Server.md new file mode 100644 index 0000000..449ff72 --- /dev/null +++ b/Take-a-video-and-upload-it-to-an-FTP-Server.md @@ -0,0 +1 @@ +```FILE=`date +%Y-%m-%d_%H.%M.mov` && ./avconv -rtsp_transport tcp -y -i rtsp://0.0.0.0:8554/unicast -vcodec copy -c:a aac -strict experimental -t 10 /system/sdcard/DCIM/VideoRecorder/$FILE && /system/sdcard/bin/curl --upload-file /system/sdcard/DCIM/VideoRecorder/$FILE -u username:password ftp://sitename.com/directory/$FILE``` \ No newline at end of file