<div dir="ltr">Hi folks,<div><br></div><div>I have an mpegts file with the following stream:</div><div><br></div><div>Input #0, mpegts, from 'Downloads/e318_save.ts':<br>  Duration: 00:03:59.00, start: 8.400000, bitrate: 137 kb/s<br>  Program 1 <br>    Metadata:<br>      service_name    : Service01<br>      service_provider: FFmpeg<br>  Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 640x480, 5 fps, 5 tbr, 90k tbn, 10 tbc<br></div><div><br></div><div>It's only P frames with the occasional SPS/PPS. The ffmpeg tools handle it fine.</div><div><br></div><div>However when I demux the h264 and invoke the standard avcodec_send_packet/avcodec_receive_frame loops nothing happens.</div><div><br></div><div>avcodec_send_packet just continues to accept data (never hits an erors condition) and avcodec_receive_frame immediately hits EAGAIN.</div><div><br></div><div>Any ideas what could be happening here?</div><div><br></div><div>Thanks,</div><div>David</div><div><br></div></div>