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 <AvTranscoder/common.hpp>
#include <libavutil/dict.h>
#include <vector>
#include <utility>
#include <map>
#include <string>
#include <sstream>
#include <iomanip>

Go to the source code of this file.

Namespaces

 avtranscoder
 
 avtranscoder::detail
 

Typedefs

typedef std::vector< std::pair
< std::string, std::string > > 
avtranscoder::PropertyVector
 PropertyVector is a vector of pair, because the order of properties matters to us. More...
 
typedef std::map< std::string,
std::string > 
avtranscoder::PropertyMap
 

Functions

template<typename T >
void avtranscoder::detail::add (PropertyVector &propertyVector, const std::string &key, const T &value)
 
template<>
void avtranscoder::detail::add (PropertyVector &propertyVector, const std::string &key, const size_t &value)
 
template<>
void avtranscoder::detail::add (PropertyVector &propertyVector, const std::string &key, const float &value)
 
template<>
void avtranscoder::detail::add (PropertyVector &propertyVector, const std::string &key, const std::string &value)
 
template<>
void avtranscoder::detail::add (PropertyVector &propertyVector, const std::string &key, const bool &value)
 
template<>
void avtranscoder::detail::add (PropertyVector &propertyVector, const std::string &key, const Rational &value)
 
void avtranscoder::detail::fillMetadataDictionnary (AVDictionary *avdictionnary, PropertyVector &metadata)
 Fill metadata parameter with the given AVDictionary. More...
 

Variables

const size_t avtranscoder::detail::keyWidth = 32
 
const std::string avtranscoder::detail::separator = "===================="
 
const std::string avtranscoder::detail::propertyValueIfError = "null"
 
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