FFmpegUtilities.h File Reference

Header file for FFmpegUtilities. More...

`#include <libavcodec/avcodec.h>`
`#include <libavformat/avformat.h>`
`#include <libswscale/swscale.h>`
`#include <libavresample/avresample.h>`
`#include <libavutil/mathematics.h>`
`#include <libavutil/pixfmt.h>`
`#include <libavutil/pixdesc.h>`
`#include <libavcodec/opt.h>`

Go to the source code of this file.

## Macros

#define | AUDIO_PACKET_ENCODING_SIZE 768000
#define | AV_ALLOCATE_FRAME() avcodec_alloc_frame()
#define | av_err2str(errnum) av_make_error_string(errnum).c_str()
#define | AV_ERROR_MAX_STRING_SIZE 64
#define | AV_FREE_FRAME(av_frame) avcodec_free_frame(av_frame)
#define | AV_FREE_PACKET(av_packet) av_free_packet(av_packet)
#define | AV_RESET_FRAME(av_frame) avcodec_get_frame_defaults(av_frame)
#define | AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
#define | INT64_C(c) (c ## LL)
#define | PIX_FMT_NONE AV_PIX_FMT_NONE
#define | PIX_FMT_RGB24 AV_PIX_FMT_RGB24
#define | PIX_FMT_RGBA AV_PIX_FMT_RGBA
#define | PIX_FMT_YUV420P AV_PIX_FMT_YUV420P
#define | PixelFormat AVPixelFormat
#define | UINT64_C(c) (c ## ULL)

## Detailed Description

Header file for FFmpegUtilities.

Author
  Jonathan Thomas jonat.nosp@m.han@.nosp@m.opens.nosp@m.hot..nosp@m.org

# LICENSE

Copyright (c) 2008-2014 OpenShot Studios, LLC http://www.openshotstudios.com/. This file is part of OpenShot Library (libopenshot), an open-source project dedicated to delivering high quality video editing and animation solutions to the world. For more information visit http://www.openshot.org/.

OpenShot Library (libopenshot) is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenShot Library (libopenshot) is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.

Definition in file FFmpegUtilities.h.

## Macro Definition Documentation

## AUDIO_PACKET_ENCODING_SIZE

#define AUDIO_PACKET_ENCODING_SIZE 768000

Definition at line 68 of file FFmpegUtilities.h.

## AV_ALLOCATE_FRAME

#define AV_ALLOCATE_FRAME | ( |  | ) | avcodec_alloc_frame()

Definition at line 107 of file FFmpegUtilities.h.

## av_err2str

#define av_err2str | ( |  | errnum | ) | av_make_error_string(errnum).c_str()

Definition at line 82 of file FFmpegUtilities.h.

## AV_ERROR_MAX_STRING_SIZE

#define AV_ERROR_MAX_STRING_SIZE 64

Definition at line 65 of file FFmpegUtilities.h.

## AV_FREE_FRAME

#define AV_FREE_FRAME | ( |  | av_frame | ) | avcodec_free_frame(av_frame)

Definition at line 109 of file FFmpegUtilities.h.

## AV_FREE_PACKET

#define AV_FREE_PACKET | ( |  | av_packet | ) | av_free_packet(av_packet)

Definition at line 110 of file FFmpegUtilities.h.

## AV_RESET_FRAME

#define AV_RESET_FRAME | ( |  | av_frame | ) | avcodec_get_frame_defaults(av_frame)

Definition at line 108 of file FFmpegUtilities.h.

## AVCODEC_MAX_AUDIO_FRAME_SIZE

#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000

Definition at line 62 of file FFmpegUtilities.h.

## INT64_C

#define INT64_C | ( |  | c | ) | (c ## LL)

Definition at line 33 of file FFmpegUtilities.h.

## PIX_FMT_NONE

#define PIX_FMT_NONE AV_PIX_FMT_NONE

Definition at line 92 of file FFmpegUtilities.h.

## PIX_FMT_RGB24

#define PIX_FMT_RGB24 AV_PIX_FMT_RGB24

Definition at line 95 of file FFmpegUtilities.h.

## PIX_FMT_RGBA

#define PIX_FMT_RGBA AV_PIX_FMT_RGBA

Definition at line 89 of file FFmpegUtilities.h.

## PIX_FMT_YUV420P

#define PIX_FMT_YUV420P AV_PIX_FMT_YUV420P

Definition at line 98 of file FFmpegUtilities.h.

## PixelFormat

#define PixelFormat AVPixelFormat

Definition at line 86 of file FFmpegUtilities.h.

## UINT64_C

#define UINT64_C | ( |  | c | ) | (c ## ULL)

Definition at line 34 of file FFmpegUtilities.h.