Hi,
I'm using GStreamer on the DM8168 to stream mpeg4 using rtp. The GStreamer plugin I use to interface with openmax is an "in house" adaptation of gst-openmax. Excepted for a few parameters, the same plugin code is used to encode in h264 or mpeg4. The GStreamer version used is an unmodified 0.10.35.
When I want to stream a still image, the mpeg4 codec seems to hang after a few frames (around 8). The codec doesn't free the omx buffers sent to its input (OMX_CALLBACKTYPE.EmptyBufferDone). When the codec is halted, it suddenly frees the 4 buffers.
An example pipeline is the following:
gst-launch videotestsrc pattern=snow ! imagefreeze ! omxmpeg4enc ! rtpmp4vpay ! udpsink -->freeze
The same pipeline without the imagefreeze component or when used with h264 won't freeze:
gst-launch videotestsrc pattern=snow ! omxmpeg4enc ! rtpmp4vpay ! udpsink --> work
gst-launch videotestsrc pattern=snow ! imagefreeze ! omxh264enc ! rtph264pay ! udpsink --> work
Does this problem occurs with the ti-version of the codec? Do you have any suggestion to solve this issue?
Thanks