hasmagazines.blogg.se

Ffmpeg rtsp max delay reached. need to consume packet
Ffmpeg rtsp max delay reached. need to consume packet










Don't know why.įor mpv playback the behavior is like with the gstreamer src: But a real movie src worked for both (First ffmpeg cmdline). I had issues both with vlc and ffplay when using the testsrc. You can try this ffmpeg line to create the stream:įfmpeg -r 3 -i -preset ultrafast -an -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://127.0.0.1:5004įfmpeg -r 3 -f lavfi -i testsrc -s 640x480 -pix_fmt yuv420p -preset ultrafast -an -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://127.0.0.1:5004 It behaves quite similar although ffplay stream playback is not always flawless anymore. Hey, I tried rebuild this issue with ffmpeg as streaming source. Plays the stream with the given framerate.įfplay -loglevel debug -i -protocol_whitelist rtp,file,udp test.sdp Actual behaviorĭecoding breaks after a few seconds with decoding errors, artefacts and choppy playback Log file Mpv -no-config -log-file=output.txt -demuxer-seekable-cache=no -cache=no test.sdp Expected behavior I tried disabling caching but the behaviour is the same: Mpv -no-config -log-file=output.txt test.sdp Gst-launch-1.0 -v videotestsrc ! video/x-raw,width=640,height=480 ! videorate ! video/x-raw,framerate=3/1 ! x264enc sliced-threads=true tune=zerolatency speed-preset=1 ! rtph264pay ! udpsink host=127.0.0.1 port=5004 Other framerates behave quiet similar (<25 fps). Mpv 0.28.0-289-g13b90bc Copyright © 2000-2018 mpv/MPlayer/mplayer2 projectsįfmpeg version: N-45682-gacdea9e7c Reproduction stepsĬreate a rtp stream with a custom framerate (3 fps for example).












Ffmpeg rtsp max delay reached. need to consume packet