|
在rk3288 Ubuntu上使用gstreamer 解析rtsp流
发表于 2016-2-25 13:49:10
浏览:14068
|
回复:2
打印
只看该作者
[复制链接]
楼主
有没有哪位前辈使用gst-launch rtspsrc location= 之类的命令 解析过rtsp流
firefly@firefly:~$ gst-launch-1.0 rtspsrc location=rtsp://192.168.88.110/1 ! rtph264depay ! capsfilter caps="video/x-h264,width=1920,height=1080,framerate=(fraction)25/1" ! h264parse ! decodebin ! autovideosink --gst-debug=*:2
libEGL warning: DRI2: failed to authenticate
0:00:01.286433167 2106 0x13f420 WARN GST_REGISTRY gstregistry.c:1787:gst_update_registry: registry update failed: Error writing registry cache to /home/firefly/.cache/gstreamer-1.0/registry.arm.bin: Permission denied
Setting pipeline to PAUSED ...
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
0:00:01.328128084 2106 0x13f420 ERROR default ../../../gst/vaapi/gstvaapivideocontext.c:173:gst_vaapi_video_context_propagate:<autovideosink0-actual-sink-vaapi> failed to get VA-API display connection
libEGL warning: DRI2: failed to authenticate
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.88.110/1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:01.681108418 2106 0xb320e4f0 WARN rtpjitterbuffer rtpjitterbuffer.c:183:rtp_jitter_buffer_set_clock_rate: Clock rate changed from 0 to 90000
0:00:01.714418501 2106 0xb320e3b0 WARN rtpjitterbuffer rtpjitterbuffer.c:183:rtp_jitter_buffer_set_clock_rate: Clock rate changed from 0 to 8000
Redistribute latency...
0:00:01.747060376 2106 0x1f0af0 ERROR egladaption gstegladaptation.c:673:gst_egl_adaptation_choose_config:<autovideosink0-actual-sink-eglgles> Could not find matching framebuffer config
0:00:01.747139709 2106 0x1f0af0 ERROR egladaption gstegladaptation.c:686:gst_egl_adaptation_choose_config:<autovideosink0-actual-sink-eglgles> Couldn't choose an usable config
0:00:01.747164793 2106 0x1f0af0 ERROR eglglessink gsteglglessink.c:2100:gst_eglglessink_configure_caps:<autovideosink0-actual-sink-eglgles> Couldn't choose EGL config
0:00:01.747187543 2106 0x1f0af0 ERROR eglglessink gsteglglessink.c:2144:gst_eglglessink_configure_caps:<autovideosink0-actual-sink-eglgles> Configuring caps failed
0:00:01.747233334 2106 0xb04058c0 ERROR eglglessink gsteglglessink.c:2167:gst_eglglessink_setcaps:<autovideosink0-actual-sink-eglgles> Failed to configure caps
0:00:01.747340084 2106 0xb04058c0 ERROR eglglessink gsteglglessink.c:2167:gst_eglglessink_setcaps:<autovideosink0-actual-sink-eglgles> Failed to configure caps
0:00:01.747372168 2106 0xb04058c0 WARN GST_PADS gstpad.c:3669:gst_pad_peer_query:<sink:proxypad1> could not send sticky events
0:00:01.752010834 2106 0xb04058c0 ERROR libav :0:: Non-reference picture received and no reference available
0:00:01.752146751 2106 0xb04058c0 ERROR libav :0:: decode_slice_header error
0:00:01.827290001 2106 0xb04058c0 ERROR eglglessink gsteglglessink.c:2167:gst_eglglessink_setcaps:<autovideosink0-actual-sink-eglgles> Failed to configure caps
0:00:01.827411334 2106 0xb04058c0 WARN GST_PADS gstpad.c:3669:gst_pad_peer_query:<sink:proxypad1> could not send sticky events
0:00:01.832105126 2106 0xb04058c0 ERROR eglglessink gsteglglessink.c:2167:gst_eglglessink_setcaps:<autovideosink0-actual-sink-eglgles> Failed to configure caps
0:00:01.832285376 2106 0xb04058c0 ERROR eglglessink gsteglglessink.c:2167:gst_eglglessink_setcaps:<autovideosink0-actual-sink-eglgles> Failed to configure caps
0:00:01.876585459 2106 0xb320e4f0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<udpsrc3> error: Internal data flow error.
0:00:01.876731293 2106 0xb320e4f0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<udpsrc3> error: streaming task paused, reason not-negotiated (-4)
0:00:03.708374460 2106 0xb320e3b0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<udpsrc1> error: Internal data flow error.
0:00:03.709432335 2106 0xb320e3b0 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<udpsrc1> error: streaming task paused, reason not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
streaming task paused, reason not-linked (-1)
Execution ended after 0:00:02.089530459
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ... |
|