ksvideosrc and udpsink

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

ksvideosrc and udpsink

Jerry Geis-2
I am using the command:
C:\GSTREAMER\1.0\x86_64\bin\gst-launch-1.0.exe ksvideosrc ! queue ! tee name=t ! queue ! autovideosink t. ! decodebin !  videoconvert !  vp8enc ! rtpvp8pay ! udpsink port=10000

to capture the webcam, display it and stream it.

First issue is the the video on screen is jerky and computer reports:
there is no timestamp of computer is too slow.

How do I take care of that ? need a queue somewhere ?

Second issue is I'm trying to view the feed on a linux machine with this command:
gst-launch-1.0 udpsrc port=10000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)VP8-DRAFT-IETF-01, payload=(int)96, ssrc=(uint)2990747501, clock-base=(uint)275641083, seqnum-base=(uint)34810" ! rtpvp8depay ! vp8dec ! videoconvert ! autovideosink

and nothing ever shows. It just says:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

I was looking for pre-compiled gst-rtsp-server for windows but I could not find any.

What am I doing wrong ?

Thanks,

Jerry

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

Re: ksvideosrc and udpsink

Michael MacIntosh
Hello,

Not sure if it would fix your issue, but you could try setting the "do-timestamp" property of ksvideosrc to true, or by adding a videorate element after your source.  In my experience the video rate element is preferable, because some elements (like dshowvideosrc) occasionally don't timestamp frames for whatever reason, which can cause problems with certain pipelines.

With the second issue, do you still run into this even after you remove the autovideosink branch on the "server side" pipeline?

Cheers,
Michael.

On 1/8/2018 10:49 AM, Jerry Geis wrote:
I am using the command:
C:\GSTREAMER\1.0\x86_64\bin\gst-launch-1.0.exe ksvideosrc ! queue ! tee name=t ! queue ! autovideosink t. ! decodebin !  videoconvert !  vp8enc ! rtpvp8pay ! udpsink port=10000

to capture the webcam, display it and stream it.

First issue is the the video on screen is jerky and computer reports:
there is no timestamp of computer is too slow.

How do I take care of that ? need a queue somewhere ?

Second issue is I'm trying to view the feed on a linux machine with this command:
gst-launch-1.0 udpsrc port=10000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)VP8-DRAFT-IETF-01, payload=(int)96, ssrc=(uint)2990747501, clock-base=(uint)275641083, seqnum-base=(uint)34810" ! rtpvp8depay ! vp8dec ! videoconvert ! autovideosink

and nothing ever shows. It just says:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

I was looking for pre-compiled gst-rtsp-server for windows but I could not find any.

What am I doing wrong ?

Thanks,

Jerry

--
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.
Click here to report this message as spam.

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


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