<div dir="ltr">Dear libav,<div><br></div><div>i'm trying to use avconv to read MPEGTS over RTP and transfer it to MPEGTS over udp.</div><div>here is the command line i'm using</div><div><br></div><div>>avconv -i rtp://<a href="http://234.5.5.5:10201">234.5.5.5:10201</a> -c copy -f mpegts udp://localhost:4444<br clear="all">
<div><br></div><div>and here's the output</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font face="'courier new', monospace">avconv version v0.8-293-g86b57e4, Copyright (c) 2000-2011 the Libav developers<br></font><font face="'courier new', monospace">  built on Feb  4 2012 23:34:56 with gcc 4.5.2<br>
</font><font face="'courier new', monospace">[NULL @ 006cf780] non-existing SPS 32 referenced in buffering period<br></font><font face="'courier new', monospace">[NULL @ 006cf780] non-existing PPS referenced<br>
</font><font face="'courier new', monospace">[h264 @ 006cf780] non-existing SPS 32 referenced in buffering period<br></font><font face="'courier new', monospace">[h264 @ 006cf780] non-existing PPS 0 referenced<br>
</font><font face="'courier new', monospace">[h264 @ 006cf780] decode_slice_header error<br></font><font face="'courier new', monospace">[h264 @ 006cf780] no frame!<br></font><font face="'courier new', monospace">[rtp @ 007fd8c0] Estimating duration from bitrate, this may be inaccurate<br>
</font><font face="'courier new', monospace">Input #0, rtp, from 'rtp://<a href="http://234.5.5.5:10201">234.5.5.5:10201</a>':<br></font><font face="'courier new', monospace">  Duration: N/A, start: 669.528000, bitrate: 192 kb/s<br>
</font><font face="'courier new', monospace">    Stream #0.0: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s<br></font><font face="'courier new', monospace">    Stream #0.1: Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc<br>
</font><font face="'courier new', monospace">[mpegts @ 039ffb00] muxrate VBR, pcr every 9000 pkts, sdt every 200, pat/pmt every 40 pkts<br></font><font face="'courier new', monospace">Output #0, mpegts, to 'udp://localhost:4444':<br>
</font><font face="'courier new', monospace">  Metadata:<br></font><font face="'courier new', monospace">    encoder         : Lavf54.0.0<br></font><font face="'courier new', monospace">    Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 90k tbc<br>
</font><font face="'courier new', monospace">    Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s<br></font><font face="'courier new', monospace">Stream mapping:<br></font><font face="'courier new', monospace">  Stream #0:1 -> #0:0 (copy)<br>
</font><font face="'courier new', monospace">  Stream #0:0 -> #0:1 (copy)<br></font><font face="'courier new', monospace">Press ctrl-c to stop encoding<br></font><font face="'courier new', monospace">[mpegts @ 039ffb00] first pts value must set<br>
</font><b><font face="'courier new', monospace" color="#ff0000">av_interleaved_write_frame(): Operation not permitted</font></b></blockquote></div><div><br></div><div>I tried various flags, but none seem to work, the transmuxing always fails with the same "<b><font face="'courier new', monospace" color="#ff0000">av_interleaved_write_frame(): Operation not permitted" </font></b>message</div>
<div><br></div><div>btw, using avplay to play the same RTP stream, works.</div><div><br></div><div><br></div>-- <br>Aviad Rozenhek<br>
</div></div>