Git Product home page Git Product logo

Comments (3)

kuehnelbs avatar kuehnelbs commented on July 2, 2024 1

For me it took several weeks to get a stream from my cams in homekit. I suggest starting directly on your node-red server trying to get a stream with ffmpeg on console.
On a raspi I had to download codecs and ffmpeg sources, and configure several options before install. For me this configuration works with my axis cam:

install build tools

sudo apt-get install git pkg-config autoconf automake libtool libx264-dev

download and build fdk-aac

git clone https://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
./autogen.sh
./configure --prefix=/usr/local --enable-shared --enable-static
make -j4
sudo make install
sudo ldconfig
cd ..

download and build ffmpeg

git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
./configure --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp --extra-ldflags="-latomic"
make -j4
sudo make install

test Stream

ffmpeg -rtsp_transport tcp -i rtsp://viewer:@/axis-media/media.amp?videocodec=h264 -vcodec copy -vbsf h264_mp4toannexb -t 10 axis.mp4

My settings in Camera GUI look the same - with one difference. As video codec setting I use "h264" instead of "libx264"

from node-red-contrib-homekit-bridged.

stoinov avatar stoinov commented on July 2, 2024

My rtsp source for a Reolink cam is:

-re -rtsp_transport tcp -i rtsp://user:[email protected]:554/h264Preview_01_sub

and for video codec I use copy
Map video is 0:0

from node-red-contrib-homekit-bridged.

Shaquu avatar Shaquu commented on July 2, 2024

I close the Issue due to inactivity.
If you come back here and still have a problem then feel free to comment here or open new Issue.

from node-red-contrib-homekit-bridged.

Related Issues (20)

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.