After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742087 - videoconvert fails to map buffer from v4l2src
videoconvert fails to map buffer from v4l2src
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-29 12:19 UTC by hptsf
Modified: 2015-01-15 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description hptsf 2014-12-29 12:19:52 UTC
OS: fedora18
version:gst-launch-1.0.10
command:gst-launch-1.0  v4l2src device=/dev/video0 ! 'video/x-raw,format=Y42B,width=1024,height=768' ! videoconvert ! xvimage
Tips:
WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: Internal GStreamer error: code not implemented. Please file a bug at http:....
Additional debug info:
gstvideofilter.c(289): gst_video_filter_transform():.....
invalid video buffer received
Comment 1 Tim-Philipp Müller 2014-12-29 12:40:27 UTC
Please don't mark bugs as blocker unless asked to do so by a developer.

Problem is that the buffer could not be mapped.

Have you tried with a more recent version of fedora and/or GStreamer? (1.4.x or git master)
Comment 2 hptsf 2014-12-31 06:42:35 UTC
"buffer could not be mapped", why?
And
i have tried the newer gstreamer(1.4.4).
but the problem still appear.
Comment 3 Nicolas Dufresne (ndufresne) 2015-01-03 16:20:48 UTC
This looks like some metric provided by the kernel don't match GStreamer expected metrics for this Y42B format. It is likely a kernel bug, at least it was the case last time I have used a driver with such format supported. But before doing too much, would it be possible to provide with a debug log. Try with:

GST_DEBUG="v4l2*:7" gst-launch-1.0  v4l2src device=/dev/video0 ! 'video/x-raw,format=Y42B,width=1024,height=768' ! videoconvert ! xvimagesink 2> gst.log

Then use the attachment feature of bugzilla to share this log. Would be nice to share the kernel version, driver/HW in used. It is unlikely one of us will manage to reproduce, as this format is only produce by few HW, hence it's unlikely one of us owns a camera to help with debugging. We could at least have a look at the associated driver code.
Comment 4 hptsf 2015-01-14 01:31:03 UTC
kernel version: Timesys Fedora18 Remix, only for intel bay trail platform.
The atomisp driver comes from the package named kernel-3.8.0-1.src.rpm which provided by Timesys.
Comment 5 hptsf 2015-01-14 01:39:39 UTC
The gst.log file can't send to internet.
Comment 6 hptsf 2015-01-14 01:45:01 UTC
(In reply to comment #3)
> This looks like some metric provided by the kernel don't match GStreamer
> expected metrics for this Y42B format. It is likely a kernel bug, at least it
> was the case last time I have used a driver with such format supported. But
> before doing too much, would it be possible to provide with a debug log. Try
> with:
> GST_DEBUG="v4l2*:7" gst-launch-1.0  v4l2src device=/dev/video0 !
> 'video/x-raw,format=Y42B,width=1024,height=768' ! videoconvert ! xvimagesink 2>
> gst.log
> Then use the attachment feature of bugzilla to share this log. Would be nice to
> share the kernel version, driver/HW in used. It is unlikely one of us will
> manage to reproduce, as this format is only produce by few HW, hence it's
> unlikely one of us owns a camera to help with debugging. We could at least have
> a look at the associated driver code.

-------------------------------------------------------
Sorry, the gst.log file can't be sended to internet.

Kernel version: Timesys Fedora18 Remix(3.8.0-1), only for intel bay trail platform.
The atomisp driver comes from the package named kernel-3.8.0-1.src.rpm which
provided by Timesys.
Comment 7 Nicolas Dufresne (ndufresne) 2015-01-14 14:14:59 UTC
(In reply to comment #6)
> -------------------------------------------------------
> Sorry, the gst.log file can't be sended to internet.

Can you clarify, is your work under NDA, or simply that bugzilla says it's to big ?
Comment 8 hptsf 2015-01-15 06:04:19 UTC
under NDA.
Comment 9 Nicolas Dufresne (ndufresne) 2015-01-15 13:38:22 UTC
Then I'm sorry. Please contact one of the consultancy for more help. They will be able to sign an NDA with your company and offer services.

That one I know well are:

collabora.com
centricular.com

There is more I'm sure, this is just starter.