Hi all,
I use gstreamer rtsp server's test-launch to implement a rtsp server :
./test-launch ' filesrc location=/root/Desktop/targetfs/usr/share/ti/data/videos/Step_into_Liquid_720_d1.transcoded.mp4 ! qtdemux name=d d.video_00 !queue ! rtph264pay pt=96 name=pay0 d.audio_00 ! queue ! rtpmp4apay pt=97 name=pay1 '
Step_into_Liquid_720_d1.transcoded.mp4 info:
video : h264 main profile 4.1 15fps
audio: aac 48KHz
Then I play this stream on my DM365 board:
gst-launch -vvv --gst-debug="TIDmaiVideoSink:5" \
rtspsrc location="rtsp://192.168.1.10:8554/test" name=rtsp \
protocols=0x00000002 ! \
rtph264depay byte-stream=true ! queue ! 'video/x-h264,framerate=15/1,width=720,height=576' ! \
TIViddec2 padAllocOutbufs=FALSE ! \
queue ! TIDmaiVideoSink videoStd=1280x800_60 videoOutput=LCD displayDevice="/dev/video2" useUserptrBufs=true numBufs=4
1280x800_60 is a videoStd name added by myself.
The stream is played very quickly and will stop in a while,
the decoder output an error: ERROR: from element /GstPipeline:pipeline0/GstTIViddec2:tividdec20: fatal bit error
I print 64bytes of every piece of data recieved in TIViddec2's chain function and compare it when I play the file as an local file.
The result shows that rtspsrc lost some packets.
I use DVSDK4.x on DM368 platform.
Can anyone help me? Thanks.