Skip to content

Instantly share code, notes, and snippets.

Avatar

Aarón Rosas a2ron

View GitHub Profile
@Pulimet
Pulimet / AdbCommands
Last active Aug 7, 2020
Adb useful commands list
View AdbCommands
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@qertis
qertis / controller.js
Last active Jun 15, 2017
Polymer download file
View controller.js
// ...
onDownload(e) {
e.preventDefault();
const link = this.createFile('some text content');
this.$.fileLink.href = link;
this.$.fileLink.click();
},
createFile(text) {
@mowings
mowings / readme.md
Last active Jul 21, 2020
ffmpeg stream and save video from Dahua 4300s IP Camera
View readme.md

Use ffmpeg to stream video from a dahua 4300s to a file or files

You can use ffmpeg to directly pull frames off of a dahua 4300s at full resolution. May be a good alternative to pricey dvrs which likely cannot record at full resolution, may not work with the camera, or are prohibitevly expensive

Simple Stream to file

Simple stream to file. Full resolution

ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:admin@198.175.207.61:554/live" \
-c copy -map 0 foo.mp4
You can’t perform that action at this time.