v4l2src device=/dev/video0 ! video/x-raw is not working
santhku1
santhosh at eilabs.co.in
Thu Jun 20 04:23:37 UTC 2019
Hi
I m working on I.Mx8mmini and i am facing the below issue from many days,
when i use the below gst_rtsp_media_factory_set_launch it works fine
gst_rtsp_media_factory_set_launch (factory,
"( videotestsrc ! x264enc ! rtph264pay pt=96 name=pay0 )");
but When i use the below gst_rtsp_media_factory_set_launch Iam getting the
below error
gst_rtsp_media_factory_set_launch (factory, "( "
"v4l2src device=/dev/video0 ! video/x-raw ! "
" rtph264pay name=pay0 pt=96 " ")");
0:00:04.438708075 4495 0x36622630 ERROR GST_PIPELINE
grammar.y:726:gst_parse_perform_link: could not link v4l2src0 to pay0, pay0
can't handle caps video/x-raw
0:00:04.438842328 4495 0x36622630 WARN rtspmediafactory
rtsp-media-factory.c:1454:default_create_element: recoverable parsing error:
could not link v4l2src0 to pay0, pay0 can't handle caps video/x-raw
0:00:04.444867441 4495 0xffffb00102d0 WARN v4l2
v4l2_calls.c:543:gst_v4l2_subscribe_event:<v4l2src0> Cannot subscribe
V4L2_EVENT_SOURCE_CHANGE or V4L2_EVENT_EOS event for device '/dev/video0'.
0:00:04.909678405 4495 0xffffa8004720 WARN v4l2bufferpool
gstv4l2bufferpool.c:794:gst_v4l2_buffer_pool_start:<v4l2src0:pool:src>
Uncertain or not eno[ 6793.312810] ov5640_mipi 2-003c: s_stream: 1
ugh buffers, enabling copy threshold
0:00:05.561473250 4495 0xffffa8004720 WARN [ 6793.953760] ov5640_mipi
2-003c: s_stream: 0
v4l2bufferpool
gstv4l2bufferpool.c:1213:gst_v4l2_buffer_pool_dqbuf:<v4l2src0:pool:src>
Driver should never set v4l2_buffer.field to ANY
0:00:05.561774255 4495 0xffffa8004720 WARN basesrc
gstbasesrc.c:3055:gst_base_src_loop:<v4l2src0> error: Internal data stream
error.
0:00:05.561805381 4495 0xffffa8004720 WARN basesrc
gstbasesrc.c:3055:gst_base_src_loop:<v4l2src0> error: streaming stopped,
reason not-linked (-1)
0:00:05.562566145 4495 0xffffb00102d0 WARN rtspmedia
rtsp-media.c:2720:default_handle_message: 0xffffb003a200: got error Internal
data stream error. (../../../../git/libs/gst/base/gstbasesrc.c(3055):
gst_base_src_loop ():
/GstPipeline:media-pipeline/GstBin:bin0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-linked (-1))
0:00:05.562641897 4495 0x36622630 WARN rtspmedia
rtsp-media.c:2989:wait_preroll: failed to preroll pipeline
0:00:05.562672522 4495 0x36622630 WARN rtspmedia
rtsp-media.c:3293:gst_rtsp_media_prepare: failed to preroll pipeline
0:00:05.578699198 4495 0x36622630 ERROR rtspclient
rtsp-client.c:1044:find_media: client 0x367a8130: can't prepare media
0:00:05.579126456 4495 0x36622630 ERROR rtspclient
rtsp-client.c:2898:handle_describe_request: client 0x367a8130: no media
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list