Hi!!
I'm trying to visualize a rtsp h264 streaming using graphical acceleration.
Without graphical acceleration is displayed correctly:
gst-launch-1.0 -v rtspsrc latency=200 location=rtsp://192.168.0.241 ! rtph264depay ! avdec_h264 ! videoconvert ! videoscale ! g1fbdevsink
but when I switch to acceleration for HW
gst-launch-1.0 -v rtspsrc latency=200 location=rtsp://192.168.0.241 ! rtph264depay ! g1h264dec ! videoconvert ! videoscale ! g1fbdevsink
I get the next mistake:
gst-launch-1.0 -v rtspsrc latency=200 location=rtsp://192.168.0.241 ! rtph264depay ! g1h264dec ! videoconvert ! videoscale ! g1fbdevsink
I get the next mistake:
Setting pipeline to PAUSED ...
Location3=(nil) (null)
Location2 = (nil)->(null)
DEBUG: gstg1basedec.c:gst_g1_base_dec_config_mask1:1137
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.0.241
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
0:00:00.564535840 889 0xb4f0e800 FIXME default gstutils.c:3766:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:00.796803040 889 0xb5101c90 FIXME videodecoder gstvideodecoder.c:946:gst_video_decoder_drain_out:<g1h264dec0> Sub-class should implement drain()
0:00:00.866034240 889 0xb5101c90 ERROR g1basedec gstg1basedec.c:774:gst_g1_base_dec_allocate_output:<g1h264dec0> invalid output address
ppsetconfig failed =invalid output address
0:00:00.866328640 889 0xb5101c90 WARN g1h264dec gstg1h264dec.c:452:gst_g1_h264_dec_decode:<g1h264dec0> found 1778 bytes corrupted
0:00:00.892119760 889 0xb4f0e890 WARN basesrc gstbasesrc.c:2948:gst_base_src_loop:<udpsrc1> error: Internal data flow error.
0:00:00.893014000 889 0xb4f0e890 WARN basesrc gstbasesrc.c:2948:gst_base_src_loop:<udpsrc1> error: streaming task paused, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data flow error.
Additional debug info:
../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
streaming task paused, reason error (-5)
Execution ended after 0:00:00.335629120
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Is it necessary to add another element for the pipe work correctly?
I use gstreamer1.0-plugins-hantro_1.2
Thank you!
Hi!!
I'm trying to visualize a rtsp h264 streaming using graphical acceleration.
Without graphical acceleration is displayed correctly:
gst-launch-1.0 -v rtspsrc latency=200 location=rtsp://192.168.0.241 ! rtph264depay ! avdec_h264 ! videoconvert ! videoscale ! g1fbdevsinkbut when I switch to acceleration for HW
gst-launch-1.0 -v rtspsrc latency=200 location=rtsp://192.168.0.241 ! rtph264depay ! g1h264dec ! videoconvert ! videoscale ! g1fbdevsinkI get the next mistake:
gst-launch-1.0 -v rtspsrc latency=200 location=rtsp://192.168.0.241 ! rtph264depay ! g1h264dec ! videoconvert ! videoscale ! g1fbdevsinkI get the next mistake:
Is it necessary to add another element for the pipe work correctly?
I use gstreamer1.0-plugins-hantro_1.2
Thank you!