streaming h.264 using gst-rtsp-server-0.10.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

streaming h.264 using gst-rtsp-server-0.10.4

yangsb
I am using gst-rtsp-server-0.10.4 to transport h.264 streams .
My launch is just as this :

./test-launch --gst-debug-level=0 "( videotestsrc is-live=1 ! video/x-raw-yuv, w
idth=176, height=144, framerate=(fraction)30/1 ! x264enc byte-stream=1 ! rtph264
pay name=pay0 pt=96  )"

I can use vlc media player to decode and display the streams successfully.
However , when I use rtspsrc to receive and save the h.264 streams :

st-launch-0.10 -v --gst-debug-level=0 rtspsrc location=rtsp://192.168.1.54:8554
/test ! queue ! rtph264depay ! filesink location=rec-pc.h264

 I found that the first IDR frame was lost .
But , the following IDR frames and other frames are saved well.

Is this a bug of rtsp-server or rtpmanager ?
Hope to get some advice ..
Thanks .
Best regards.