-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reducing Latency in ffplay with ffmpeg-rockchip Compared to gstreamer for RTSP Streams #8
Comments
I would suggest not to use ffplay at all, since it does not suppport the drm prime frames. |
@daoan1412
So I doubt such a high latency is caused by ffplay/SDL itself and the internal software frame copies. And the |
definetly the frame copies, internal ffmpeg yuv copy method is quite potato. |
@nyanmisaka @hbiyik |
I will put PR wiki entry about how to get hw acceleration when rendering, but currently it is a little early, soon will be ready though |
I did find an issue regarding the high latency. Please try this patch and see if it helps. |
hi @nyanmisaka it seems that this patch has fixed the high latency issue for ffplay. Currently, I notice only about a 500ms delay compared to gstreamer, which is acceptable for my application. |
Closed by e753665 |
Hello
ffmpeg-rockchip
community,I am experiencing a noticeable delay issue when using
ffplay
compared togstreamer
for RTSP stream handling. Withffplay
, using the following command:I encounter a delay of about 1-2 seconds compared to
gstreamer
:Could you please explain why there is such a delay difference between these two approaches? Is there a way to optimize
ffplay
performance in this context, especially withffmpeg-rockchip
, to reduce latency and achieve similar performance asgstreamer
?Any insights or guidance would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: