From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2F644E0086D; Mon, 18 May 2015 05:26:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 88AFFE007B6 for ; Mon, 18 May 2015 05:26:07 -0700 (PDT) Received: from [10.1.14.248] (vpn.streamunlimited.com [91.114.0.140]) by ptmx.org (Postfix) with ESMTPSA id 083A52EDFE for ; Mon, 18 May 2015 14:25:53 +0200 (CEST) Message-ID: <5559DA5B.8060609@pseudoterminal.org> Date: Mon, 18 May 2015 14:26:03 +0200 From: Carlos Rafael Giani User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <555979FE.50306@satel.pl> <5559A04D.5080500@mail.bg> <5559D536.5030206@mlbassoc.com> In-Reply-To: <5559D536.5030206@mlbassoc.com> Subject: Re: imxipuvideosink in 3.10.53 on Nitrogex6xlite X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 12:26:11 -0000 Content-Type: multipart/alternative; boundary="------------080108080502000303070406" --------------080108080502000303070406 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Use the imxipuvideosink's window-x-coord/window-y-coord/window-width/window-height properties. Right now the coordinates have to be passed manually. I have working code that creates a window with an empty interior where the IPU can paint in, but it is still fairly bug-ridden. On 05/18/2015 02:04 PM, Gary Thomas wrote: > On 2015-05-18 02:18, Nikolay Dimitrov wrote: >> Hi Pawel, >> >> On 05/18/2015 08:34 AM, Paweł Żabiełowicz wrote: >>> Hi all, >>> >>> I'm having some problems running video playback on Nitrogen6x-Lite. I'm >>> using fido with 3.10.53 kernel. Display is running properly as I see a >>> console after start, but starting any simple video with Gstreamer1.0 + >>> gstreamer-imx plugins does not give any video output, even though the >>> decoding looks like it's working. >>> >>> Gstreamer log: >>> gst-launch-1.0 rtspsrc location=rtsp://watch:watch13579 >>> 192.168.7.24:554/profile3/media.smp ! rtph264depay ! imxvpudec ! >>> imxipuvideosink >>> [INFO] Product Info: i.MX6Q/D/S >>> Pipeline is live and does not need PREROLL ... >>> Progress: (open) Opening Stream >>> Progress: (connect) Connecting to >>> rtsp://192.168.7.24:554/profile3/media.smp >>> Progress: (open) Retrieving server options >>> Progress: (open) Retrieving media info >>> Progress: (request) SETUP stream 0 >>> Progress: (request) SETUP stream 1 >>> Progress: (open) Opened Stream >>> Setting pipeline to PLAYING ... >>> New clock: GstSystemClock >>> Progress: (request) Sending PLAY request >>> Progress: (request) Sending PLAY request >>> Progress: (request) Sent PLAY request >>> ^Chandling interrupt. >>> Interrupt: Stopping pipeline ... >>> Execution ended after 0:00:15.125067669 >>> Setting pipeline to PAUSED ... >>> Setting pipeline to READY ... >>> Setting pipeline to NULL ... >>> Freeing pipeline ... >>> >>> Plugins installed: >>> >>> gst-inspect-1.0 | grep imx >>> imxipu: imxipuvideotransform: Freescale IPU video transform >>> imxipu: imxipuvideosink: Freescale IPU video sink >>> imxvpu: imxvpudec: Freescale VPU video decoder >>> imxvpu: imxvpuenc_h263: Freescale VPU h.263 video encoder >>> imxvpu: imxvpuenc_h264: Freescale VPU h.264 video encoder >>> imxvpu: imxvpuenc_mpeg4: Freescale VPU MPEG-4 video encoder >>> imxvpu: imxvpuenc_mjpeg: Freescale VPU motion JPEG video encoder >>> imxg2d: imxg2dvideosink: Freescale G2D video sink >>> imxg2d: imxg2dvideotransform: Freescale G2D video transform >>> imxaudio: imxuniaudiodec: Freescale i.MX uniaudio decoder >>> imxv4l2src: imxv4l2src: V4L2 CSI Video Source >>> imxpxp: imxpxpvideosink: Freescale PxP video sink >>> imxpxp: imxpxpvideotransform: Freescale PxP video transform >>> imxeglvivsink: imxeglvivsink: Freescale EGL video sink >>> >>> While using imxeglvivsink I'm seeing red flash for few milliseconds >>> over >>> the console and that's it. >>> Any advices will be helpful. >> >> Please download this file and try a local file playback, to eliminate >> possible networking issues: >> >> https://download.blender.org/durian/trailer/sintel_trailer-1080p.mp4 >> >> Also, please check whether an automatically constructed pipeline is >> able to play the file above: >> >> gst-launch-1.0 playbin uri=file:///sintel_trailer-1080p.mp4 >> >> You can try same tests with Xorg running. > > What would that pipeline look like (to force the result into a window > on the screen)? As is, this simple command takes over the entire screen. > > --------------080108080502000303070406 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Use the imxipuvideosink's window-x-coord/window-y-coord/window-width/window-height properties. Right now the coordinates have to be passed manually. I have working code that creates a window with an empty interior where the IPU can paint in, but it is still fairly bug-ridden.


On 05/18/2015 02:04 PM, Gary Thomas wrote:
On 2015-05-18 02:18, Nikolay Dimitrov wrote:
Hi Pawel,

On 05/18/2015 08:34 AM, Paweł Żabiełowicz wrote:
Hi all,

I'm having some problems running video playback on Nitrogen6x-Lite. I'm
using fido with 3.10.53 kernel. Display is running properly as I see a
console after start, but starting any simple video with Gstreamer1.0 +
gstreamer-imx plugins does not give any video output, even though the
decoding looks like it's working.

Gstreamer log:
gst-launch-1.0 rtspsrc location=rtsp://watch:watch13579
192.168.7.24:554/profile3/media.smp ! rtph264depay ! imxvpudec !
imxipuvideosink
[INFO]    Product Info: i.MX6Q/D/S
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://192.168.7.24:554/profile3/media.smp
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:15.125067669
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Plugins installed:

gst-inspect-1.0 | grep imx
imxipu:  imxipuvideotransform: Freescale IPU video transform
imxipu:  imxipuvideosink: Freescale IPU video sink
imxvpu:  imxvpudec: Freescale VPU video decoder
imxvpu:  imxvpuenc_h263: Freescale VPU h.263 video encoder
imxvpu:  imxvpuenc_h264: Freescale VPU h.264 video encoder
imxvpu:  imxvpuenc_mpeg4: Freescale VPU MPEG-4 video encoder
imxvpu:  imxvpuenc_mjpeg: Freescale VPU motion JPEG video encoder
imxg2d:  imxg2dvideosink: Freescale G2D video sink
imxg2d:  imxg2dvideotransform: Freescale G2D video transform
imxaudio:  imxuniaudiodec: Freescale i.MX uniaudio decoder
imxv4l2src:  imxv4l2src: V4L2 CSI Video Source
imxpxp:  imxpxpvideosink: Freescale PxP video sink
imxpxp:  imxpxpvideotransform: Freescale PxP video transform
imxeglvivsink:  imxeglvivsink: Freescale EGL video sink

While using imxeglvivsink I'm seeing red flash for few milliseconds over
the console and that's it.
Any advices will be helpful.

Please download this file and try a local file playback, to eliminate
possible networking issues:

https://download.blender.org/durian/trailer/sintel_trailer-1080p.mp4

Also, please check whether an automatically constructed pipeline is
able to play the file above:

gst-launch-1.0 playbin uri=file:///sintel_trailer-1080p.mp4

You can try same tests with Xorg running.

What would that pipeline look like (to force the result into a window
on the screen)?  As is, this simple command takes over the entire screen.



--------------080108080502000303070406--