<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">El 07/07/16 a las 22:19, Masen Baz
escribió:<br>
</div>
<blockquote cite="mid:SNT148-W1031820CEFE6E0405C20FBA83C0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Dear all
<div><br>
</div>
<div>When encoding a live stream to udp , ffmpeg says to replace
AVstream.codec with AVSTREAM.codecpar , </div>
<div><br>
</div>
<div>The question is how to do it?</div>
<div><br>
</div>
<div>Please help</div>
</div>
</blockquote>
<br>
My suggestion is: don't do it yet, as codecpar support seems
broken. I recently posted a bug which shows that fps are not kept
properly.<br>
<br>
If you want some sample code on how to do it easily, check
doc/examples/muxing.c<br>
<br>
<pre class="moz-signature" cols="72">--
Gonzalo Garramuño
<a class="moz-txt-link-abbreviated" href="mailto:ggarra13@gmail.com">ggarra13@gmail.com</a>
</pre>
</body>
</html>