filesink size is 0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

filesink size is 0

android6011
I am currently having an issue saving an rtsp stream based on "gst-launch -ve rtspsrc location="rtsp://10.10.10.3:1852" ! rtph264depay ! mpegtsmux ! filesink location=video.ts" , this works fine.

I have posted my sample C++ sample at http://pastebin.com/2CZ3dQZr  . My code follows through but the video.ts file size is always 0. Everything appears to be working because if I change the camera ip or something it throws errors as expected.

Any pointers would be much appreciated. 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: filesink size is 0

Sudarshan Bisht
In your application rtph264depay and mpegtsmux can not be linked automatically becuase muxers have request pads, for more information about request pads have a look at following link;

On Thu, Aug 11, 2011 at 9:53 PM, android6011 <[hidden email]> wrote:
I am currently having an issue saving an rtsp stream based on "gst-launch -ve rtspsrc location="rtsp://10.10.10.3:1852" ! rtph264depay ! mpegtsmux ! filesink location=video.ts" , this works fine.

I have posted my sample C++ sample at http://pastebin.com/2CZ3dQZr  . My code follows through but the video.ts file size is always 0. Everything appears to be working because if I change the camera ip or something it throws errors as expected.

Any pointers would be much appreciated. 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel