<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Arial",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> gstreamer-devel <gstreamer-devel-bounces@lists.freedesktop.org>
<b>Im Auftrag von </b>Tugrul Esin<br>
<b>Gesendet:</b> Mittwoch, 18. März 2020 17:53<br>
<b>An:</b> Discussion of the development of and with GStreamer <gstreamer-devel@lists.freedesktop.org><br>
<b>Betreff:</b> RE: AW: AW: Stream Recording<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="TR">Firstly, i just want to save videos on the receiver side. And then, i'll send them to the server via receiver rpi. Because just receiver rpi has internet connection.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">Sent from <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Cb0c19fba26644fdd40c708d7cb6649b7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201512492033586&sdata=zTK%2Frl0ukBPtPDT1DcgFyXoyG05ylhw86Ppol9UmH44%3D&reserved=0">
Mail</a> for Windows 10<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="TR">From: </span></b><span lang="TR"><a href="mailto:keith.thornton@zeiss.com">Thornton, Keith</a><br>
<b>Sent: </b>18 Mart 2020 Çarşamba 19:44<br>
<b>To: </b><a href="mailto:gstreamer-devel@lists.freedesktop.org">Discussion of the development of and with GStreamer</a><br>
<b>Subject: </b>AW: AW: Stream Recording<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">I did not understand what you want to do. Do you want to watch the video at the same time as you write it to a file or do you want to first write it to a file and
 then watch it afterwards. At the moment, the tee on the sender side is superfluous. On the receiver side you should follow every branch of a tee with a queue. You would need a second branch in which you need to decode the h264 such as with avdech264 followed
 by your sink eg. d3dvideosink. The first branch needs to have “byte-stream” replaced by “avc”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> gstreamer-devel <<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org">gstreamer-devel-bounces@lists.freedesktop.org</a>>
<b>Im Auftrag von </b>Tugrul Esin<br>
<b>Gesendet:</b> Mittwoch, 18. März 2020 14:08<br>
<b>An:</b> Discussion of the development of and with GStreamer <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>><br>
<b>Betreff:</b> RE: AW: Stream Recording<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="TR">İ want to watch my recorded video. How can i convert to avc format ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">Sent from <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Cb0c19fba26644fdd40c708d7cb6649b7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201512492033586&sdata=zTK%2Frl0ukBPtPDT1DcgFyXoyG05ylhw86Ppol9UmH44%3D&reserved=0">
Mail</a> for Windows 10<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="TR">From: </span></b><span lang="TR"><a href="mailto:keith.thornton@zeiss.com">Thornton, Keith</a><br>
<b>Sent: </b>18 Mart 2020 Çarşamba 16:04<br>
<b>To: </b><a href="mailto:gstreamer-devel@lists.freedesktop.org">Discussion of the development of and with GStreamer</a><br>
<b>Subject: </b>AW: Stream Recording<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">If you want to write it to a file you need to change your filter after h264parse to write avc format<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> gstreamer-devel <<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org">gstreamer-devel-bounces@lists.freedesktop.org</a>>
<b>Im Auftrag von </b>Tugrul Esin<br>
<b>Gesendet:</b> Mittwoch, 18. M<span style="font-family:SimSun">䲺</span> 2020 12:51<br>
<b>An:</b> Discussion of the development of and with GStreamer <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>><br>
<b>Betreff:</b> Stream Recording<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="TR">I'm sorry to disturb you again but i've stuck in a few points and couldn't find enough information about them.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">1- I have a pipeline that uses UDP and v4l2src for real time video streaming. I'd like to save the video on receiver side but even thought it's saved in file, it can't be opened with vlc or omx video players. While using
 omx player on terminal, the video doesn't play and output gives "have a nice day" as string.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">2- Also, i'd like to stream two videos from usig two RPI Zeros to another RPI A+ and i've found that multiple pipeline is solution but i couldn't find enough source and have tried then failed.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">I've attached the pipelines below, is that possible to check them? Could you please give me any feedback or suggestion?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">Sincerely,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR">M.Tugrul Esin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">- Sender Pi: <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">gst-launch-1.0 -e v4l2src device=/device/video0 ! video/x-raw, width=640, height=480, framerate=30/1 ! omxh264enc ! tee name=t t. ! rtph264pay config-interval=1 pt=96 ! udpsink host=RECEIVER_IP port=5000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">-Receiver Pi:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">gst-launch-1.0 -e udpsrc port=5000 ! application/x-rtp, clock-rate=90000, encoding-name=H264, payload=96 ! rtph264depay ! h264parse ! tee name=t ! "video/x-h264, format=byte-stream" ! filesink location=/home/pi/test.h264<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">Sent from <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7Cb0c19fba26644fdd40c708d7cb6649b7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637201512492033586&sdata=zTK%2Frl0ukBPtPDT1DcgFyXoyG05ylhw86Ppol9UmH44%3D&reserved=0">
Mail</a> for Windows 10<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="TR">Then you don’t need the tee on the receiver side either.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR" style="font-size:10.0pt;font-family:"Arial",sans-serif">Sorry ND
</span><span lang="TR" style="font-size:10.0pt;font-family:"Segoe UI Emoji",sans-serif">😊</span><span lang="TR" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="TR"><o:p> </o:p></span></p>
</div>
</body>
</html>