<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 15 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:8.0pt;
        margin-left:0in;
        line-height:106%;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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 lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">I simplified the receiver pipeline from my original post [7/12/16] that demonstrates the ‘avimux refused caps’ issue. My focus now is just the video leg and anyone should be able to easily duplicate this problem. Both of my development
 machines are windows 7, 64 bit and I’m using GStreamer 1.8.1 with your windows pre-built binaries.
<o:p></o:p></p>
<p class="MsoNormal">Here is the simplified receiver pipeline that fails. The pipeline starts ok and runs for a little bit but it eventually fails with the ‘not negotiated’ error.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">udpsrc address="192.168.1.101" <br>
caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,payload=96" ! rtph264depay ! h264parse ! avimux ! filesink location= C:/my/movie.avi sync=true
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is the sender pipeline, run on a separate machine. Pipeline starts ok and runs without errors.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">videotestsrc is-live=TRUE ! videoconvert ! videorate ! openh264enc ! rtph264pay !
<br>
udpsink clients="192.168.1.101:5004"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The attached debug log for the simplified receiver pipeline that fails was obtained with: GST_DEBUG=2,*udp*:6,*avi*:6,*h264*:6,*caps*:6. Line 114 of the file shows the ‘avimux refused caps’ problem.
<o:p></o:p></p>
<p class="MsoNormal">Here is a similar receiver pipeline [just displays the video] that works ok with the sender above:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">udpsrc address="192.168.1.101" <br>
caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,payload=96" ! rtph264depay ! h264parse ! openh264dec ! videoconvert ! d3dvideosink
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is another similar pipeline for which avimux works ok, but without the rtph264pay/ rtph264depay elements. The standard Windows media player plays this avi file ok.
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">videotestsrc is-live=TRUE ! videoconvert ! videorate ! openh264enc ! h264parse ! avimux ! filesink location= C:/my/movie.avi
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using standard Gstreamer elements in a simple receiver pipeline that should just work. Perhaps I have them connected improperly although I don’t get any errors for pipeline startup. Any ideas to resolve this ‘avimux refused caps’ issue?
<o:p></o:p></p>
<p class="MsoNormal">Any help would be much appreciated. <o:p></o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal">Bill <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>