Hi,
I am using vlc to read mpegts mpeg4 udp input from ffmpeg and stream out as rtsp server.
The ffmpeg output is a live screen capture stream.
but in my rtsp client I am getting many frame freezes and "picture is too late to be displayed" warnings.
What does this error mean ?
can this be related to the fact that the udp stream is of low bitrate ( 200KB ) ?
this is the ffmpeg command:
image-generator | ffmpeg -y -probesize 32 -analyzeduration 32 -an -f rawvideo -framerate 6 -s 400x640 -pix_fmt rgba -i - -vcodec mpeg4 -probesize 32 -analyzeduration 32 -r 6 -bsf:v h264_mp4toannexb -qmin 15 -b 200000 -f mpegts udp://127.0.0.1:1234
this is the rtsp server command:
vlc udp://@:1234 :cr-average=10000 :network-caching=300 :rtsp-caching=50 :sout=#rtp{sdp=rtsp://:4000/test,port=5004,timeout=0,caching=50,ttl=5}
and the client command:
vlc rtsp://@192.168.1.119:4000/test --rtsp-tcp :rtsp-caching=50 :network-caching=300 :cr-average=10000
The warnings:
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main warning: picture is too late to be displayed (missing 2059 ms)
main warning: picture is too late to be displayed (missing 1983 ms)
main warning: picture is too late to be displayed (missing 1803 ms)
main warning: picture is too late to be displayed (missing 175 ms)
main warning: picture is too late to be displayed (missing 217 ms)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main warning: picture is too late to be displayed (missing 2089 ms)
main warning: picture is too late to be displayed (missing 1960 ms)
main warning: picture is too late to be displayed (missing 1840 ms)
main warning: picture is too late to be displayed (missing 167 ms)
main warning: picture is too late to be displayed (missing 198 ms)