gst-launch received rtsp raw h264 file are not smooth when playing.

eschanti eschanti at gmail.com
Mon Aug 20 08:35:26 UTC 2018


Okļ¼Œbut my further question is how to directly play the rtsp stream with one
pipeline.

actually we have self developed plugins:
 /! myh264dec ! queue ! myvideiorawplaysink/ 
which do h264 decode, and video/x-raw playback.

and command
gst-launch-1.0  filesrc location=./demo.h264  ! video/x-h264, level=4  !
h264parse /! myh264dec ! queue ! myvideiorawplaysink/
works,

but when I replace the src to rtspsrc, as following command, it only plays
for the first several seconds and stuck

gst-launch-1.0 -e rtspsrc location=rtsp://user:passwd@10.10.0.3:554 ! queue
! "application/x-rtp,media=video" !  rtph264depay ! "video/x-h264,
stream-format=byte-stream" /! myh264dec ! queue ! myvideiorawplaysink/

Any hints?




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list