[Libav-user] decoder never starts

David Ibbitson david.ibbitson at gmail.com
Mon Feb 12 17:33:48 EET 2024


Hi folks,

I have an mpegts file with the following stream:

Input #0, mpegts, from 'Downloads/e318_save.ts':
  Duration: 00:03:59.00, start: 8.400000, bitrate: 137 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p(progressive), 640x480, 5 fps, 5 tbr, 90k tbn, 10 tbc

It's only P frames with the occasional SPS/PPS. The ffmpeg tools handle it
fine.

However when I demux the h264 and invoke the standard
avcodec_send_packet/avcodec_receive_frame loops nothing happens.

avcodec_send_packet just continues to accept data (never hits an
erors condition) and avcodec_receive_frame immediately hits EAGAIN.

Any ideas what could be happening here?

Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20240212/bd39ff6b/attachment.htm>


More information about the Libav-user mailing list