Giter VIP home page Giter VIP logo

xiaomi-dafang-software's People

Contributors

eliaskotlyar avatar jmtatsch avatar jthwho avatar mw-ekotlyar avatar neroxps avatar nik0 avatar peturdainn avatar yannik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xiaomi-dafang-software's Issues

How to implement multiple stream encoder

I was reading the ingenic product sheet and see that it supports multiple streams for h264.

Max resolution 2048*2048
Up to H.264 1080P@60fps encode
H.264 multiple streams: 1080P@30fps+D1@30fps+JPEG@15fps
ABR/VBR/CBR/CQP
8 ROIs, 5-layer OSD with hardware

This could be used to run two rtsp servers? Or use the second source to record on board DVR videos?

Can you point me in the right direction about his to tweak the encoder to output two independent streams that can be used simultaneously?

Motion

I am trying to get running the motion detection sample.
I have a crash when calling the API IMP_IVS_CreateChn
Any idea how to debug ?
Thanks,

Nik0

Question: Origin of the libimp libraries

I've been playing with the libimp samples and am wondering what the origin of the libimp binary .so files are (in the uclibc folder). I assume this is a library offered by the vendor to do the video I/O. Is this software open source? If so, somewhere where I can get at it?

Also, I've seen mention of a repository that might have documentation but can't seem to locate it. Can you point me in the direction of where this might be?

Help to start Compile

hello anyone,
My experience is compiling repository of https://github.com/mpromonet/v4l2web to work on my raspberry pi with camera.
Can i clone & compile this repository on my rapberry and just copy bin output to dafang/xiaofang CFW bin ?
Detail steps would be great.
Thanks.

How to debug more effectively?

Hi @EliasKotlyar , I've tried to compile v4l2rtspserver, but when i run it, i got this error message:


root@Ingenic-uc1_1:mmcblk0p1]# ./v4l2rtspserver /dev/video0
1970-01-01 08:02:19,680 [NOTICE] - /test/v4l2rtspserver/src/main.cpp:548
Create V4L2 Source.../dev/video0
1970-01-01 08:02:19,681 [ERROR ] - src/V4l2Device.cpp:82
Cannot open device:/dev/video0 Operation not permitted
1970-01-01 08:02:19,682 [ERROR ] - src/V4l2Device.cpp:65
Cannot init device:/dev/video0
VIDIOC_STREAMOFF: Bad file descriptor
VIDIOC_REQBUFS: Bad file descriptor

Do you know how to debug it? So i can fix what's wrong. i've tried to copy the binary to /tmp folder and set chmod 777 and chown root,root the binary, but it remains. Also tried to chmod 777 to the /dev/video0.

opencv ?

Hi all,
In the T20 documentation there are some references to opencv.
Did someone have some information ? There is a lib, or something else ?

Thks,
Nik0

Feature: Direct upload to FTP/HTTP

The v4l2rtspserver currently saves images to SDCARD, which can be processed by using a script.
As many other cameras do, direct upload to a remote server could be an interesting feature.
This can be can be achieved by using a script as an hook, which is called after the file is saved. The inconvenient is that the card will be written (frequently?), degrading its life expectancy.
Alternatives, that I can think of are:

  • mounting the DCIM folder using TMPFS and then upload the image: works out of the box but will consume a chunk of RAM.
  • added support for direct upload in the code (using libcurl?), in a separated thread: adds a dependency to the server, but streamlines the process, while possibly taking much less resources.

Is there a opinion regarding such feature, and how to proceed with it?

Dynamic Linking ?

@EliasKotlyar,
Is it working fine with this branch ? On Wyse Camera?
I have some troubles making working again the movement detection (maybe the API changed a bit with the latest libs)
We definitely need the latest SDK. I contacted Ingenic, they didn't say "no" but they asking questions and questions, I don't think they will give it to me ...

v4l2rtspserver-master fails when launching

When launching the v4l2rtspserver-master in the repo it fails with the following message.

i264e[info]: profile Constrained Baseline, level 3.1
/system/sdcard/bin/v4l2rtspserver-master: /home/ptkang/work/platform/isvp_20160504_e/proj/sdk-lv3/src/imp/ivs/ivs_move/src/filter.c: 156: Start: Assertion `filter->roi.x >= 0 && filter->roi.y >= 0 && filter->roi.width >= 0 && filter->roi.height >= 0 && filter->roi.x + filter->roi.width <= filter->wholeSize.width &&filter->roi.y + filter->roi.height <= filter->wholeSize.height' failed.

Building tun/tap kernel driver

Good afternoon !
Please tell me how I can build a tun/tap driver (tun.ko) for this kernel.
Thank you !

P.S. I write this ask in other repo, sorry.

OSD feature (push changes)

Hi EliasKotlyar,
I have worked on a OSD display. I am not very familiar with Github, do you want I submit a new branch (I am not sure you want me to push on the master ...)
Thanks,

Nik0

Zooming/Cropping image (Dafang)

First things first:
Thanks for this alternative firmware!

I want to use my dafang as additional baby monitor and I don't want the content to leave my network.

I'd like to see only a small part of the wide angle high resolution image that is provided by default. I only need 45 degree FOV even with a lower resolution. To stream the full picture in 1080p and cropping it on the receiver side would be a waste of bandwith.
Is there a way to have a virtual zoom from within the camera?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.