mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-03 13:12:44 +02:00
Software
JpegSnap
creates a JPEG from the Camera and outputs it to stdout
Usage:
./jpegSnap > image.jpg
h264Snap
Creates a h264 stream and outputs it to stdout
Usage:
./h264Snap > test.h264
(Cancel after some time)
mJpegStreamer
Streams the Camera as mjpeg
Usage:
./mJpegStreamer
h264Streamer
Streams a file which is passed via stdin
Usage
- Download some example file from http://www.live555.com/liveMedia/public/264/
- Stream it using cat > ./h264streamer
Attention: Dont try to combine it the the h264snap - it wont work. I tested it first.
Motor
- Remove the old Module from Xiaomi: rmmod sample_motor
- Insert the new Kernel Module : insmod ./sample_motor.ko
- Run the Test-Application : ./motor
Sample-Audio
Plays a wav file. Provide it as file.wav