[gst-devel] rtp streaming

Deroo Stijn S.Deroo at TELEVIC.com
Wed Aug 11 17:49:52 CEST 2010


Hi all, 

I'm struggling with the following.  I want to encode a video file to h264 format, and stream it via rtp over the network.  Attached you find the c code (test6.c) that does the server side job.  On the client side I run the script attached (client-H264-PCMA.sh) to play the rtp stream.

My server output can be found in output.txt.

However, on the client side, 1 frame of the video stream is shown, and that's it.  The video doesn't play, only one image is shown.  If I trace with wireshark however, I can see a lot of udp (rtp) packets containing the stream.

I struggled a lot to get the c code right to use the decodebin element, but I think like it's done in my code does the job?!

Someone any idea why the stream isn't playing?

Thanks in advance!

Kind regards,
Stijn.
 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test6.c
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100811/28ee8d23/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client-H264-PCMA.sh
Type: application/octet-stream
Size: 3502 bytes
Desc: client-H264-PCMA.sh
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100811/28ee8d23/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output.txt
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100811/28ee8d23/attachment.txt>


More information about the gstreamer-devel mailing list