Opened 5 years ago

Last modified 5 years ago

#2366 new defect

FFmpeg decoders might not return all frames

Reported by: beastd Owned by: beastd
Priority: normal Component: vd
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: yes Analyzed by developer: no

Description

Some files with certain codecs might not be correctly decoded via the deprecated APIs.

The new API has avcodec_send_packet and avcodec_receive_frame .
MPlayer currently uses avcodec_decode_video2 and avcodec_decode_video4 .

It can sometimes be seen for example with AV1 video:

mplayer av1_file.mkv
[...]
[libdav1d @ 0x576d1840]The deprecated avcodec_decode_* API cannot return all the frames for this decoder. Some frames will be dropped. Update your code to the new decoding API to fix this
[...]

Also should the deprecated APIs get removed at some point in time, it could probably not be fixed quickly.

Change History (2)

comment:1 by beastd, 5 years ago

Reproduced by developer: set

comment:2 by beastd, 5 years ago

Severity: blockernormal

Accidentally used severity blocker. Changed back to normal for now.

Note: See TracTickets for help on using tickets.