<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>I have asked this question in a more complex way before. I know more now and I am hoping someone could give me a suggestion. Please, please help.</div><div><br></div>I have a stream in a .ts file that contains several packets of ID3 data. I would like to get each packet back from
<p class="p1">av_read_frame() individually for that stream. I am decoding the data myself so I do not care if the packets from this stream are properly identified. It seems like these packets are being identified as mp3 and av_read_frame() is gathering up all of these packets and presenting them as one. </p><p class="p1"><br></p><p class="p1">Is there any way that I can turn off probing for individual streams? I believe this might work because if I mangle the ID3 header in the first packet (change ID3 to ID4), I get the following message:</p><p class="p1"><br></p><p class="p1">
<p class="p1">[mpegts @ 0x103801800] probed stream 0 failed] on the call to <span style="font-size: 12pt;">av_read_frame()</span></p><p class="p1"><br></p><p class="p1">After that, all packets come back to me individually just as I would like. Is there a way I can prevent av_read_frame() from interpreting the packets from this stream?</p><p class="p1"><br></p><p class="p1">Any other suggestions please??? please?? I am very close..</p><p class="p1"><br></p><p class="p1"><br></p><p class="p1"><b><br></b></p><p class="p1"><b><br></b></p></p> </div></body>
</html>