mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-24 23:01:28 +02:00
Created Take a video and upload it to an FTP-Server (markdown)
1
Take-a-video-and-upload-it-to-an-FTP-Server.md
Normal file
1
Take-a-video-and-upload-it-to-an-FTP-Server.md
Normal file
@@ -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```
|
Reference in New Issue
Block a user