issue about intel(x86) does not provide slice_height and otherwise.
Submitted by ji su
Link to original bug (#758933)
Description
Created attachment 316637
patch file, original gstamc.c, modified gstamc.c, logs about amc
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.
Attachment 316637, "patch file, original gstamc.c, modified gstamc.c, logs about amc":
intelpatch.zip
Version: 1.6.1