Inogeni 4K -> USB3.0 and Jetson TX2

Nicolas Dufresne nicolas at ndufresne.ca
Thu Feb 1 23:25:33 UTC 2018


Le 1 févr. 2018 11:11, "pavelm" <pavel.mikhadzionak at gmail.com> a écrit :

I tried to capture 4k video from Inogeni via gstreamer and it's not working:

    gst-launch-1.0 v4l2src device=/dev/video0 !
"video/x-raw,width=3840,height=2160,format=I420" ! fakesink


Do you have the UVC kernel fix for the stride in NV12 and I420 ?

https://patchwork.linuxtv.org/patch/45357/


With GST_DEBUG="*:3" I see errors:

    ubuntu at tegra-ubuntu:~$ gst-launch-1.0 v4l2src device=/dev/video0 !
"video/x-raw,width=3840,height=2160,format=I420" ! fakesink
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    0:00:00.276135808 18119       0x60f320 WARN          v4l2bufferpool
gstv4l2bufferpool.c:1196:gst_v4l2_buffer_pool_dqbuf:<v4l2src0:pool:src>
Driver should never set v4l2_buffer.field to ANY
    0:00:00.276210433 18119       0x60f320 WARN          v4l2bufferpool
gstv4l2bufferpool.c:1958:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
Dropping corrupted buffer without payload
    0:00:00.276253730 18119       0x60f320 WARN          v4l2bufferpool
gstv4l2bufferpool.c:1958:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
Dropping corrupted buffer without payload
    0:00:00.328871196 18119       0x60f320 ERROR                default
video-frame.c:161:gst_video_frame_map_id: failed to map video frame plane 1
    0:00:00.328947998 18119       0x60f320 ERROR         v4l2bufferpool
gstv4l2bufferpool.c:161:gst_v4l2_buffer_pool_copy_buffer:<v4l2src0:pool:src>
could not map buffer
    0:00:00.328976798 18119       0x60f320 ERROR         v4l2bufferpool
gstv4l2bufferpool.c:1953:gst_v4l2_buffer_pool_process:<v4l2src0:pool:src>
failed to copy buffer
    0:00:00.329004031 18119       0x60f320 WARN                 basesrc
gstbasesrc.c:2939:gst_base_src_loop:<v4l2src0> error: Internal data stream
error.
    0:00:00.329015263 18119       0x60f320 WARN                 basesrc
gstbasesrc.c:2939:gst_base_src_loop:<v4l2src0> error: streaming stopped,
reason error (-5)
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
data stream error.
    Additional debug info:
    gstbasesrc.c(2939): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming stopped, reason error (-5)
    Execution ended after 0:00:00.186888513
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180201/75f670d0/attachment-0001.html>


More information about the gstreamer-devel mailing list