<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 19.11.2010 11:16, sudarshan bisht wrote:
<blockquote
cite="mid:AANLkTinjY7b4uOOCHA1U1=0uqnhyJzJTtZbD7gfaRJaL@mail.gmail.com"
type="cite">One more thing, I have used videotestsrc instead of
v4l2src . <br>
<br>
<div class="gmail_quote">On Fri, Nov 19, 2010 at 8:10 AM,
sudarshan bisht <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">
<p>In your first pipeline it should be udpsink , not udpsrc.</p>
<p><br>
Another thing is that you are not properly setting up rtp
packets of encoded data.<br>
So I think your pipelines should look like this;</p>
</div>
<p><br>
gst-launch videotestsrc ! videoscale ! videorate !
video/x-raw-yuv,width=640,height=480,framerate=25/1 !
ffmpegcolorspace ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink
host=127.0.0.1 port=5000 <br>
</p>
<div class="im">
<br>
gst-launch udpsrc port=5000 !
application/x-rtp,media=video,payload=100,clock-rate=100000000,encoding-name=MP4V-ES
! rtpmp4vdepay !
video/mpeg,width=640,height=480,framerate=25/1,mpegversion=4,systemstream=false
! avimux ! filesink location=test.avi</div>
<div class="im">
<p>And I could play this file using gst-launch playbin
uri=<a class="moz-txt-link-freetext" href="file:///home/maemo/test.avi">file:///home/maemo/test.avi</a> <br>
<br>
</p>
</div>
<br>
</blockquote>
</div>
</blockquote>
first of all, thanks for your answer. <br>
but this pipeline doesn't solve my problem, vlc cant play the
recorded video. (anyway the problem is not so big, and there are
some workarounds) <br>
<br>
i already thought about the rtp payloader, i could even make a rtp
stream with control ports, but that’s quite an overhead and i think
it doesn't solve my problems ether.<br>
<br>
could it be a failure of the filesink? does the filesink add codec
details, or make a header? vlc sometimes even thinks the file just
has a audio track...<br>
<br>
the reason why i want it to play with vlc is, that i think it is one
of the most common player on all systems and i probably want to edit
it further on<br>
mfg<br>
peter<br>
</body>
</html>