linux4sam / gst1-hantro-g1 Goto Github PK
View Code? Open in Web Editor NEWG1 Video Decoder GStreamer plugin
License: GNU Lesser General Public License v2.1
G1 Video Decoder GStreamer plugin
License: GNU Lesser General Public License v2.1
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.