FFmpegfs Fuse Multi Media Filesystem 2.16
Classes | Macros | Typedefs | Enumerations
ffmpeg_transcoder.h File Reference

FFmpeg transcoder. More...

#include "ffmpeg_base.h"
#include "ffmpeg_frame.h"
#include "ffmpeg_subtitle.h"
#include "id3v1tag.h"
#include "fileio.h"
#include "ffmpeg_profiles.h"
#include <queue>
#include <mutex>
#include <variant>
#include <functional>
#include <optional>
#include <atomic>
Include dependency graph for ffmpeg_transcoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FFmpeg_Transcoder
 The FFmpeg_Transcoder class. More...
 
struct  FFmpeg_Transcoder::BUFFER_DATA
 Buffer structure, used in FFmpeg_Transcoder::read_packet. More...
 
struct  FFmpeg_Transcoder::PRORES_BITRATE
 Predicted bitrates for Apple Prores, see https://www.apple.com/final-cut-pro/docs/Apple_ProRes_White_Paper.pdf. More...
 
struct  FFmpeg_Transcoder::PRORES_BITRATE::PRORES_FRAMERATE
 List of ProRes frame rates. More...
 
class  FFmpeg_Transcoder::StreamRef
 In/output stream reference data. More...
 
struct  FFmpeg_Transcoder::INPUTFILE
 Input file definition. More...
 
struct  FFmpeg_Transcoder::OUTPUTFILE
 Output file definition. More...
 

Macros

#define MAX_PRORES_FRAMERATE   2
 Number of selectable fram rates. More...
 
#define FFMPEGFS_AUDIO   static_cast<uint32_t>(0x0001)
 Denote an audio stream. More...
 
#define FFMPEGFS_VIDEO   static_cast<uint32_t>(0x0002)
 Denote a video stream. More...
 
#define FFMPEGFS_SUBTITLE   static_cast<uint32_t>(0x0004)
 Denote a subtitle stream. More...
 

Typedefs

typedef DECODER_STATUSLPDECODER_STATUS
 Pointer version of DECODER_STATUS. More...
 
typedef DECODER_STATUS const * LPCDECODER_STATUS
 Pointer to const version of DECODER_STATUS. More...
 

Enumerations

enum class  DECODER_STATUS { DEC_ERROR = -1 , DEC_SUCCESS = 0 , DEC_EOF = 1 }
 Decoder status codes. Can be error, success or end of file. More...
 

Detailed Description

FFmpeg transcoder.

Author
Norbert Schlia (nschl.nosp@m.ia@o.nosp@m.blivi.nosp@m.on-s.nosp@m.oftwa.nosp@m.re.d.nosp@m.e)

Definition in file ffmpeg_transcoder.h.

Macro Definition Documentation

◆ FFMPEGFS_AUDIO

#define FFMPEGFS_AUDIO   static_cast<uint32_t>(0x0001)

Denote an audio stream.

Definition at line 1295 of file ffmpeg_transcoder.h.

◆ FFMPEGFS_SUBTITLE

#define FFMPEGFS_SUBTITLE   static_cast<uint32_t>(0x0004)

Denote a subtitle stream.

Definition at line 1297 of file ffmpeg_transcoder.h.

◆ FFMPEGFS_VIDEO

#define FFMPEGFS_VIDEO   static_cast<uint32_t>(0x0002)

Denote a video stream.

Definition at line 1296 of file ffmpeg_transcoder.h.

◆ MAX_PRORES_FRAMERATE

#define MAX_PRORES_FRAMERATE   2

Number of selectable fram rates.

Definition at line 87 of file ffmpeg_transcoder.h.

Typedef Documentation

◆ LPCDECODER_STATUS

Pointer to const version of DECODER_STATUS.

Definition at line 70 of file ffmpeg_transcoder.h.

◆ LPDECODER_STATUS

Pointer version of DECODER_STATUS.

Definition at line 69 of file ffmpeg_transcoder.h.

Enumeration Type Documentation

◆ DECODER_STATUS

enum class DECODER_STATUS
strong

Decoder status codes. Can be error, success or end of file.

Enumerator
DEC_ERROR 

Decoder error, see return code.

DEC_SUCCESS 

Frame decoded successfully.

DEC_EOF 

Read to end of file.

Definition at line 63 of file ffmpeg_transcoder.h.