UDP PACKET TOO BIG

Frank González Fernández fgfernandez0321 at gmail.com
Wed Jun 8 21:41:35 UTC 2016


I don't have dedicated wired network. The use case is related with drone
which has a camera. So I need to capture the source of this camera
using "v4l2src"
command for linux. After that, I have to re-stream the source for playing
using "playbin".  I have two options: mpegtsmux or jifmux. mpegtsmux has
delays and the second case not working when the camera looks different
textures, i'm using a webcam for testing. Right now, I don't know what is
the best: mpegtsmux or jifmux for my scenario. Suggestions?

gst-launch-1.0 --gst-debug=mpegtsmux:5 v4l2src device=/dev/video1 !
video/x-raw,width=640,height=480,framerate=30/1 ! timeoverlay
font-desc="Verdana bold 12px" ! tee name=t t. ! queue ! xvimagesink
sync=false t. ! queue ! x264enc bitrate=5000 key-int-max=1 tune=zerolatency
! video/x-h264 ! mpegtsmux name=mux m2ts-mode=false alignment=7 !
video/mpegts ! rtpmp2tpay pt=33 ! udpsink host=127.0.0.1 port=5000
sync=false

On Wed, Jun 8, 2016 at 5:33 PM, Tim Müller <tim at centricular.com> wrote:

> On Wed, 2016-06-08 at 22:28 +0100, Tim Müller wrote:
>
> On Wed, 2016-06-08 at 13:39 -0600, Michael Gruner wrote:
>
>
>
> sync=false on the sink will add jerkiness if there's network jitter.
>
> What you probably want is to set the "latency" property on the source
> (rtspsrc), it's quite high by default (2 seconds).
>
>
>
> Sorry, I completely misread, there's no rtsp here (perhaps there should be
> :)), just plain udp.
>
> setting sync to false on the sink is ok if you have a dedicated wired
> network where there's basically no jitter or packet loss, but for anything
> else you'll probably want a pipeline with an rtpjitterbuffer and a non-0
> latency to smooth out the network jitter.
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160608/0d4fb286/attachment.html>


More information about the gstreamer-devel mailing list