I'm playing back MP4 videos on iMX.6 with a gstreamer pipeline like this:
filesrc location=%s typefind=true ! aiurdemux ! vpudec ! mfw_v4lsink
This pipeline works for play, pause, and fast-forward, but in rewind moving objects leave a trail of corrupted macro-blocks. I enter rewind like this (rate == -2.0, ms == current position in ms):
gst_element_seek ((GstElement*)pipeline, rate, GST_FORMAT_TIME,
(GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_SKIP),
GST_SEEK_TYPE_SET, ms * 1000000);
I'd be satisfied if I could work around this by only showing key frames during rewind.
have you seen the gplay source code? With it, I am not seeing any macro-brock when rewinding. Source code is located on LTIB's gst-fsl-plugins package.
I see. Try better quality videos and see if you see the same blocks. In the other hand, there is a problem when doing many seeks (FF, REW), if you find this, it is a known issue...
I'm experiencing the Fast Forward / Rewind issue. After multiple seeks (random numbers of seeks) in the H264 clip, IMX crash and need a reboot.
Do you have more information about this issue ?
VPU fw = 2.3.10_r40778