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.
gst-launch-1.0 filesrc location=test.mp4 ! qtdemux ! h264parse !
v4l2h264dec ! 'video/x-raw,format=I420' ! fakesink
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
from there.
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel