[Bug 794400] Issues when using rtspclientsink when using v4l2h264enc on Dragonboard 410c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 16 13:41:19 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794400

--- Comment #1 from Rob Gries <rob.gries at egwtech.com> ---
I went ahead and captured some more information using the GST_DEBUG=2 flag,
also I mistakenly had the endpoint shutdown on the cloud side. I have now
resolved that, and it definitely seems like I cannot get the encoder to
properly map a buffer for the frames incoming from the v4l2h264enc element:
GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video3 !
video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! v4l2h264enc
extra-controls="controls,h264_profile=4,video_bitrate=2000000;" !
video/x-h264,profile=main,level=4,stream-format=byte-stream,alignment=au !
mpegtsmux name=mux ! rtspclientsink location=
rtsp://<snipped>.entrypoint.cloud.wowza.com/<snipped>:1935
Setting pipeline to PAUSED ...
0:00:00.626412760  9321     0x23951430 WARN                    v4l2
gstv4l2object.c:1860:gst_v4l2_object_add_aspect_ratio:<v4l2h264enc0> Failed to
probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
0:00:00.626700890  9321     0x23951430 WARN                    v4l2
gstv4l2object.c:1860:gst_v4l2_object_add_aspect_ratio:<v4l2h264enc0> Failed to
probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
0:00:00.626881884  9321     0x23951430 WARN                    v4l2
gstv4l2object.c:1860:gst_v4l2_object_add_aspect_ratio:<v4l2h264enc0> Failed to
probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
0:00:00.627037720  9321     0x23951430 WARN                    v4l2
gstv4l2object.c:1860:gst_v4l2_object_add_aspect_ratio:<v4l2h264enc0> Failed to
probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://<snipped>.entrypoint.cloud.wowza.com/<snipped>:1935
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw,
format=(string)NV12, width=(int)1280, height=(int)720,
framerate=(fraction)30/1, interlace-mode=(string)progressive,
colorimetry=(string)1:4:7:1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
framerate=(fraction)30/1, interlace-mode=(string)progressive,
colorimetry=(string)1:4:7:1, pixel-aspect-ratio=(fraction)1/1
0:00:01.138369121  9321     0x2394fd40 WARN                GST_PADS
gstpad.c:4109:gst_pad_peer_query:<v4l2h264enc0:src> could not send sticky
events
/GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0.GstPad:src: caps =
video/x-h264, stream-format=(string)byte-stream, alignment=(string)au,
profile=(string)main, level=(string)1, width=(int)1280, height=(int)720,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1,
interlace-mode=(string)progressive, colorimetry=(string)1:4:7:1
Redistribute latency...
0:00:01.140412912  9321     0x2394fd40 WARN          v4l2bufferpool
gstv4l2bufferpool.c:754:gst_v4l2_buffer_pool_start:<v4l2h264enc0:pool:src>
Uncertain or not enough buffers, enabling copy threshold
/GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0.GstPad:sink: caps =
video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
framerate=(fraction)30/1, interlace-mode=(string)progressive,
colorimetry=(string)1:4:7:1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720,
framerate=(fraction)30/1, interlace-mode=(string)progressive,
colorimetry=(string)1:4:7:1, pixel-aspect-ratio=(fraction)1/1
Progress: (open) Retrieving server options
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0/GstBin:rtspbin/GstRtpBin:rtpbin0:
latency = 2000
/GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0/GstBin:rtspbin/GstRtpBin:rtpbin0:
ntp-time-source = NTP time based on realtime clock
0:00:01.435180408  9321     0x2394fd40 WARN          v4l2bufferpool
gstv4l2bufferpool.c:754:gst_v4l2_buffer_pool_start:<v4l2h264enc0:pool:sink>
Uncertain or not enough buffers, enabling copy threshold
0:00:01.472391047  9321 0xffffa4002940 WARN          v4l2bufferpool
gstv4l2bufferpool.c:1207:gst_v4l2_buffer_pool_dqbuf:<v4l2h264enc0:pool:src>
Driver should never set v4l2_buffer.field to ANY
0:00:01.476860563  9321     0x2394fd40 WARN                 basesrc
gstbasesrc.c:2939:gst_base_src_loop:<v4l2src0> error: Internal data stream
error.
0:00:01.477054786  9321     0x2394fd40 WARN                 basesrc
gstbasesrc.c:2939:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason
not-negotiated (-4)
0:00:01.478028659  9321     0x2394fd40 WARN               mpegtsmux
mpegtsmux.c:868:mpegtsmux_create_streams:<mux> error: Could not create handler
for stream
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data
stream error.
Additional debug info:
../../../../gstreamer-1.12.2/libs/gst/base/gstbasesrc.c(2939):
gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.050197043
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list