Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1897 closed enhancement (fixed)

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)

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 (5)

comment:1 Changed 9 years ago by riza

In 5198:

Re #1897: Implement support to Ffmpeg 2.8.

comment:2 Changed 9 years ago by riza

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

comment:3 Changed 9 years ago by nanang

In 5271:

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

comment:4 Changed 9 years ago by nanang

In 5286:

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

comment:5 Changed 9 years ago by nanang

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