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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 19 19:50:04 UTC 2018


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

--- Comment #6 from Rob Gries <rob.gries at egwtech.com> ---
@Nicolas Dufresne: I was able to get 1.13 to compile via a new Yocto recipe
that I've dropped into my build, but this does not seem to make a difference,
even with the added h264parse element between v4l2h264enc and the rtspclient
sink element.

I'm still working on getting the 1.14 rc2 version to build via bitbake and will
continue on it and report back when I make any meaningful progress.

My new log is below:
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 !
h264parse ! rtspclientsink
location=rtsp://2113fb.entrypoint.cloud.wowza.com/app-c53a:1935
Setting pipeline to PAUSED ...
0:00:00.619713639  7612     0x27d86630 WARN                    v4l2
gstv4l2object.c:4071:gst_v4l2_object_probe_caps:<v4l2h264enc0:src> 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://2113fb.entrypoint.cloud.wowza.com/app-c53a: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
/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
0:00:01.116968372  7612     0x27d84450 WARN                GST_PADS
gstpad.c:4179: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.119411476  7612     0x27d84450 WARN          v4l2bufferpool
gstv4l2bufferpool.c:790: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
/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
Progress: (open) Retrieving server options
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending RECORD request
/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.376042406  7612     0x27d84450 WARN          v4l2bufferpool
gstv4l2bufferpool.c:790:gst_v4l2_buffer_pool_start:<v4l2h264enc0:pool:sink>
Uncertain or not enough buffers, enabling copy threshold
0:00:01.408890051  7612 0xffff9c002f70 WARN          v4l2bufferpool
gstv4l2bufferpool.c:1181:gst_v4l2_buffer_pool_dqbuf:<v4l2h264enc0:pool:src>
Driver should never set v4l2_buffer.field to ANY
0:00:01.412465564  7612     0x27d84450 WARN                 basesrc
gstbasesrc.c:3055:gst_base_src_loop:<v4l2src0> error: Internal data stream
error.
0:00:01.412515721  7612     0x27d84450 WARN                 basesrc
gstbasesrc.c:3055:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason
not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data
stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.149464867
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...

-- 
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