linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: Fabio Estevam <festevam@gmail.com>,
	Robert Schwebel <r.schwebel@pengutronix.de>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
	Jean-Michel Hautbois <jhautbois@gmail.com>,
	Steve Longerbeam <slongerbeam@gmail.com>,
	linux-media <linux-media@vger.kernel.org>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Sascha Hauer <kernel@pengutronix.de>
Subject: Re: Using the coda driver with Gstreamer
Date: Tue, 18 Nov 2014 13:41:39 -0500	[thread overview]
Message-ID: <546B92E3.30105@collabora.com> (raw)
In-Reply-To: <CAOMZO5CtXEzBw2_McwTpn3S4FB_8wRE-HYTghv=ceBo_AAuMqA@mail.gmail.com>



Le 2014-11-18 13:08, Fabio Estevam a écrit :
> On Mon, Nov 17, 2014 at 5:58 PM, Fabio Estevam <festevam@gmail.com> wrote:
> 
>>> Just a wild guess - we usually test here with dmabuf capable devices and
>>> without X. As you are using gstglimagesink, the code around
>>> ext/gl/gstglimagesink.c (453) looks like gst_gl_context_create() went
>>> wrong. Does your GL work correctly? Maybe you can test the glimagesink
>>> with a simpler pipeline first.
>>
>> Yes, maybe it would be better to remove X from my initial tests. I
>> will give it a try.
> 
> Now I have a rootfs without X:

Ok, nice, though what is your plan to display the result now ? This is
important information to get any help.

> 
> root@imx6qsabresd:/home# gst-inspect-1.0 | grep v4l2
> video4linux2:  v4l2src: Video (video4linux2) Source
> video4linux2:  v4l2sink: Video (video4linux2) Sink
> video4linux2:  v4l2radio: Radio (video4linux2) Tuner
> video4linux2:  v4l2deviceprovider (GstDeviceProviderFactory)
> video4linux2:  v4l2video1dec: V4L2 Video Decoder
> 
> Basic test works fine:
> root@imx6qsabresd:/home# gst-launch-1.0 videotestsrc ! fbdevsink
> 
> root@imx6qsabresd:/home# gst-launch-1.0 playbin uri=file:///home/H264_test1_Talk
> inghead_mp4_480x360.mp4
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Redistribute latency...
> [  138.267329] coda 2040000.vpu: CODA PIC_RUN timeout
> 
> I was not able to switch to Gstreamer 1.4.4 yet, so this was on 1.4.1.
> 

Ok, let us know when the switch is made. Assuming your goal is to get
the HW decoder working, you should test with simpler pipeline. In your
specific case, you should try and get this pipeline to preroll:

gst-launch-1.0 \
  filesrc location=/home/H264_test1_Talk inghead_mp4_480x360.mp4 \
  ! qtdemux ! h264parse ! v4l2video1dec ! fakesink

If that pipeline does not reach PLAYING state, it means the decoder
never produced any output. You should also learn to use the tracing
system in GStreamer and make sure you have the source code next to you.
I would also suggest to try your best to sort as much as you can, make
sure you understand what you are trying to achieve and then come back
with questions.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html

  reply	other threads:[~2014-11-18 18:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 17:29 Using the coda driver with Gstreamer Fabio Estevam
2014-11-17 17:45 ` Nicolas Dufresne
2014-11-17 18:20   ` Fabio Estevam
2014-11-17 17:48 ` Andrey Utkin
2014-11-17 18:23   ` Fabio Estevam
2014-11-17 18:55 ` Robert Schwebel
2014-11-17 19:58   ` Fabio Estevam
2014-11-18 18:08     ` Fabio Estevam
2014-11-18 18:41       ` Nicolas Dufresne [this message]
2014-12-01 19:17         ` Fabio Estevam
2015-02-18  8:42           ` Zahari Doychev
2015-02-18 13:34             ` Nicolas Dufresne
2015-02-19  7:24               ` Zahari Doychev
2015-02-19 13:30                 ` Nicolas Dufresne
  -- strict thread matches above, loose matches on Subject: below --
2014-11-18 21:51 Peter Seiderer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546B92E3.30105@collabora.com \
    --to=nicolas.dufresne@collabora.com \
    --cc=festevam@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=jhautbois@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-media@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=r.schwebel@pengutronix.de \
    --cc=slongerbeam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).