Play h264 rtsp netstream with Gstreamer

Sergio Basurco chuckleplant90 at gmail.com
Thu Aug 1 00:08:32 PDT 2013


You can try using tcp by adding protocols=4 to the rtspsrc element. It 
happenned to me often in applications whilst working fine in the 
gstreamer command pipeline.

El 01/08/2013 7:45, liuxing escribió:
>
> Hello,
>
>          I am now trying to develop a small app to play the 
> H264-encoded network stream.
>
>          I have tried to play the video stream using "play-launch 
> rtspsrc location=://...... ! rtph264depay ! avdec_h264 ! xvimagesink", 
> and it works very well.
>
>          When I write the C program , I put all the above elements in 
> a pipeline, and linked them all together. Besides, I catch the 
> "pad-added" signal and link the source pad of rtspsrc with sink pad of 
> the h264depay. Everything seems just like the command I have used 
> above. However, when I try to run the program, I got the "Error: 
> internal data flow error ". Then I tried to set the pipeline clock, 
> but the error is still there.
>
>          Can anyone give me some help on this?
>
>          Thinks very much!!
>
> With Regards
>
> Gavin
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130801/28ce94f2/attachment.html>


More information about the gstreamer-devel mailing list