[FFmpeg-trac] #7114(avcodec:new): Add options to set some AVCodecContext's field

FFmpeg trac at avcodec.org
Fri Mar 30 18:02:33 EEST 2018

#7114: Add options to set some AVCodecContext's field
             Reporter:  jyavenard  |                     Type:  enhancement
               Status:  new        |                 Priority:  normal
            Component:  avcodec    |                  Version:  git-master
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
 There's currently no options to set the following members of
 AVCodecContext via AVOptions, which are ABI dependent.


 that list isn't exhaustive obviously (but that's what we use today)

 which means you must hope that the binary definition of AVCodecContext
 hasn't changed between the header you use and the library you're linking

 One example would be if libavcodec was built with FF_API_CODEC_NAME set,
 all structure field would be shifted by 32 bytes.

 Seeing that the ABI of AVCodecContext isn't fixed, one can't guarantee the
 outcome of using an external libavcodec shared lib.

Ticket URL: <https://trac.ffmpeg.org/ticket/7114>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list