I am trying to set up rtp stream from my camera C920 with ardware-based coder to h264.
The frist step was to save encoded h264 directly from camera:
setting camera for right format:
v4l2-ctl -d /dev/video1 --set-fmt-video=width=800,height=448,pixelformat=1
v4l2-ctl -d /dev/video1 --set-parm=30
I tried some other method using some soft which grab h264 stream from camera and put in on pipe so ffmpeg can read it:
i've got that soft from here
While using command:
./capture -f 640x480 -c 5000 -o | ffmpeg -an -i - -vcodec copy -f mpegts udp://192.168.1.151:10000
I am able to see streamed video but it is delayed like 2 or 3s. Which is sadly unacceptable for me...