<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#333333">
    <span style="color: rgb(51, 51, 51); font-size: 13px; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: 18.2px; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; word-spacing: 0px;
      display: inline ! important; float: none; background-color:
      rgb(225, 235, 242);"><font face="Arial">Hi all libav / ffmpeg
        gurus....<br>
        <br>
        I have been trying to get this working and crawling the forums
        but I just can't find the solution.<br>
        <br>
        What I want, is to capture my windows desktop using dshow,
        encode it using x264 into a multicast stream, then announce that
        stream using SAP so that others on the network can identify and
        decode that stream easily.<br>
        I have everything working rather nicely, EXCEPT for the SAP
        announcement.<br>
        <br>
        Here is what I'm using:<br>
        <br>
        ffmpeg -y -f dshow -framerate 24 -i
        video="screen-capture-recorder":audio="virtual-audio-capturer"
        -r 10 -vcodec libx264 -preset ultrafast -crf 18 -async 1 -acodec
        libmp3lame -ab 24k -ar 22050 -bsf:v h264_mp4toannexb -bufsize
        8000k -f mpegts udp://224.100.0.1:5001 <br>
        <br>
        I've investigated using the sap muxer (-f sap
        sap://224.100.0.1:5001?same_port=1) but that doesn't seem to
        format a usable mpegts stream and it has limited options.<br>
        <br>
        If someone knows how I might generate the SDP information and
        attach it as a sap announcement for this stream, it would be
        much appreciated! <br>
        <br>
        PS I've posted this on ffmpeg forum also but no responses...<br>
        <br>
        Thanks :D</font><br>
    </span>
  </body>
</html>