<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi everyone, <br>
    I am trying to play a custom pipeline able to play mp4 files on
    android. So my first step has been checking that this pipeline works
    correctly by using gst-launch-1.0 in the terminal (ubuntu14.04):<br>
    <br>
    <blockquote><small>gst-launch-1.0 souphttpsrc
        location=<a class="moz-txt-link-freetext" href="http://192.168.0.10/videos/test.mp4">http://192.168.0.10/videos/test.mp4</a> ! qtdemux
        name=demux demux. ! queue ! aacparse ! faad ! autoaudiosink
        demux. ! queue ! h264parse ! avdec_h264 ! autovideosink</small><br>
    </blockquote>
    My next step has been using the tutorial5 example for android
    project. And the modifications that I have made are the ones I show
    here:<br>
    <br>
    - Adding more GstElements in the struct CustomData:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <blockquote>
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small><span style="color:#000080;font-weight:bold;">typedef struct </span>_CustomData {
    jobject app;                  <span style="color:#808080;font-style:italic;">/* Application instance, used to call its methods. A global reference is kept. */
</span><span style="color:#808080;font-style:italic;">    </span>GstElement *pipeline, *src, *demux, *audio_q, *video_q,
            *aacparse, *h264parse, *faad, *avdec_h264,
            *audioconvert, *videoconvert, *audiosink, *videosink;         <span style="color:#808080;font-style:italic;">/* The running pipeline */
</span><span style="color:#808080;font-style:italic;">    </span>GMainContext *context;        <span style="color:#808080;font-style:italic;">/* GLib context used to run the main loop */
</span><span style="color:#808080;font-style:italic;">    </span>GMainLoop *main_loop;         <span style="color:#808080;font-style:italic;">/* GLib main loop */
</span><span style="color:#808080;font-style:italic;">    </span>[...]
<span style="color:#808080;font-style:italic;"></span>} CustomData;</small></pre>
    </blockquote>
    - Adding a function in order to add dynamically pads:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <blockquote>
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small><span style="color:#000080;font-weight:bold;">static void </span>dynamic_addpad(GstElement *src, GstPad *new_pad, CustomData *data) {
    <span style="color:#000080;font-weight:bold;">char</span>* pad_name = gst_pad_get_name(new_pad);
    g_print(<span style="color:#008000;font-weight:bold;">" In dynamic ADDING PAD %s</span><span style="color:#000080;font-weight:bold;">\n</span><span style="color:#008000;font-weight:bold;">"</span>, pad_name);

    <span style="color:#000080;font-weight:bold;">if </span>(g_str_has_prefix(pad_name,<span style="color:#008000;font-weight:bold;">"audio"</span>)) {
        GstPad *audiodemuxsink = gst_element_get_static_pad(data->audio_q,<span style="color:#008000;font-weight:bold;">"sink"</span>);
        gst_pad_link(new_pad,audiodemuxsink );
        g_print (<span style="color:#008000;font-weight:bold;">"Sink pad link: '%s'</span><span style="color:#000080;font-weight:bold;">\n</span><span style="color:#008000;font-weight:bold;">"</span>, pad_name);
    }
    <span style="color:#000080;font-weight:bold;">else if </span>(g_str_has_prefix(pad_name,<span style="color:#008000;font-weight:bold;">"video"</span>)) {
        GstPad *videodemuxsink = gst_element_get_static_pad(data->video_q,<span style="color:#008000;font-weight:bold;">"sink"</span>);
        gst_pad_link(new_pad,videodemuxsink );
        g_print (<span style="color:#008000;font-weight:bold;">"Sink pad link: '%s'</span><span style="color:#000080;font-weight:bold;">\n</span><span style="color:#008000;font-weight:bold;">"</span>, pad_name);
    }
}</small></pre>
    </blockquote>
    - In the <i><span style="color:#000080;font-weight:bold;">static
        void </span></i><i>*app_function (</i><i><span
        style="color:#000080;font-weight:bold;">void </span></i><i>*userdata)
    </i>I have commented the instruction:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <blockquote>
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small><span style="color: rgb(128, 128, 128);">data->pipeline = gst_parse_launch("playbin", &error);</span></small></pre>
    </blockquote>
    And this is what I have written instead of:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <blockquote>
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small><span style="color:#808080;font-style:italic;">/* Build pipeline */
</span>data->pipeline = gst_pipeline_new (<span style="color:#008000;font-weight:bold;">"pipeline"</span>);
data->src = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"souphttpsrc"</span>, <span style="color:#008000;font-weight:bold;">"src"</span>);
data->demux = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"qtdemux"</span>, <span style="color:#008000;font-weight:bold;">"qtdemux"</span>);
data->video_q = gst_element_factory_make(<span style="color:#008000;font-weight:bold;">"queue2"</span>, <span style="color:#008000;font-weight:bold;">"queue-video"</span>);
data->h264parse = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"h264parse"</span>, <span style="color:#008000;font-weight:bold;">"h264-parse"</span>);
data->avdec_h264 = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"avdec_h264"</span>, <span style="color:#008000;font-weight:bold;">"h264dec"</span>);
data->videoconvert = gst_element_factory_make(<span style="color:#008000;font-weight:bold;">"videoconvert"</span>, <span style="color:#008000;font-weight:bold;">"videoconvert"</span>);
data->videosink = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"autovideosink"</span>, <span style="color:#008000;font-weight:bold;">"autovideosink"</span>);
data->audio_q = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"queue2"</span>, <span style="color:#008000;font-weight:bold;">"queue_audio"</span>);
data->aacparse = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"aacparse"</span>, <span style="color:#008000;font-weight:bold;">"aacparse"</span>);
data->faad = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"faad"</span>, <span style="color:#008000;font-weight:bold;">"faad"</span>);
data->audioconvert = gst_element_factory_make(<span style="color:#008000;font-weight:bold;">"audioconvert"</span>, <span style="color:#008000;font-weight:bold;">"audioconvert"</span>);
data->audiosink = gst_element_factory_make (<span style="color:#008000;font-weight:bold;">"autoaudiosink"</span>, <span style="color:#008000;font-weight:bold;">"autoaudiosink"</span>);

g_signal_connect (data->demux, <span style="color:#008000;font-weight:bold;">"pad-added"</span>, G_CALLBACK (dynamic_addpad), &data);

gst_bin_add_many(GST_BIN(data->pipeline), data->src, data->demux, data->video_q, data->h264parse, data->avdec_h264, data->videoconvert, data->videosink, data->audio_q, data->aacparse, data->faad, data->audioconvert, data->audiosink, NULL);

gst_element_link(data->src, data->demux);
gst_element_link_many(data->video_q, data->h264parse, data->avdec_h264, data->videoconvert, data->videosink, NULL);
gst_element_link_many(data->audio_q, data->aacparse, data->faad, data->audioconvert, data->audiosink, NULL);</small></pre>
    </blockquote>
    - Finally, inside the function <i><span
        style="color:#000080;font-weight:bold;">void </span></i><i>gst_native_set_uri
      (JNIEnv* env, jobject thiz, jstring uri) </i>I have replaced the
    instruction:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <blockquote>
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small><span style="color: rgb(128, 128, 128);">g_object_set(data->pipeline, "uri", char_uri, NULL);
</span></small></pre>
    </blockquote>
    For:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <blockquote>
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><small>g_object_set(G_OBJECT(data->src), <span style="color:#008000;font-weight:bold;">"location"</span>, char_uri, NULL);</small></pre>
    </blockquote>
    I know I am missing something because if I use the playbin element
    it successfully plays the file. But this way the result I obtain in
    the device is "Unfortunately, App has stopped." And the logcat is
    showing the next info:<br>
    <blockquote><small>04-15 11:30:23.952 21178-21178/? E/Zygote:
        MountEmulatedStorage()</small><br>
      <small>04-15 11:30:23.952 21178-21178/? E/Zygote: v2</small><br>
      <small>04-15 11:30:23.952 21178-21178/? I/libpersona: KNOX_SDCARD
        checking this for 10210</small><br>
      <small>04-15 11:30:23.952 21178-21178/? I/libpersona: KNOX_SDCARD
        not a persona</small><br>
      <small>04-15 11:30:23.952 21178-21178/? I/SELinux: Function:
        selinux_compare_spd_ram, SPD-policy is existed.
        and_ver=SEPF_SM-T800_5.0.2 ver=38</small><br>
      <small>04-15 11:30:23.952 21178-21178/? I/SELinux: Function:
        selinux_compare_spd_ram , priority [2] , priority version is
        VE=SEPF_SM-T800_5.0.2-1_0039</small><br>
      <small>04-15 11:30:23.957 21178-21178/? E/SELinux: [DEBUG]
        get_category: variable seinfo: default sensitivity: NULL,
        cateogry: NULL</small><br>
      <small>04-15 11:30:23.957 21178-21178/? I/art: Late-enabling
        -Xcheck:jni</small><br>
      <small>04-15 11:30:23.992 21178-21178/? D/TimaKeyStoreProvider:
        TimaSignature is unavailable</small><br>
      <small>04-15 11:30:23.992 21178-21178/? D/ActivityThread: Added
        TimaKeyStore provider</small><br>
      <small>04-15 11:30:24.082 21178-21178/com.sample.app
        W/ResourceType: Failure getting entry for 0x01080ac1 (t=7
        e=2753) (error -75)</small><br>
      <small>04-15 11:30:24.127 21178-21178/com.sample.app
        D/PhoneWindow: *FMB* installDecor mIsFloating : false</small><br>
      <small>04-15 11:30:24.127 21178-21178/com.sample.app
        D/PhoneWindow: *FMB* installDecor flags : -2139029248</small><br>
      <small>04-15 11:30:24.137 21178-21178/com.sample.app I/onCreate:
        INICIO--------------------------------------------------------</small><br>
      <small>04-15 11:30:24.362 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/mpeg-L1</small><br>
      <small>04-15 11:30:24.362 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/mpeg-L2</small><br>
      <small>04-15 11:30:24.362 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/x-ms-wma</small><br>
      <small>04-15 11:30:24.362 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/x-ima</small><br>
      <small>04-15 11:30:24.367 21178-21178/com.sample.app
        W/VideoCapabilities: Unrecognized profile/level 32768/2 for
        video/mp4v-es</small><br>
      <small>04-15 11:30:24.367 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/wvc1</small><br>
      <small>04-15 11:30:24.367 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv</small><br>
      <small>04-15 11:30:24.377 21178-21178/com.sample.app
        W/VideoCapabilities: Unrecognized profile/level 32768/2 for
        video/mp4v-es</small><br>
      <small>04-15 11:30:24.377 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/wvc1</small><br>
      <small>04-15 11:30:24.377 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv</small><br>
      <small>04-15 11:30:24.377 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv7</small><br>
      <small>04-15 11:30:24.382 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv8</small><br>
      <small>04-15 11:30:24.382 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/sorenson</small><br>
      <small>04-15 11:30:24.382 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/mp43</small><br>
      <small>04-15 11:30:24.387 21178-21178/com.sample.app
        W/VideoCapabilities: Unrecognized profile/level 32768/2 for
        video/mp4v-es</small><br>
      <small>04-15 11:30:24.397 21178-21178/com.sample.app
        I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es</small><br>
      <small>04-15 11:30:24.407 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/mpeg-L1</small><br>
      <small>04-15 11:30:24.407 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/mpeg-L2</small><br>
      <small>04-15 11:30:24.407 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/x-ms-wma</small><br>
      <small>04-15 11:30:24.407 21178-21178/com.sample.app
        W/AudioCapabilities: Unsupported mime audio/x-ima</small><br>
      <small>04-15 11:30:24.407 21178-21178/com.sample.app
        E/GStreamer+amc: 0:00:00.270971833 0xb397ff00
        gstamc.c:1716:scan_codecs Decoder codec has unknown color
        formats, ignoring</small><br>
      <small>04-15 11:30:24.407 21178-21178/com.sample.app
        W/VideoCapabilities: Unrecognized profile/level 32768/2 for
        video/mp4v-es</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        E/GStreamer+amc: 0:00:00.271627500 0xb397ff00
        gstamc.c:1716:scan_codecs Decoder codec has unknown color
        formats, ignoring</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        E/GStreamer+amc: 0:00:00.272087542 0xb397ff00
        gstamc.c:1716:scan_codecs Decoder codec has unknown color
        formats, ignoring</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/wvc1</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        E/GStreamer+amc: 0:00:00.272615958 0xb397ff00
        gstamc.c:1716:scan_codecs Decoder codec has unknown color
        formats, ignoring</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        E/GStreamer+amc: 0:00:00.273042958 0xb397ff00
        gstamc.c:1716:scan_codecs Decoder codec has unknown color
        formats, ignoring</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        W/VideoCapabilities: Unrecognized profile/level 32768/2 for
        video/mp4v-es</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/wvc1</small><br>
      <small>04-15 11:30:24.412 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv</small><br>
      <small>04-15 11:30:24.417 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv7</small><br>
      <small>04-15 11:30:24.417 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/x-ms-wmv8</small><br>
      <small>04-15 11:30:24.417 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/sorenson</small><br>
      <small>04-15 11:30:24.417 21178-21178/com.sample.app
        W/VideoCapabilities: Unsupported mime video/mp43</small><br>
      <small>04-15 11:30:24.417 21178-21178/com.sample.app
        W/VideoCapabilities: Unrecognized profile/level 32768/2 for
        video/mp4v-es</small><br>
      <small>04-15 11:30:24.422 21178-21178/com.sample.app
        I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.297406250 0xb397ff00
        gstamc.c:3447:gst_amc_codec_info_to_caps Unsupported mimetype
        'audio/mpeg-L1'</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.298147667 0xb397ff00
        gstamc.c:3447:gst_amc_codec_info_to_caps Unsupported mimetype
        'audio/x-ms-wma'</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.298364167 0xb397ff00
        gstamc.c:3447:gst_amc_codec_info_to_caps Unsupported mimetype
        'audio/x-ima'</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.300607125 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/wvc1'</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.300711125 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/x-ms-wmv'</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.300979792 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/x-ms-wmv7'</small><br>
      <small>04-15 11:30:24.437 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.301280250 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/x-ms-wmv8'</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.301639792 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/sorenson'</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.301927458 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/mp43'</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.302537750 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000011</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.302589250 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x00000010</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.302634083 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000013</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.302682000 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.302736833 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000012</small><br>
      <small>04-15 11:30:24.442 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.302779750 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x0000000f</small><br>
      <small>04-15 11:30:24.447 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.310212042 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000011</small><br>
      <small>04-15 11:30:24.447 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.310283917 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x00000010</small><br>
      <small>04-15 11:30:24.447 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.311032708 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000013</small><br>
      <small>04-15 11:30:24.447 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.311095792 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.447 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.311188875 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000012</small><br>
      <small>04-15 11:30:24.447 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.311235208 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x0000000f</small><br>
      <small>04-15 11:30:24.452 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.312864625 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000011</small><br>
      <small>04-15 11:30:24.452 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.312923208 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x00000010</small><br>
      <small>04-15 11:30:24.452 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.312971750 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000013</small><br>
      <small>04-15 11:30:24.452 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.313019875 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.452 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.313080333 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000012</small><br>
      <small>04-15 11:30:24.452 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.313124667 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x0000000f</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.316907833 0xb397ff00
        gstamc.c:3778:gst_amc_codec_info_to_caps Unsupported mimetype
        'video/x-vnd.on2.vp9'</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.317210667 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.317606833 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.318413667 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.318858375 0xb397ff00
        gstamc.c:3461:gst_amc_codec_info_to_caps Unknown color format
        0x7f000789</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.319930542 0xb397ff00
        gstamc.c:3447:gst_amc_codec_info_to_caps Unsupported mimetype
        'audio/opus'</small><br>
      <small>04-15 11:30:24.457 21178-21178/com.sample.app
        W/GStreamer+amc: 0:00:00.320162375 0xb397ff00
        gstamc.c:3447:gst_amc_codec_info_to_caps Unsupported mimetype
        'audio/gsm'</small><br>
      <small>04-15 11:30:24.687 21178-21178/com.sample.app I/GStreamer:
        GStreamer initialization complete</small><br>
      <small></small><br>
      <small>04-15 11:30:24.737 21178-21178/com.sample.app I/GStreamer:
        Activity created with no saved state:</small><br>
      <small>04-15 11:30:24.737 21178-21178/com.sample.app
        I/GStreamer:   playing:false position:0 duration: 0 uri:
        <a class="moz-txt-link-freetext" href="http://192.168.0.10/videos/test.mp4">http://192.168.0.10/videos/test.mp4</a></small><br>
      <small>04-15 11:30:24.742 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.601445625 0xb397ff00
        src/main/jni/tutorial-5.c:461:gst_native_init Created CustomData
        at 0x9e30aa90</small><br>
      <small>04-15 11:30:24.742 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.601510667 0xb397ff00
        src/main/jni/tutorial-5.c:463:gst_native_init Created GlobalRef
        for app object at 0x100402</small><br>
      <small>04-15 11:30:24.742 21178-21215/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.602217833 0x9e319720
        src/main/jni/tutorial-5.c:359:app_function Creating pipeline in
        CustomData at 0x9e30aa90</small><br>
      <small>04-15 11:30:24.752 21178-21216/com.sample.app
        D/OpenGLRenderer: Render dirty regions requested: true</small><br>
      <small>04-15 11:30:24.752 21178-21178/com.sample.app D/Atlas:
        Validating map...</small><br>
      <small>04-15 11:30:24.762 21178-21215/com.sample.app
        W/GLib+GLib-GObject: g_object_get_valist: object class
        'GstPipeline' has no property named 'flags'</small><br>
      <small>04-15 11:30:24.762 21178-21215/com.sample.app
        W/GLib+GLib-GObject: g_object_set_valist: object class
        'GstPipeline' has no property named 'flags'</small><br>
      <small>04-15 11:30:24.762 21178-21215/com.sample.app
        W/libOpenSLES: Leaving Object::GetInterface
        (SL_RESULT_FEATURE_UNSUPPORTED)</small><br>
      <small>04-15 11:30:24.767 21178-21178/com.sample.app
        D/PhoneWindow: *FMB* isFloatingMenuEnabled mFloatingMenuBtn :
        null</small><br>
      <small>04-15 11:30:24.767 21178-21178/com.sample.app
        D/PhoneWindow: *FMB* isFloatingMenuEnabled return false</small><br>
      <small>04-15 11:30:24.767 21178-21178/com.sample.app I/GStreamer:
        onMeasure called with 320x240</small><br>
      <small>04-15 11:30:24.767 21178-21178/com.sample.app I/GStreamer:
        onMeasure called with 320x240</small><br>
      <small>04-15 11:30:24.777 21178-21215/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.639624833 0x9e319720
        src/main/jni/tutorial-5.c:431:app_function Entering main loop...
        (CustomData:0x9e30aa90)</small><br>
      <small>04-15 11:30:24.777 21178-21215/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.639861000 0x9e319720
        src/main/jni/tutorial-5.c:94:attach_current_thread Attaching
        thread 0x9e319720</small><br>
      <small>04-15 11:30:24.782 21178-21215/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.641679875 0x9e319720
        src/main/jni/tutorial-5.c:128:set_ui_message Setting message to:
        State changed to READY</small><br>
      <small>04-15 11:30:24.787 21178-21216/com.sample.app
        I/OpenGLRenderer: Initialized EGL, version 1.4</small><br>
      <small>04-15 11:30:24.802 21178-21216/com.sample.app
        I/OpenGLRenderer: HWUI protection enabled for context , 
        &this =0x9e522088 ,&mEglDisplay = 1 , &mEglConfig =
        -1638665292 </small><br>
      <small>04-15 11:30:24.812 21178-21216/com.sample.app
        D/OpenGLRenderer: Get maximum texture size. GL_MAX_TEXTURE_SIZE
        is 8192</small><br>
      <small>04-15 11:30:24.812 21178-21216/com.sample.app
        D/OpenGLRenderer: Enabling debug mode 0</small><br>
      <small>04-15 11:30:24.827 21178-21178/com.sample.app I/GStreamer:
        onMeasure called with 320x240</small><br>
      <small>04-15 11:30:24.827 21178-21178/com.sample.app I/GStreamer:
        onMeasure called with 320x240</small><br>
      <small>04-15 11:30:24.832 21178-21178/com.sample.app D/GStreamer:
        Surface created: Surface(name=null)/@0x3b4e8b3c</small><br>
      <small>04-15 11:30:24.832 21178-21178/com.sample.app D/GStreamer:
        Surface changed to format 4 width 1810 height 1357</small><br>
      <small>04-15 11:30:24.832 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.696318750 0xb397ff00
        src/main/jni/tutorial-5.c:552:gst_native_surface_init Received
        surface 0xbe916ac0 (native window 0x9e72f008)</small><br>
      <small>04-15 11:30:24.832 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.696378083 0xb397ff00
        src/main/jni/tutorial-5.c:94:attach_current_thread Attaching
        thread 0xb397ff00</small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.696501458 0xb397ff00
        src/main/jni/tutorial-5.c:335:check_initialization_complete
        Initialization complete, notifying application.
        native_window:0x9e72f008 main_loop:0x9e42d380</small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app
        W/GLib+GLib-GObject: invalid cast from 'GstPipeline' to
        'GstVideoOverlay'</small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app E/GLib:
        gst_video_overlay_set_window_handle: assertion
        'GST_IS_VIDEO_OVERLAY (overlay)' failed</small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app I/GStreamer:
        GStreamer initialized:</small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app
        I/GStreamer:   playing:true position:0 uri:
        <a class="moz-txt-link-freetext" href="http://192.168.0.10/videos/test.mp4">http://192.168.0.10/videos/test.mp4</a></small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.696692250 0xb397ff00
        src/main/jni/tutorial-5.c:488:gst_native_set_uri Setting URI to
        <a class="moz-txt-link-freetext" href="http://192.168.0.10/videos/test.mp4">http://192.168.0.10/videos/test.mp4</a></small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.697475250 0xb397ff00
        src/main/jni/tutorial-5.c:524:gst_native_set_position Scheduling
        seek to 0:00:00.000000000 for later</small><br>
      <small>04-15 11:30:24.837 21178-21178/com.sample.app
        D/GStreamer+tutorial-5: 0:00:00.697532208 0xb397ff00
        src/main/jni/tutorial-5.c:502:gst_native_play Setting state to
        PLAYING</small><br>
      <small>04-15 11:30:24.857 21178-21178/com.sample.app
        W/GLib+GLib-Net: couldn't load TLS file database: Failed to open
        file
        '/data/data/com.sample.app/files/ssl/certs/ca-certificates.crt':
        No such file or directory</small><br>
      <small>04-15 11:30:24.902 21178-21230/com.sample.app
        W/GStreamer+qtdemux: 0:00:00.763496960 0x9e318400
        qtdemux.c:5791:gst_qtdemux_process_adapter:<qtdemux>
        Unknown fourcc while parsing header : free</small><br>
      <small>04-15 11:30:24.932 21178-21178/com.sample.app I/GStreamer:
        onMeasure called with 320x240</small><br>
      <small>04-15 11:30:24.932 21178-21178/com.sample.app I/GStreamer:
        onMeasure called with 320x240</small><br>
      <small>04-15 11:30:24.937 21178-21178/com.sample.app I/Timeline:
        Timeline: Activity_idle id: android.os.BinderProxy@950b23f
        time:6247694</small><br>
      <small>04-15 11:30:24.982 21178-21230/com.sample.app
        W/GStreamer+qtdemux: 0:00:00.842990751 0x9e318400
        qtdemux.c:7953:qtdemux_parse_segments:<qtdemux> streaming;
        discarding edit list segments</small><br>
      <small>04-15 11:30:24.982 21178-21230/com.sample.app
        W/GStreamer+qtdemux: 0:00:00.846336751 0x9e318400
        qtdemux.c:7953:qtdemux_parse_segments:<qtdemux> streaming;
        discarding edit list segments</small><br>
      <small>04-15 11:30:24.987 21178-21230/com.sample.app
        I/GLib+stdout:  In dynamic ADDING PAD video_0</small><br>
      <small>04-15 11:30:24.987 21178-21230/com.sample.app A/libc: Fatal
        signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 21230
        (src:src)</small><br>
    </blockquote>
    Thanks for your help, <br>
    <br>
    Dani<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </body>
</html>