Skip to content

Instantly share code, notes, and snippets.


Aarón Rosas a2ron

View GitHub Profile
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 / controller.js
Last active Jun 15, 2017
Polymer download file
View controller.js
// ...
onDownload(e) {
const link = this.createFile('some text content');
this.$.fileLink.href = link;
createFile(text) {
mowings /
Last active Jul 21, 2020
ffmpeg stream and save video from Dahua 4300s IP Camera

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@" \
-c copy -map 0 foo.mp4
You can’t perform that action at this time.