<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">First, this pipeline is incorrect:<br>
      <br>
      gst-launch-1.0 filesrc location=/home/root/song.mp4 ! h264parse !
      imxvpudec ! imxipuvideotransform ! imxg2dvideosink<br>
      <br>
      it should be like:<br>
      <br>
      gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux !
      h264parse ! imxvpudec ! imxipuvideotransform ! imxg2dvideosink<br>
      <br>
      <br>
      Second, without log output it is impossible to say anything. For
      exampl, run this pipeline with the GST_DEBUG environment variable
      set to "2,*imx*:9"  :<br>
      <br>
      gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! imxeglvivsink<br>
      <br>
      <br>
      Third, does this work?<br>
      <br>
      gst-launch-1.0 imxv4l2videosrc device=/dev/video0 !
      imxg2dvideosink<br>
      <br>
      <br>
      Fourth, the fact that this produces a "could not determine type of
      stream" error indicates that your mp4 file is broken:<br>
      <br>
      gst-launch-1.0 filesrc location=/home/root/song.mp4 ! decodebin !
      fakesink<br>
      <br>
      <br>
      <br>
      <br>
      On 10/14/2015 03:42 PM, Vikas Patil wrote:<br>
    </div>
    <blockquote
cite="mid:CA+kt3u0Sc+QJJEFLpF499DeXrc-Ft7ycR9coLnrvo+Sbnc7bwQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">So far I am able to run the following pipeline
        successfully till now. I am using<br>
        <br>
        <p style="margin-top:auto;margin-bottom:auto"><span
            style="color:rgb(31,73,125)"><a moz-do-not-send="true"
              class="" href="http://gstreamer1.0_1.4.5.bb/"
              rel="nofollow">gstreamer1.0_1.4.5</a></span></p>
        <p style="margin-top:auto;margin-bottom:auto"><span
            style="color:rgb(31,73,125)"><a moz-do-not-send="true"
              class="" href="http://gstreamer1.0-plugins-imx_0.11.1.bb/"
              rel="nofollow">gstreamer1.0-plugins-imx_0.11.1</a></span></p>
        <p style="margin-bottom:12pt">Linux 3.14.28</p>
        <p style="margin-bottom:12pt">Weston 1.8.0</p>
        <p>#gst-launch-1.0 -v imxv4l2videosrc device=/dev/video0 !
          imxg2dvideosink</p>
        <p>#gst-launch-1.0  imxv4l2videosrc ! imxg2dvideosink</p>
        <p>#gst-launch-1.0 videotestsrc pattern=00 ! imxg2dvideosink
          framebuffer=/dev/fb0</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>However, it would be good if anyone can help me to run with
          "imxeglvivsink". I am getting following error</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>##gst-launch-1.0 -v imxv4l2videosrc device=/dev/video0 !
          imxeglvivsink</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>Setting pipeline to PAUSED ...</p>
        <p>ERROR: Pipeline doesn't want to pause.</p>
        <p>Setting pipeline to NULL ...</p>
        <p>Freeing pipeline ...</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>Also not able to verify video encode and decode. Could you
          point me to some standard video stream for decode I can test
          with (may be h264)  and from where can I download?</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>##gst-launch-1.0 filesrc location=/home/root/song.mp4 !
          h264parse ! imxvpudec ! imxipuvideotransform ! imxg2dvideosink</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>Setting pipeline to PAUSED ...</p>
        <p>[INFO]  Product Info: i.MX6Q/D/S</p>
        <p>Pipeline is PREROLLING ...</p>
        <p>[INFO]  bitstreamMode 1, chromaInterleave 0, mapType 0,
          tiled2LinearEnable 0</p>
        <p>[INFO]  bitstreamMode 1, chromaInterleave 0, mapType 0,
          tiled2LinearEnable 0</p>
        <p>ERROR: from element
          /GstPipeline:pipeline0/GstH264Parse:h264parse0: GStreamer
          encountered a general stream error.</p>
        <p>Additional debug info:</p>
        <p>/data/work/vipatil/ELINA_081015/elina-distro/build-orinoco/tmp/work/cortexa9hf-vfp-neon-elina-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbaseparse.c(3264):

          gst_base_parse_loop ():
          /GstPipeline:pipeline0/GstH264Parse:h264parse0:</p>
        <p>streaming stopped, reason error</p>
        <p>ERROR: pipeline doesn't want to preroll.</p>
        <p>Setting pipeline to NULL ...</p>
        <p>Freeing pipeline ...</p>
        <p style="min-height:8pt;padding:0px"> </p>
        <p>Regards,</p>
        <p>Vikash</p>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Oct 14, 2015 at 4:09 PM, Vikas
          Patil <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:vikasmpatil@gmail.com" target="_blank">vikasmpatil@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>Dear All,<br>
                  <br>
                </div>
                <div>I am trying following command with gstreamer with
                  imxeglvivsink on i.MX6Solo but could not able to see
                  working till now.<br>
                  <br>
                </div>
                <div>Could you provide some example pipeline commands to
                  run with imxeglvivsink? How could I fix the below
                  errors? Any inputs/suggestions?<br>
                  <br>
                </div>
                <div>How should I test my gstreamer setup with
                  imxeglvivsink?<br>
                </div>
                <div><br>
                  <p class="MsoNormal"><span
                      style="color:rgb(31,73,125)"><a
                        moz-do-not-send="true"
                        href="http://gstreamer1.0_1.4.5.bb"
                        target="_blank">gstreamer1.0_1.4.5.bb</a></span></p>
                  <p class="MsoNormal"><span
                      style="color:rgb(31,73,125)"><a
                        moz-do-not-send="true"
                        href="http://gstreamer1.0-plugins-imx_0.11.1.bb"
                        target="_blank">gstreamer1.0-plugins-imx_0.11.1.bb</a></span></p>
                  Linux 3.14.28<br>
                </div>
                <div>Weston 1.8.0<br>
                  <br>
                </div>
                <div>I am running following command when desktop-shell
                  is loaded by weston.<br>
                  <br>
                </div>
                <div>1.From File<br>
                </div>
                <div><a class="moz-txt-link-abbreviated" href="mailto:root@linux3.14.28:~#">root@linux3.14.28:~#</a> gst-launch-1.0 playbin
                  uri=<a class="moz-txt-link-freetext" href="file:///home/root/song.mp4">file:///home/root/song.mp4</a> video
                  sink=imxeglvivsink<br>
                  <br>
                  Setting pipeline to PAUSED ...<br>
                  ERROR: Pipeline doesn't want to pause.<br>
                  Setting pipeline to NULL ...<br>
                  Freeing pipeline ...<br>
                  <br>
                </div>
                <div>2. Camera video (my camera application working fine
                  using wayland/gles)<br>
                </div>
                <div><a class="moz-txt-link-abbreviated" href="mailto:root@linux3.14.28:~#gst-launch-1.0">root@linux3.14.28:~#gst-launch-1.0</a> imxv4l2videosrc
                  device=/dev/video0 ! imxeglvivsink<br>
                  Setting pipeline to PAUSED ...<br>
                  ERROR: Pipeline doesn't want to pause.<br>
                  Setting pipeline to NULL ...<br>
                  Freeing pipeline ...<br>
                  <br>
                  3. #gst-launch-1.0 filesrc
                  location=/home/root/song.mp4 ! decodebin ! fakesink<br>
                  <br>
                  Setting pipeline to PAUSED ...<br>
                  Pipeline is PREROLLING ...<br>
                  ERROR: from element
                  /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
                  Could not determine type of stream.<br>
                  Additional debug info:<br>
                  /data/work/vipatil/ELINA_081015/elina-distro/build-orinoco/tmp/work/cortexa9hf-vfp-neon-elina-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/plugins/elements/gsttypefindelement.c(1083):
                  gst_type_find_element_loop ():
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind<br>
                  ERROR: pipeline doesn't want to preroll.<br>
                  Setting pipeline to NULL ...<br>
                  Freeing pipeline ...<br>
                  <br>
                  4.#gst-launch-1.0 filesrc location=/home/root/song.mp4
                  ! decodebin !  imxeglvivsink<br>
                  <br>
                  Setting pipeline to PAUSED ...<br>
                  ERROR: Pipeline doesn't want to pause.<br>
                  Setting pipeline to NULL ...<br>
                  Freeing pipeline ...<br>
                </div>
                <div>However fakesink seems to be working<br>
                  <br>
                  # gst-launch-1.0 imxv4l2videosrc device=/dev/video0 !
                  fakesink<br>
                  <br>
                  Setting pipeline to PAUSED ...<br>
                  Pipeline is live and does not need PREROLL ...<br>
                  Setting pipeline to PLAYING ...<br>
                  New clock: GstSystemClock<br>
                  [ 3533.593484] imx-ipuv3 2400000.ipu: IPU Warning -
                  IPU_INT_STAT_5 = 0x00000001<br>
                  <br>
                  Thanks & Regards,<br>
                </div>
              </div>
              Vikash<br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>