[Libav-user] Using the latest ffmpeg-libs on Fedora 24

Sébastien Le Roux sebastien.leroux at ipcms.unistra.fr
Thu Dec 1 15:06:15 EET 2016

Dear Carl,
thanks for your answer, I would consider your fist remark to use the 
FFmpeg git head,
if I knew what you were talking about, the latest version on git maybe ?
I am not familiar with the terminology.

Here are the minimal changes in the code:

1) Old code:

I had an "AvStream -> codec" (AvCodecContext)

2) New code:

I created an AvCodecContext separately from the AvStream,
in which I copied codec information into the "codecpar" using:

avcodec_parameters_from_context (st -> codecpar, context)

Thanks in advance for your suggestions.


Dr. Sébastien Le Roux
Ingénieur de Recherche CNRS
Institut de Physique et Chimie des Matériaux de Strasbourg
Département des Matériaux Organiques
23, rue du Loess
BP 43
F-67034 Strasbourg Cedex 2, France
E-mail: sebastien.leroux at ipcms.unistra.fr
Webpage: http://www.ipcms.unistra.fr/?page_id=14965&lang=en
RINGS project: http://rings-code.sourceforge.net/
ISAACS project: http://isaacs.sourceforge.net/
Fax:   +33 3 88 10 72 46
Phone: +33 3 88 10 71 58

More information about the Libav-user mailing list