[Bug 794400] New: Issues when using rtspclientsink when using v4l2h264enc on Dragonboard 410c
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 16 13:30:08 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=794400
Bug ID: 794400
Summary: Issues when using rtspclientsink when using
v4l2h264enc on Dragonboard 410c
Classification: Platform
Product: GStreamer
Version: 1.12.2
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: rob.gries at egwtech.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
It seems that when using the v4l2h264enc element with the rtspclientsink has a
few issues when using the Dragonboard 410c's video encoder.
Basically I cannot seem to get the board to start delivering a stream to a
remote server running on Wowza's Video Cloud service using the following
pipeline:
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=20000
00;" ! video/x-h264,profile=main,level=4,stream-format=byte-stream,alignment=au
! rtspclientsink
location=rtsp://<snipped>.entrypoint.cloud.wowza.com/app-<snipped>:1935
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://<snipped>.entrypoint.cloud.wowza.com/app-<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
/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...
/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
ERROR: from element /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0:
Could not open resource for reading and writing.
Additional debug info:
../../../gst-rtsp-server-1.12.2/gst/rtsp-sink/gstrtspclientsink.c(2924):
gst_rtsp_client_sink_connect_to_server ():
/GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0:
Failed to connect. (Generic error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Recommended reproduction steps:
1. Sign up for a Wowza Video Cloud trial -
https://www.wowza.com/pricing/cloud-free-trial
2. Bring up a Dragonboard 410c and camera (I use an OV5640 on a mezzanine)
running the kernel mentioned in this post (or the current 18.01 release)
3. Install GStreamer 1.12.2 and gstrtspserver
4. Set up a cloud video endpoint -
https://www.wowza.com/docs/getting-started-with-wowza-streaming-cloud (I used
the other RTSP option to setup streaming)
5. Attempt streaming using the pipeline referenced above
Some information about my setup:
Kernel Version: 4.14.15 (Link to repo:
https://github.com/RobGries/96b_4.14_kernel)
Device: Dragonboard 410c
GStreamer-1.0 version: GStreamer Core Library version 1.12.2
--
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