Ticket #1897 (closed enhancement: fixed)

Opened 17 months ago

Last modified 11 months ago

Support Ffmpeg 2.8

Reported by: riza Owned by: nanang
Priority: normal Milestone: release-2.5
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by nanang) (diff)

This ticket will add support to FFmpeg 2.8 with these general modifications:

  • Change FFmpeg const using 'AV' previx. e.g: PIX_FMT_NONE -> AV_PIX_FMT_NONE
  • Change deprecated method avcodec_get_frame_defaults() -> av_frame_unref()

Application may keep using older FFmpeg version, i.e: the versions that are already supported before the changes in this ticket, by defining macro PJMEDIA_USE_OLD_FFMPEG in the build, e.g: adding this line in config_site.h:

#define PJMEDIA_USE_OLD_FFMPEG

Note: configure script (of GNU autoconf build system) will automatically add this macro when it detects that older FFmpeg version is being used.

Change History

comment:1 Changed 17 months ago by riza

In 5198:

Re #1897: Implement support to Ffmpeg 2.8.

comment:2 Changed 17 months ago by riza

  • Status changed from new to closed
  • Resolution set to fixed

comment:3 Changed 12 months ago by nanang

In 5271:

Re #1897: Updated ffmpeg_util.h/.c to support older ffmpeg.

comment:4 Changed 11 months ago by nanang

In 5286:

Re #1897: Updated ffmpeg_vid_codecs.c to support older ffmpeg.

comment:5 Changed 11 months ago by nanang

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