Streaming live wih Raspberry PI Camera on a C# Application -
i'm trying use raspberry pi guide car c# application computer. raspberry , computer booth connected router. want receive live streaming raspberry camera computer can control car. i've seen how broadcast on browser, want receive live streaming directly c# application. there way this?
i'm making assumptions here since there's not detail in question, but, if want stream raspberry pi, it's easy using ffmpeg. there's thousand command line parameters, trick;
ffmpeg -y -loglevel warning -f dshow -i video="screen-capture-recorder" -vf crop=690:388:136:0 -r 30 -s 962x388 -threads 2 -vcodec libx264 -vpre baseline -vpre my_ffpreset -f flv rtmp:///live/mystream.sdp
see here more docs: https://trac.ffmpeg.org/wiki/streamingguide
on c# side, need receive video stream. there's quite few options rtmp and/or rtsp, here's one: https://code.google.com/p/rtmp-mediaplayer/ there many others.
depending on you're doing video (overlays? vision?) you'll want pick right format, bitrate, , container make processing simpler.
Comments
Post a Comment