Very low fps when decoding with omxh264dec
When trying to decode a local file on Raspberry, I get very low fps (like 1 or 2 frames per second). The same thing happens when trying to decode an RTSP stream. According to log files and graphs made with graphviz, pipe is built normally, but decoding doesn't work as it has to. Log file and graphs are attached. The pipe was built with the following command:
gst-launch-1.0 filesrc location= ~/Downloads/bbb.mp4 ! qtdemux ! h264parse ! omxh264dec ! videoconvert ! ximagesink