<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2018年10月09日 07:31, Nicolas Dufresne
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKQmDh-mavFo_sFfm43BOc=-6Kyt=N_VHC5nLrPDinH0qvcuwQ@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr">Le lun. 8 oct. 2018 05 h 27, Dengke Du <<a
href="mailto:dengke.du@windriver.com"
moz-do-not-send="true">dengke.du@windriver.com</a>> a
écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all<br>
<br>
gst-launch-1.0 --version<br>
<br>
gst-launch-1.0 version 1.14.2<br>
GStreamer 1.14.2<br>
Unknown package origin<br>
<br>
My device info: v4l2-ctl --list-formats<br>
<br>
ioctl: VIDIOC_ENUM_FMT<br>
Index : 0<br>
Type : Video Capture<br>
Pixel Format: 'YUYV'<br>
Name : YUYV 4:2:2<br>
<br>
Index : 1<br>
Type : Video Capture<br>
Pixel Format: 'MJPG' (compressed)<br>
Name : Motion-JPEG<br>
<br>
Server side:<br>
<br>
In rtsp examples directory: ./test-launch "( v4l2src
! image/jpeg ! <br>
jpegdec ! x264enc ! rtph264pay name=pay0 pt=96 )"<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Default x264 settings are high latency. Try with
setting tune=zerolatency. That will drop the latency to around
two sec. 2s is the configured latency on the rtspsrc element.
You can reconfigure that using the playbin callbacks, or child
proxy mechanism.</div>
</div>
</blockquote>
<br>
Thanks!<br>
1. After adding "tune=zerolatency" drop the latency 2-3s<br>
2. Using the following instead of playbin drop the latency 4-5s:<br>
gst-launch-1.0 rtspsrc location=<a class="moz-txt-link-rfc2396E" href="rtsp://127.0.0.1:8554/test">"rtsp://127.0.0.1:8554/test"</a>
latency=0 ! rtph264depay ! decodebin ! videoconvert ! ximagesink<br>
<style>@font-face {
font-family: "Times New Roman";
}@font-face {
font-family: "宋体";
}@font-face {
font-family: "Calibri";
}p.MsoNormal { margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: Calibri; font-size: 10.5pt; }span.msoIns { text-decoration: underline; color: blue; }span.msoDel { text-decoration: line-through; color: red; }div.Section0 { }</style>
<blockquote type="cite"
cite="mid:CAKQmDh-mavFo_sFfm43BOc=-6Kyt=N_VHC5nLrPDinH0qvcuwQ@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Client side:<br>
<br>
gst-launch-1.0 -v playbin uri=<a class="moz-txt-link-freetext" href="rtsp://">rtsp://</a><a
href="http://127.0.0.1:8554/test" rel="noreferrer
noreferrer" target="_blank" moz-do-not-send="true">127.0.0.1:8554/test</a><br>
<br>
The video show delay 7+ seconds, does somebody know why?<br>
<br>
Thanks!<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" rel="noreferrer" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br>
<a
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>