<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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 bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You need to run gst-launch with “-e” switch on receiver side to
force EOS when you kill your pipeline, otherwise your file won’t be properly finalized.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>--Roope<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> ext Peter Innerhofer
[mailto:peter.innerhofer@student.tugraz.at] <br>
<b>Sent:</b> 19. marraskuuta 2010 13:41<br>
<b>To:</b> gstreamer-devel@lists.sourceforge.net<br>
<b>Subject:</b> Re: [gst-devel] muxing and filesink<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>On 19.11.2010 11:16, sudarshan bisht wrote: <o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>One more thing, I have
used videotestsrc instead of v4l2src . <o:p></o:p></p>
<div>
<p class=MsoNormal>On Fri, Nov 19, 2010 at 8:10 AM, sudarshan bisht <<a
href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>>
wrote:<o:p></o:p></p>
<div>
<p>In your first pipeline it should be udpsink , not udpsrc.<o:p></o:p></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;<o:p></o:p></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 <o:p></o:p></p>
<div>
<p class=MsoNormal> <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<o:p></o:p></p>
</div>
<div>
<p style='margin-bottom:12.0pt'>And I could play this file using
gst-launch playbin uri=<a href="file:///\\home\maemo\test.avi">file:///home/maemo/test.avi</a>
<o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<p class=MsoNormal>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<o:p></o:p></p>
</div>
</body>
</html>