Problem with raspivid delay - Raspberry Pi Forums


hi,

i've been trying stream multicast video rpi3 + v2 camera using raspivid + avconv.

code: select all

raspivid -t 0 -w 1280 -h 720 -fps 25 -b 5000000 -o - | avconv -i pipe:0 -vcodec copy -an -f avi udp://239.0.1.23:1234
@ first thought didn't work since avconv froze after displaying "build on" message despite showing camera preview ok. however, after approx. 20 sec stream starts. delay somehow buffered , players ~20 sec delay.
when stream first appears, avconv starts displaying message

code: select all

non-monotonous dts in output stream 0; previous <xxxx>, current 0;changing <xxxx+1>. may result in incorrect timestamps in output file.
i've been trying different resolutions, bitrate , fps, problem remains. i've alsot tried using cvlc instead of avconv waits ~20 sec.

causing this?

do need send containerised stream? raspivid can stream straight network socket raw h264 stream.

code: select all

raspivid -t 0 -w 1280 -h 720 -fps 25 -b 5000000 -o udp://239.0.1.23:1234


raspberrypi



Comments