From: Hans Verkuil <hverkuil@xs4all.nl>
To: Ran Shalit <ranshalit@gmail.com>, linux-media@vger.kernel.org
Subject: Re: gstreamer and v4l2
Date: Tue, 15 Mar 2016 08:18:03 +0100 [thread overview]
Message-ID: <56E7B72B.802@xs4all.nl> (raw)
In-Reply-To: <CAJ2oMhJpGaQwhbTB6x+KmtGBV0cG8ykZWNL6KAotDyH40Krwow@mail.gmail.com>
On 03/15/2016 08:10 AM, Ran Shalit wrote:
> Hello,
>
> This is a bit offtopic, so I will understand if you rather not discuss that...
>
> I am trying to use gstreamer with v4l2 vivi device,
> I first check the capabilities with
>
> gst-launch-1.0 --gst-debug=v4l2src:5 v4l2src device="/dev/video0" !
> fakesink 2>&1
>
> and it gives many capabilities such as the following:
>
> video/x-raw-yuv, format=(string)YUY2, framerate=(fraction)[1/1000,
> 1000/1], width=(int) 640, height=(int)180, interlaced=(boolean)true
>
> So I tried to run as following:
>
> gst-launch-0.10 v4l2src device="/dev/video0" !
> video/x-raw,width=640,height=180,framerate=30 ! autovideosink
>
> But it keeps giving me auto negotiation error -4.
> Trying to give other values did not help neither.
>
> It is probaby more a gstreamer issue, but if someone is familiar and
> can shed some light on this will will help.
Actually, I suspect that vivi is the culprit. It had some non-standard
behavior that might mess up gstreamer. One of the (many) reasons it was
replaced with vivid.
Regards,
Hans
next prev parent reply other threads:[~2016-03-15 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 7:10 gstreamer and v4l2 Ran Shalit
2016-03-15 7:18 ` Hans Verkuil [this message]
2016-03-15 7:22 ` Ran Shalit
2016-03-15 10:28 ` Antonio Ospite
2016-03-15 11:05 ` Vladimir Zapolskiy
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=56E7B72B.802@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=ranshalit@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