Re: How can i make GStreamer appsink Receive FPS same like streaming video or rtsp stream?
Hard to offer advice if you don't describe your environment. I'm assuming
linux on some embedded device?
I'm assuming that if you run the same pipeline with a fakesink there's no
speed issue? Just make a 1 minute test video and see how long it takes to
finish decoding the file and compare it to the video actual length.
If the video is 1 minute long at 15FPS and the above pipeline finishes in 2
minutes, then it's a hardware thing where reading and decoding the file just
takes that long. If this is the case, then maybe look at different decoders
like hardware decoders if your device supports it.
If the above pipeline finishes in 1 minute (or probably less), then
something in your appsink code is the bottleneck. If that's the case, start
by just pulling the sample then dropping the reference, benchmark, then go