Playsink creates the wrong Sink
nicolas at ndufresne.ca
Fri Dec 20 19:02:51 UTC 2019
Le vendredi 20 décembre 2019 à 12:34 +0000, Jon Lovewell a écrit :
> Hello everyone,
> I have a pcap file which contains a rtsp session in which H264 encoded video is being streamed between a server and client.
> I am using the following pipeline to play this file
> filesrc location=<PathToFile> ! pcapparse ! irtspparse ! capsfilter caps="application/x-rtp,media=video,payload=99,encoding-name=H264,clock-rate=90000" ! rtph264depay ! decodebin ! playsink
> Using this pipeline playsink creates an audio sink instead of a video sink.
Using playsink is a bit more complex then that, you have to specify
which pad to use. This is possible in gst-launch, but I suspect what
you really want is just "videoconvert ! videoscale ! autovideosink"
> If however, I use the following pipeline I get the video.
> filesrc location=<PathToFile> ! pcapparse ! irtspparse ! capsfilter caps="application/x-rtp,media=video,payload=99,encoding-name=H264,clock-rate=90000" ! rtph264depay ! decodebin ! videoconvert ! autovideosink
> Can anyone tell me if my first pipeline is acceptable. I have tried to use playsink’s flags property to limit the output to video but to no avail.
> I can provide ‘dot’ files or debug trace if required.
> Any help or advice greatly appreciated.
> Kind Regards
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel