From ddbc210253d87ad876edd340c635d8b554df33b4 Mon Sep 17 00:00:00 2001 From: shinebar1001 <33186930+shinebar1001@users.noreply.github.com> Date: Fri, 9 Mar 2018 22:09:24 +0100 Subject: [PATCH] Created Take a video and upload it to an FTP-Server (markdown) --- Take-a-video-and-upload-it-to-an-FTP-Server.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Take-a-video-and-upload-it-to-an-FTP-Server.md 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