AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util.hpp File Reference
#include "common.hpp"
#include "Option.hpp"
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/pixfmt.h>
#include <libavutil/samplefmt.h>
#include <string>
#include <vector>
#include <map>

Go to the source code of this file.

Namespaces

 avtranscoder
 

Typedefs

typedef std::map< std::string,
OptionArray > 
avtranscoder::OptionArrayMap
 
typedef std::map< std::string,
std::string > 
avtranscoder::NamesMap
 

Functions

std::vector< std::string > avtranscoder::getSupportedPixelFormats (const std::string &videoCodecName="")
 Get pixel format supported by a video codec. More...
 
std::vector< std::string > avtranscoder::getSupportedSampleFormats (const std::string &audioCodecName="")
 Get sample format supported by an audio codec. More...
 
AVPixelFormat avtranscoder::getAVPixelFormat (const std::string &pixelFormat)
 Get the corresponding AVPixelFormat from the pixel format name. More...
 
AVSampleFormat avtranscoder::getAVSampleFormat (const std::string &sampleFormat)
 Get the corresponding AVSampleFormat from the sample format name. More...
 
std::string avtranscoder::getPixelFormatName (const AVPixelFormat pixelFormat)
 
std::string avtranscoder::getSampleFormatName (const AVSampleFormat sampleFormat)
 
std::vector< AVOutputFormat * > avtranscoder::getAvailableFormats ()
 
NamesMap avtranscoder::getAvailableFormatsNames ()
 Get a map of short/long names of all formats available in FFmpeg / libav. More...
 
NamesMap avtranscoder::getAvailableVideoFormatsNames ()
 Get a map of short/long names of all formats dedicate for video available in FFmpeg / libav. More...
 
NamesMap avtranscoder::getAvailableAudioFormatsNames ()
 Get a map of short/long names of all formats dedicate for video available in FFmpeg / libav. More...
 
std::vector< AVCodec * > avtranscoder::getAvailableCodecs ()
 
NamesMap avtranscoder::getAvailableVideoCodecsNames ()
 Get a map of short/long names of all video codecs available in FFmpeg / libav. More...
 
NamesMap avtranscoder::getAvailableAudioCodecsNames ()
 Get a map of short/long names of all audio codecs available in FFmpeg / libav. More...
 
OptionArrayMap avtranscoder::getAvailableOptionsPerOutputFormat ()
 Get the list of options for each output format. More...
 
OptionArrayMap avtranscoder::getAvailableOptionsPerVideoCodec ()
 Get the list of options for each video codec. More...
 
OptionArrayMap avtranscoder::getAvailableOptionsPerAudioCodec ()
 Get the list of options for each audio codec. More...
 
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy