I'm using gstreamer to playback some H264 videos - one is 720p60 and one is 1080p30. The framerates are much worse than expected (the iMX can do 1080p30 and 720p60 allegedly....) and I am certain the hardware is doing the decoding as it only has 1-2% CPU utilisation.
Here are the commands I run to test the video. Either:
gst-launch-0.10 filesrc location=/usr/sample.mp4 ! qtdemux ! vpudec ! mfw_isink
or:
gplay /usr/sample.mp4
Both lines give me the same end result which is this:
1080p30 clip runs at 23fps (reported)
720p60 clip runs at 27fps (reported)
Why are the clips running so slowly? If I play back either clip in VLC on Windows the framerates are as expected; i.e. 30fps for the 1080p30 and 60fps for the 1080p60.
Thanks for your help,
Ralph