[meta-freescale] Gstreamer1.0_1.4.5 with imxeglvivsink errors

Carlos Rafael Giani dv at pseudoterminal.org
Wed Oct 14 06:47:00 PDT 2015


First, this pipeline is incorrect:

gst-launch-1.0 filesrc location=/home/root/song.mp4 ! h264parse ! 
imxvpudec ! imxipuvideotransform ! imxg2dvideosink

it should be like:

gst-launch-1.0 filesrc location=/home/root/song.mp4 ! qtdemux ! 
h264parse ! imxvpudec ! imxipuvideotransform ! imxg2dvideosink


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"  :

gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! imxeglvivsink


Third, does this work?

gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! imxg2dvideosink


Fourth, the fact that this produces a "could not determine type of 
stream" error indicates that your mp4 file is broken:

gst-launch-1.0 filesrc location=/home/root/song.mp4 ! decodebin ! fakesink




On 10/14/2015 03:42 PM, Vikas Patil wrote:
> So far I am able to run the following pipeline successfully till now. 
> I am using
>
> gstreamer1.0_1.4.5 <http://gstreamer1.0_1.4.5.bb/>
>
> gstreamer1.0-plugins-imx_0.11.1 
> <http://gstreamer1.0-plugins-imx_0.11.1.bb/>
>
> Linux 3.14.28
>
> Weston 1.8.0
>
> #gst-launch-1.0 -v imxv4l2videosrc device=/dev/video0 ! imxg2dvideosink
>
> #gst-launch-1.0  imxv4l2videosrc ! imxg2dvideosink
>
> #gst-launch-1.0 videotestsrc pattern=00 ! imxg2dvideosink 
> framebuffer=/dev/fb0
>
> However, it would be good if anyone can help me to run with 
> "imxeglvivsink". I am getting following error
>
> ##gst-launch-1.0 -v imxv4l2videosrc device=/dev/video0 ! imxeglvivsink
>
> Setting pipeline to PAUSED ...
>
> ERROR: Pipeline doesn't want to pause.
>
> Setting pipeline to NULL ...
>
> Freeing pipeline ...
>
> 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?
>
> ##gst-launch-1.0 filesrc location=/home/root/song.mp4 ! h264parse ! 
> imxvpudec ! imxipuvideotransform ! imxg2dvideosink
>
> Setting pipeline to PAUSED ...
>
> [INFO]  Product Info: i.MX6Q/D/S
>
> Pipeline is PREROLLING ...
>
> [INFO]  bitstreamMode 1, chromaInterleave 0, mapType 0, 
> tiled2LinearEnable 0
>
> [INFO]  bitstreamMode 1, chromaInterleave 0, mapType 0, 
> tiled2LinearEnable 0
>
> ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: 
> GStreamer encountered a general stream error.
>
> Additional debug info:
>
> /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:
>
> streaming stopped, reason error
>
> ERROR: pipeline doesn't want to preroll.
>
> Setting pipeline to NULL ...
>
> Freeing pipeline ...
>
> Regards,
>
> Vikash
>
>
> On Wed, Oct 14, 2015 at 4:09 PM, Vikas Patil <vikasmpatil at gmail.com 
> <mailto:vikasmpatil at gmail.com>> wrote:
>
>     Dear All,
>
>     I am trying following command with gstreamer with imxeglvivsink on
>     i.MX6Solo but could not able to see working till now.
>
>     Could you provide some example pipeline commands to run with
>     imxeglvivsink? How could I fix the below errors? Any
>     inputs/suggestions?
>
>     How should I test my gstreamer setup with imxeglvivsink?
>
>     gstreamer1.0_1.4.5.bb <http://gstreamer1.0_1.4.5.bb>
>
>     gstreamer1.0-plugins-imx_0.11.1.bb
>     <http://gstreamer1.0-plugins-imx_0.11.1.bb>
>
>     Linux 3.14.28
>     Weston 1.8.0
>
>     I am running following command when desktop-shell is loaded by weston.
>
>     1.From File
>     root at linux3.14.28:~# gst-launch-1.0 playbin
>     uri=file:///home/root/song.mp4 video sink=imxeglvivsink
>
>     Setting pipeline to PAUSED ...
>     ERROR: Pipeline doesn't want to pause.
>     Setting pipeline to NULL ...
>     Freeing pipeline ...
>
>     2. Camera video (my camera application working fine using
>     wayland/gles)
>     root at linux3.14.28:~#gst-launch-1.0 imxv4l2videosrc
>     device=/dev/video0 ! imxeglvivsink
>     Setting pipeline to PAUSED ...
>     ERROR: Pipeline doesn't want to pause.
>     Setting pipeline to NULL ...
>     Freeing pipeline ...
>
>     3. #gst-launch-1.0 filesrc location=/home/root/song.mp4 !
>     decodebin ! fakesink
>
>     Setting pipeline to PAUSED ...
>     Pipeline is PREROLLING ...
>     ERROR: from element
>     /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
>     Could not determine type of stream.
>     Additional debug info:
>     /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
>     ERROR: pipeline doesn't want to preroll.
>     Setting pipeline to NULL ...
>     Freeing pipeline ...
>
>     4.#gst-launch-1.0 filesrc location=/home/root/song.mp4 ! decodebin
>     !  imxeglvivsink
>
>     Setting pipeline to PAUSED ...
>     ERROR: Pipeline doesn't want to pause.
>     Setting pipeline to NULL ...
>     Freeing pipeline ...
>     However fakesink seems to be working
>
>     # gst-launch-1.0 imxv4l2videosrc device=/dev/video0 ! fakesink
>
>     Setting pipeline to PAUSED ...
>     Pipeline is live and does not need PREROLL ...
>     Setting pipeline to PLAYING ...
>     New clock: GstSystemClock
>     [ 3533.593484] imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5
>     = 0x00000001
>
>     Thanks & Regards,
>     Vikash
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20151014/8aef828f/attachment.html>


More information about the meta-freescale mailing list