<div dir="ltr">Hello Akmal,<div><br></div><div>I have faced issues with capabilities of x264enc and muxer.<br>I would suggest you to remove avimux and dump encoder output to a file.</div><div><br></div><div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#674ea7">gst_parse_launch("autovideosrc ! video/x-raw,width=640,height=<wbr>480,framerate=30/1 ! </font></div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#674ea7">tee name=tsplit ! x264enc qp-min=18 !</font><span style="font-size:12.8px"><font color="#674ea7">filesink location=output.mp4</font><font color="#0000ff"> </font></span></div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">and output.mp4 should be playable using ffmpeg / vlc player  <br><br>Worth a try or you can even change avimux with other options flvmux.</div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Cheers,</div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Kiran</div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 25, 2018 at 10:39 PM, Akmal Hisyam <span dir="ltr"><<a href="mailto:akmalhisyam36@gmail.com" target="_blank">akmalhisyam36@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone,<br></div><div><br></div><div>I'm currently coding on Visual Studio 2017 on Windows 10 to create a program using gst_parse_launch to save a webcam video with filesink. The pipeline is as follow :</div><div><br></div><div>gst_parse_launch("autovideosrc ! video/x-raw,width=640,height=<wbr>480,framerate=30/1 ! </div><div>tee name=tsplit ! x264enc qp-min=18 ! h264parse ! avimux ! </div><div>filesink location=output.mp4 tsplit. ! </div><div>queue ! matroskamux ! queue leaky=2 ! </div><div>tcpserversink host=192.168.1.203 port=7001", NULL);</div><div><br></div><div>I've encountered a problem where I couldn't read/play a video <span style="font:400 13px/19.5px sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">output </span>file created by the program written on C++ and <span style="font:400 13px/19.5px sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">by lauching ffprobe.exe to this file, I have no information at all bout the file</span>. However, if I launch the same pipeline on command prompt and on Windows PowerShell, the <span style="font:400 13px/19.5px sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">video </span><span style="font:400 13px/19.5px sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">output </span><span style="font:400 13px/19.5px sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent">file could be read perfectly and by lauching ffprobe.exe to this file, I have all the informations about this file. </span></div><div><span style="font:400 13px/19.5px sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:100%;float:none;background-color:transparent"><br></span></div><div>I hope someone can help me with this. Thanks in advance !</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Akmal</div></font></span></div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>