gstreamer-android on x86

Jisoo Kim ganjisoo at gmail.com
Tue Dec 1 00:23:29 PST 2015


Hello


I'm trying to build a movie player based on gstreamer android, x86
processor (Intel Z3835F).

I want to play an mp4 media file whose video codec is h264/avc but
gstreamer printed below:"Error received from element
amcvideodec-omxintelhwvdh264-n: Gstreamer encountered a general
supporting library error "

So, I modified ${SDK}/gst-plugins-bad-1.0-static-1.5/sys/androidmedia/gstamc.c
like below:

gboolean
gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info,
    const GstAmcCodecInfo * codec_info, const gchar * mime, gint color_format,
    gint width, gint height, gint stride, gint slice_height, gint crop_left,
    gint crop_right, gint crop_top, gint crop_bottom)
{  ...  if (g_str_has_prefix (codec_info->name, "OMX.Intel.")) {

         // added OMX.Intel. part         slice_height = height;     }
  ...

Then just play (never seek) was well but when i jumped to any position
of media, gstreamer printed below:
"Error received from element amcvideodec-omxintelhwvdh264-n: No valid
frames decoded before end of stream"

Unfortunately, I couldn't find any information about x86-based plugins.

How could i play a .mp4 media file (h264/avc)?

What did I miss?


Thank you for reading.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20151201/9c1dd6ed/attachment.html>


More information about the gstreamer-android mailing list