<div dir="ltr"><div><div><div><div><div><div>I try to save and play h264 rtp stream simultaneously.<br></div>In 0.10 version i use <br>gst-launch-0.10 udpsrc port=3000 ! 'application/x-rtp, sprop-parameter-sets=(string)'\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQCgC3I\\,aO48sA\\=\\=\"', payload=(int)96' ! rtph264depay ! tee name=t ! h264parse ! matroskamux ! filesink location=tmp.mkv t. ! queue max-size-buffers=0 max-size-bytes=0 max-size-time=0 ! ffdec_h264 ! autovideosink<br>
</div>this pipeline and it's work fine.<br></div>But if i try use 1.0 version with this pipleine<br>gst-launch-1.0 udpsrc port=3000 ! 'application/x-rtp, sprop-parameter-sets=(string)'\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQCgC3I\\,aO48sA\\=\\=\"', payload=(int)96' ! rtph264depay ! tee name=t ! h264parse ! matroskamux ! filesink location=tmp.mkv t. ! queue max-size-buffers=0 max-size-bytes=0 max-size-time=0 ! avdec_h264 ! autovideosink<br>
</div>i get nothing.<br></div>I also try just save stream with 1.0 version.<br></div>Using <br><div>gst-launch-1.0 udpsrc port=3000 ! 'application/x-rtp, sprop-parameter-sets=(string)'\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQCgC3I\\,aO48sA\\=\\=\"', payload=(int)96' ! rtph264depay ! tee name=t ! h264parse ! matroskamux ! filesink location=tmp.mkv<br>
</div><div>File writing and have <span id="result_box" class="" lang="en"><span class="">correct size, but i can't play it.<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">If change matroskamux to avimux i get this error:<br>
<br>ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:<br>streaming task paused, reason not-negotiated (-4)<br>
Execution ended after 0:00:00.043653442<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">The error</span> <span class="">is the same</span> <span class="">as</span> <span class="">in</span></span> 1.0 and 0.10 version.<br>
</span></span></div><div><span id="result_box" class="" lang="en"><span class=""><br><br></span></span></div></div>