Opened 6 years ago

Last modified 2 months ago

#14408 assigned enhancement

ffmpeg addon: update to latest API — at Version 1

Reported by: jackburton Owned by: Barrett
Priority: normal Milestone: Unscheduled
Component: Kits/Media Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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()
a codec should not be closed and then opened again
use the correct av_free* methods

Change History (1)

comment:1 by jackburton, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.