ghoost82 / mijia-720p-hack

Xiaomi Mijia-720P camera hack
252 stars 58 forks source link

Feature request: ffmpeg or avconv binary #19

Open kolobus opened 5 years ago

kolobus commented 5 years ago

Hi.

Awesome hack thank you.

There is one feature I miss a lot - still image jpeg source, needed for HomeKit and other integrations. It's a simple jpeg http(s) url for camera preview. Powerful cameras generate it on the fly, smaller - once in a minute or so. To do it from camera I need either avconv or ffmpeg binary precompiled in this hack. Everything else is just couple of lines in script.

fliphess commented 5 years ago

Hey @kolobus

Adding ffmpeg is not that hard, you only have to compile the sources yourself using the toolchain. Have a look over here: https://github.com/fliphess/chuangmi-720p-hack/blob/master/Makefile#L570 how it's done.