Opened 8 months ago

Last modified 12 days ago

#14408 assigned enhancement

ffmpeg addon: update to latest API

Reported by: jackburton Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Media Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by jackburton)

The ffmpeg addon was written with an older version of the ffmpeg library. Many things changed and various functions were deprecated. We should update it so it uses the newest API.

Incomplete list:

av_free_packet() -> av_packet_unref()
avcodec_decode_video2()/avcodec_decode_audio4 -> avcodec_send_packet()/avcodec_receive_frame()
av_free() -> av_freep()
avcodec_close() -> avcodec_free_context() (a codec should not be closed/reopened)
use the correct av_free* methods

Change History (3)

comment:1 Changed 8 months ago by jackburton

Description: modified (diff)

comment:2 Changed 8 months ago by jackburton

Description: modified (diff)

comment:3 Changed 12 days ago by korli

Owner: changed from Barrett to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.