sdp file for udp

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

sdp file for udp

Mehta, Neel

Hi.

 

I am using VLC (using a sdp file) to play a UDP stream from gstreamer. It is a MPEG4 640x480 30FPS video. But the VLC shows me an “avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)” and displays only a few frames. I streamed the video to a file via VLC to find that the headers are incorrect, though the video frames are correct. Using gstreamer (udpsrc), I do get the correct headers and the frames.

 

So, I think there is a problem with my SDP file. Can someone help me identify the problem?????

 

Host pipeline: appsrc is-live=true name=source caps=”video/mpeg, mpegversion=(int)4, framerate=(fraction)1001/30000, width=(int)640, height=(int)480" ! rtpmp4vpay send-config=TRUE ! udpsink host=172.24.136.232 port=5000

 

Caps for udpsink are: application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)0, config=(string)000001010000012000845d4c28a021e0a21f, payload=(int)96, ssrc=(guint)1737447791, clock-base=(guint)408271081, seqnum-base=(guint)50199

 

My SDP file is as below:

v=0

s=Session streamed with GStreamer

i=live

t=0 0

a=tool:Gstreamer

m=video 5000 RTP/AVP 96

b=RR:0

c=IN IP4 172.24.136.232

a=rtpmap:96 MP4V-ES/90000

a=fmtp:96 profile-level-id=0; config=000001010000012000845d4c28a021e0a21f

a=cliprect:0,0,480,640

a=framesize:96 640-480

a=type:broadcast

a=tool:Gstreamer

 

 

Thanks in advance.

 

Regards,

Neel.


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel