<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2013-11-29 21:18, Frédéric Sallé
wrote:<br>
</div>
<blockquote cite="mid:5298F6AF.5080106@gmail.com" type="cite"><i>gst-launch-1.0
-vvv udpsrc port=11010 caps="application/x-rtp" ! rtpmp4vdepay !
avdec_mpeg4 ! avenc_mpeg4 ! matroskamux ! filesink
location=test.mkv</i><i><br>
</i></blockquote>
<br>
Using an mpeg4 parser helps. Here is the sender pipeline:<br>
<br>
gst-launch-1.0 videotestsrc ! avenc_mpeg4 ! rtpmp4vpay
config-interval=1 ! udpsink host=localhost port=11010<br>
<br>
And the receiver:<br>
<br>
gst-launch-1.0 -vvv udpsrc port=11010 caps="application/x-rtp" !
rtpmp4vdepay ! mpeg4videoparse ! matroskamux ! filesink
location=misc/test.mkv<br>
<br>
<br>
Note three things: One, you might have to use your machine's IP
address instead of localhost. Second, the config-interval property
of rtpmp4vpay must be set to a nonzero value (or you need some other
way to communicate MPEG4 headers to the receiver). Third, I added
the mpeg4videoparse element between the depayloader and matroskamux.<br>
<br>
<br>
cheers<br>
</body>
</html>