Git Product home page Git Product logo

Comments (1)

arkdchst avatar arkdchst commented on June 14, 2024

Tried now guide from this page: https://github.com/brutella/hkcam/blob/master/ffmpeg/README.md

Stream from Raspberry Pi to Mac:

ffmpeg -re -f video4linux2 -i /dev/video0 -map 0:0 -vcodec h264 -pix_fmt yuv420p -f rawvideo
    -tune zerolatency -b:v 1500k -bufsize 1500k -payload_type 99 -ssrc 16132552 -f rtp
    -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params omz31e5SiZSneUySvSsIaFfu+NW2uWUl9+FHs3HD 
    "srtp://192.168.0.217:58536?rtcpport=58536&localrtcpport=58536&pkt_size=1378"

On Mac:

ffplay -i in.sdp -protocol_whitelist file,udp,rtp

Video is updating every 3 seconds (but is better than freezes 30-60 seconds long when I use hkcam). When I add -vsync vfr to sender, framerate increases to ~7 fps.

Why I achieve so low fps using hkcam and receiving it on iPhone?

from hkcam.

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.