FFmpegfs Fuse Multi Media Filesystem 2.16
|
FFmpeg main function and utilities implementation. More...
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/avfilter.h>
#include "ffmpegfs.h"
#include "logging.h"
#include "ffmpegfshelp.h"
#include <sys/sysinfo.h>
#include <sqlite3.h>
#include <unistd.h>
#include <fnmatch.h>
#include <iostream>
#include <libbluray/bluray-version.h>
Go to the source code of this file.
Classes | |
struct | HWACCEL |
Hardware acceleration device and type. More... | |
Macros | |
#define | FFMPEGFS_OPT(templ, param, value) { templ, offsetof(FFMPEGFS_PARAMS, param), value } |
Typedefs | |
typedef std::map< const std::string, const AUTOCOPY, comp > | AUTOCOPY_MAP |
Map command line option to AUTOCOPY enum. More... | |
typedef std::map< const std::string, const PROFILE, comp > | PROFILE_MAP |
Map command line option to PROFILE enum. More... | |
typedef std::map< const std::string, const PRORESLEVEL, comp > | LEVEL_MAP |
Map command line option to LEVEL enum. More... | |
typedef std::map< const std::string, const RECODESAME, comp > | RECODESAME_MAP |
Map command line option to RECODESAME enum. More... | |
typedef struct HWACCEL | HWACCEL |
Hardware acceleration device and type. More... | |
typedef std::map< const std::string, HWACCEL, comp > | HWACCEL_MAP |
Map command line option to HWACCEL struct. More... | |
typedef std::map< const std::string, const AVCodecID, comp > | CODEC_MAP |
Map command line option to AVCodecID. More... | |
typedef std::map< const std::string, const SAMPLE_FMT, comp > | SAMPLE_FMT_MAP |
Map command line option to SAMPLE_FMT. More... | |
typedef std::map< const std::string, const AVCodecID, comp > | AUDIOCODEC_MAP |
Map command line option to audio AVCodecID. More... | |
typedef std::map< const std::string, const AVCodecID, comp > | VIDEOCODEC_MAP |
Map command line option to video AVCodecID. More... | |
Functions | |
static int | get_bitrate (const std::string &arg, BITRATE *bitrate) |
Get formatted bitrate. More... | |
static int | get_samplerate (const std::string &arg, int *samplerate) |
Get formatted sample rate. More... | |
static int | get_sampleformat (const std::string &arg, SAMPLE_FMT *sample_fmt) |
Get sample format. More... | |
static int | get_time (const std::string &arg, time_t *time) |
Get formatted time,. More... | |
static int | get_size (const std::string &arg, size_t *size) |
Read size: . More... | |
static int | get_desttype (const std::string &arg, FFMPEGFS_FORMAT_ARR &format) |
Get destination type. More... | |
static int | get_audiocodec (const std::string &arg, AVCodecID *audio_codec) |
Get the audio codec. More... | |
static int | get_videocodec (const std::string &arg, AVCodecID *video_codec) |
Get the video codec. More... | |
static int | get_autocopy (const std::string &arg, AUTOCOPY *autocopy) |
Get autocopy option. More... | |
static int | get_recodesame (const std::string &arg, RECODESAME *recode) |
Get recode option. More... | |
static int | get_profile (const std::string &arg, PROFILE *profile) |
Get profile option. More... | |
static int | get_level (const std::string &arg, PRORESLEVEL *level) |
Get ProRes level. More... | |
static int | get_segment_duration (const std::string &arg, int64_t *value) |
Get HLS segment duration. Input value must be in seconds. More... | |
static int | get_seek_time_diff (const std::string &arg, int64_t *value) |
Get seek time diff. Input value must be in seconds. More... | |
static int | get_hwaccel (const std::string &arg, HWACCELAPI *hwaccel_API, AVHWDeviceType *hwaccel_device_type) |
Get type of hardware acceleration. To keep it simple, currently all values are accepted. More... | |
static int | get_codec (const std::string &codec, AVCodecID *codec_id) |
Get AVCodecID for codec string. More... | |
static int | get_hwaccel_dec_blocked (const std::string &arg, HWACCEL_BLOCKED_MAP **hwaccel_dec_blocked) |
Get list of codecs and optional profiles blocked for hardware accelerated decoding. More... | |
static int | get_value (const std::string &arg, int *value) |
Get value from command line string. Finds whatever is after the "=" sign. More... | |
static int | get_value (const std::string &arg, std::string *value) |
Get value from command line string. Finds whatever is after the "=" sign. More... | |
static int | get_value (const std::string &arg, MATCHVEC *value) |
Get comma separated values from command line string. Finds whatever is after the "=" sign. More... | |
static int | get_value (const std::string &arg, double *value) |
Get value from command line string. Finds whatever is after the "=" sign. More... | |
static int | ffmpegfs_opt_proc (__attribute__((unused)) void *data, const char *arg, int key, struct fuse_args *outargs) |
FUSE option parsing function. More... | |
static bool | set_defaults () |
Set default values. More... | |
static void | build_device_type_list () |
Build list of available device types. Builds a list of device types supported by the current FFmpeg libary. More... | |
static void | print_params () |
Print currently selected parameters. More... | |
static void | usage () |
Print program usage info. More... | |
static void | ffmpeg_log (void *ptr, int level, const char *fmt, va_list vl) |
Custom FFmpeg log function. Used with av_log_set_callback(). More... | |
static bool | init_logging (const std::string &logfile, const std::string &max_level, bool to_stderr, bool to_syslog) |
Inititalise logging facility. More... | |
template<typename T > | |
static void | list_options (const char *info, const T &map) |
Iterate through all elements in map print all keys. More... | |
std::string | get_sampleformat_text (SAMPLE_FMT sample_fmt) |
Convert SAMPLE_FMT enum to human readable text. More... | |
std::string | get_audio_codec_text (AVCodecID audio_codec) |
Convert AVCodecID enum for audio codec to human readable text. More... | |
std::string | get_video_codec_text (AVCodecID video_codec) |
Convert AVCodecID enum for video codec to human readable text. More... | |
std::string | get_autocopy_text (AUTOCOPY autocopy) |
Convert AUTOCOPY enum to human readable text. More... | |
std::string | get_recodesame_text (RECODESAME recode) |
Convert RECODESAME enum to human readable text. More... | |
std::string | get_profile_text (PROFILE profile) |
Convert PROFILE enum to human readable text. More... | |
std::string | get_level_text (PRORESLEVEL level) |
Convert PRORESLEVEL enum to human readable text. More... | |
bool | check_hwaccel_dec_blocked (AVCodecID codec_id, int profile) |
Check if codec_id and the optional profile are in the block list. More... | |
std::string | get_hwaccel_API_text (HWACCELAPI hwaccel_API) |
Get the selected hardware acceleration as text. More... | |
int | main (int argc, char *argv[]) |
Main program entry point. More... | |
Variables | |
FFMPEGFS_FORMAT_ARR | ffmpeg_format |
Two FFmpegfs_Format infos, 0: video file, 1: audio file. More... | |
FFMPEGFS_PARAMS | params |
FFmpegfs command line parameters. More... | |
static struct fuse_opt | ffmpegfs_opts [] |
static const AUDIOCODEC_MAP | audiocodec_map |
List of audio codecs. More... | |
static const VIDEOCODEC_MAP | videocodec_map |
List of video codecs. More... | |
static const AUTOCOPY_MAP | autocopy_map |
static const PROFILE_MAP | profile_map |
static const LEVEL_MAP | prores_level_map |
static const RECODESAME_MAP | recode_map |
static HWACCEL_MAP | hwaccel_map |
static const CODEC_MAP | hwaccel_codec_map |
static const SAMPLE_FMT_MAP | sample_fmt_map |
FFmpeg main function and utilities implementation.
Definition in file ffmpegfs.cc.
#define FFMPEGFS_OPT | ( | templ, | |
param, | |||
value | |||
) | { templ, offsetof(FFMPEGFS_PARAMS, param), value } |
Map FFmpegfs options to FUSE parameters
Definition at line 290 of file ffmpegfs.cc.
typedef std::map<const std::string, const AVCodecID, comp> AUDIOCODEC_MAP |
Map command line option to audio AVCodecID.
Definition at line 447 of file ffmpegfs.cc.
typedef std::map<const std::string, const AUTOCOPY, comp> AUTOCOPY_MAP |
Map command line option to AUTOCOPY enum.
Definition at line 431 of file ffmpegfs.cc.
Map command line option to AVCodecID.
Definition at line 444 of file ffmpegfs.cc.
typedef std::map<const std::string, HWACCEL, comp> HWACCEL_MAP |
Map command line option to HWACCEL struct.
Definition at line 443 of file ffmpegfs.cc.
typedef std::map<const std::string, const PRORESLEVEL, comp> LEVEL_MAP |
Map command line option to LEVEL enum.
Definition at line 433 of file ffmpegfs.cc.
typedef std::map<const std::string, const PROFILE, comp> PROFILE_MAP |
Map command line option to PROFILE enum.
Definition at line 432 of file ffmpegfs.cc.
typedef std::map<const std::string, const RECODESAME, comp> RECODESAME_MAP |
Map command line option to RECODESAME enum.
Definition at line 434 of file ffmpegfs.cc.
typedef std::map<const std::string, const SAMPLE_FMT, comp> SAMPLE_FMT_MAP |
Map command line option to SAMPLE_FMT.
Definition at line 445 of file ffmpegfs.cc.
typedef std::map<const std::string, const AVCodecID, comp> VIDEOCODEC_MAP |
Map command line option to video AVCodecID.
Definition at line 448 of file ffmpegfs.cc.
anonymous enum |
Definition at line 244 of file ffmpegfs.cc.
|
static |
Build list of available device types. Builds a list of device types supported by the current FFmpeg libary.
Definition at line 2028 of file ffmpegfs.cc.
References hwaccel_map.
Referenced by main().
bool check_hwaccel_dec_blocked | ( | AVCodecID | codec_id, |
int | profile | ||
) |
Check if codec_id and the optional profile are in the block list.
[in] | codec_id | - Codec ID to check |
[in] | profile | - Profile to check. Set to FF_PROFILE_UNKOWN to ignore. |
Definition at line 1585 of file ffmpegfs.cc.
References FFMPEGFS_PARAMS::m_hwaccel_dec_blocked, and params.
Referenced by FFmpeg_Transcoder::open_decoder().
|
static |
Custom FFmpeg log function. Used with av_log_set_callback().
[in] | ptr | - See av_log_set_callback() in FFmpeg API. |
[in] | level | - See av_log_set_callback() in FFmpeg API. |
[in] | fmt | - See av_log_set_callback() in FFmpeg API. |
[in] | vl | - See av_log_set_callback() in FFmpeg API. |
Definition at line 2158 of file ffmpegfs.cc.
References Logging::log_with_level(), LOGDEBUG, LOGERROR, LOGTRACE, LOGWARN, Logging::show(), and strsprintf().
Referenced by main().
|
static |
FUSE option parsing function.
[in] | data | - is the user data passed to the fuse_opt_parse() function |
[in] | arg | - is the whole argument or option |
[in] | key | - determines why the processing function was called |
[in] | outargs | - the current output argument list |
Definition at line 1757 of file ffmpegfs.cc.
References append_sep(), docker_client, expand_path(), is_mount(), FFMPEGFS_PARAMS::m_basepath, FFMPEGFS_PARAMS::m_mountpath, params, and sanitise_filepath().
Referenced by main().
std::string get_audio_codec_text | ( | AVCodecID | audio_codec | ) |
Convert AVCodecID enum for audio codec to human readable text.
[in] | audio_codec | - AVCodecID enum value to convert. |
Definition at line 1236 of file ffmpegfs.cc.
References audiocodec_map, and search_by_value().
Referenced by Format_Options::audio_codec_list().
|
static |
Get the audio codec.
[in] | arg | - One of the possible audio codecs. |
[out] | audio_codec | - Upon return contains selected AVCodecID enum. |
Definition at line 1130 of file ffmpegfs.cc.
References audiocodec_map, and list_options().
|
static |
Get autocopy option.
[in] | arg | - One of the auto copy options. |
[out] | autocopy | - Upon return contains selected AUTOCOPY enum. |
Definition at line 1206 of file ffmpegfs.cc.
References autocopy_map, and list_options().
std::string get_autocopy_text | ( | AUTOCOPY | autocopy | ) |
Convert AUTOCOPY enum to human readable text.
[in] | autocopy | - AUTOCOPY enum value to convert. |
Definition at line 1256 of file ffmpegfs.cc.
References autocopy_map, and search_by_value().
|
static |
Get formatted bitrate.
Supported formats: In bit/s: # or #bps In kbit/s: #M or #Mbps In Mbit/s: #M or #Mbps
[in] | arg | - Bitrate as string. |
[in] | bitrate | - On return, contains parsed bitrate. |
Definition at line 707 of file ffmpegfs.cc.
References BITRATE, and reg_compare().
|
static |
Get AVCodecID for codec string.
[in] | codec | - Codec string |
[out] | codec_id | - AVCodecID of codec string |
Definition at line 1509 of file ffmpegfs.cc.
References hwaccel_codec_map, and list_options().
Referenced by get_hwaccel_dec_blocked().
|
static |
Get destination type.
[in] | arg | - Format as string (MP4, OGG etc.). |
[out] | format | - Index 0: Selected video format. Index 1: Selected audio format. |
Definition at line 1076 of file ffmpegfs.cc.
References split().
|
static |
Get type of hardware acceleration. To keep it simple, currently all values are accepted.
[in] | arg | - One of the hardware acceleration types, e.g. VAAPI. |
[out] | hwaccel_API | - Upon return contains the hardware acceleration API. |
[out] | hwaccel_device_type | - Upon return contains the hardware acceleration device type. |
Definition at line 1465 of file ffmpegfs.cc.
References hwaccel_map, list_options(), HWACCEL::m_hwaccel_API, HWACCEL::m_hwaccel_device_type, and HWACCEL::m_supported.
std::string get_hwaccel_API_text | ( | HWACCELAPI | hwaccel_API | ) |
Get the selected hardware acceleration as text.
[in] | hwaccel_API | - Hardware acceleration buffering API. |
Definition at line 1603 of file ffmpegfs.cc.
References hwaccel_map.
Referenced by FFmpeg_Transcoder::add_stream(), FFmpeg_Transcoder::open_bestmatch_video(), and FFmpeg_Transcoder::open_decoder().
|
static |
Get list of codecs and optional profiles blocked for hardware accelerated decoding.
[in] | arg | - Parameter with codec string and optional profile |
[out] | hwaccel_dec_blocked | - Map with blocked codecs and profiles. Will be allocated if necessary. |
Definition at line 1534 of file ffmpegfs.cc.
References get_codec().
|
static |
Get ProRes level.
[in] | arg | - One of the ProRes levels. |
[out] | level | - Upon return contains selected PRORESLEVEL enum. |
Definition at line 1365 of file ffmpegfs.cc.
References list_options(), and prores_level_map.
std::string get_level_text | ( | PRORESLEVEL | level | ) |
Convert PRORESLEVEL enum to human readable text.
[in] | level | - PRORESLEVEL enum value to convert. |
Definition at line 1396 of file ffmpegfs.cc.
References prores_level_map, and search_by_value().
|
static |
Get profile option.
[in] | arg | - One of the auto profile options. |
[out] | profile | - Upon return contains selected PROFILE enum. |
Definition at line 1318 of file ffmpegfs.cc.
References list_options(), and profile_map.
std::string get_profile_text | ( | PROFILE | profile | ) |
Convert PROFILE enum to human readable text.
[in] | profile | - PROFILE enum value to convert. |
Definition at line 1348 of file ffmpegfs.cc.
References profile_map, and search_by_value().
|
static |
Get recode option.
[in] | arg | - One of the recode options. |
[out] | recode | - Upon return contains selected RECODESAME enum. |
Definition at line 1272 of file ffmpegfs.cc.
References list_options(), and recode_map.
std::string get_recodesame_text | ( | RECODESAME | recode | ) |
Convert RECODESAME enum to human readable text.
[in] | recode | - RECODESAME enum value to convert. |
Definition at line 1302 of file ffmpegfs.cc.
References recode_map, and search_by_value().
|
static |
Get sample format.
[in] | arg | - Sample format as string. |
[in] | sample_fmt | - On return, contains parsed sample format. |
Definition at line 827 of file ffmpegfs.cc.
References FMT_DONTCARE, list_options(), and sample_fmt_map.
std::string get_sampleformat_text | ( | SAMPLE_FMT | sample_fmt | ) |
Convert SAMPLE_FMT enum to human readable text.
Definition at line 861 of file ffmpegfs.cc.
References sample_fmt_map, and search_by_value().
Referenced by Format_Options::sample_fmt_list().
|
static |
Get formatted sample rate.
Supported formats: In Hz: # or #Hz In kHz: #K or #KHz
[in] | arg | - Samplerate as string. |
[in] | samplerate | - On return, contains parsed sample rate. |
Definition at line 775 of file ffmpegfs.cc.
References reg_compare().
|
static |
Get seek time diff. Input value must be in seconds.
[in] | arg | - Segment duration in seconds. Must be greater or equal 0. |
[out] | value | - Upon return contains seek time diff in AV_TIME_BASE units. |
Definition at line 1437 of file ffmpegfs.cc.
References get_value().
|
static |
Get HLS segment duration. Input value must be in seconds.
[in] | arg | - Segment duration in seconds. Must be greater than 0. |
[out] | value | - Upon return contains segment duration in AV_TIME_BASE units. |
Definition at line 1412 of file ffmpegfs.cc.
References get_value().
|
static |
Read size:
.
Supported formats: In bytes: # or #B @n In KBytes: #K or #KB @n In MBytes: #B or #MB @n In GBytes: #G or #GB @n In TBytes: #T or #TB
[in] | arg | - Time as string. |
[out] | size | - On return, contains parsed size. |
Definition at line 984 of file ffmpegfs.cc.
References reg_compare().
|
static |
Get formatted time,.
Supported formats: Seconds: # @n Minutes: #m @n Hours: #h @n Days: #d @n Weeks: #w
[in] | arg | - Time as string. |
[in] | time | - On return, contains parsed time. |
Definition at line 885 of file ffmpegfs.cc.
References reg_compare().
|
static |
Get value from command line string. Finds whatever is after the "=" sign.
[in] | arg | - Command line option. |
[in] | value | - Upon return, contains the value after the "=" sign. |
Definition at line 1733 of file ffmpegfs.cc.
|
static |
Get value from command line string. Finds whatever is after the "=" sign.
[in] | arg | - Command line option. |
[in] | value | - Upon return, contains the value after the "=" sign. |
Definition at line 1625 of file ffmpegfs.cc.
Referenced by get_seek_time_diff(), and get_segment_duration().
|
static |
Get comma separated values from command line string. Finds whatever is after the "=" sign.
[in] | arg | - Command line option. |
[in] | value | - Upon return, contains a set of the values after the "=" sign. |
Definition at line 1671 of file ffmpegfs.cc.
References split().
|
static |
Get value from command line string. Finds whatever is after the "=" sign.
[in] | arg | - Command line option. |
[in] | value | - Upon return, contains the value after the "=" sign. |
Definition at line 1648 of file ffmpegfs.cc.
std::string get_video_codec_text | ( | AVCodecID | video_codec | ) |
Convert AVCodecID enum for video codec to human readable text.
[in] | video_codec | - AVCodecID enum value to convert. |
Definition at line 1246 of file ffmpegfs.cc.
References search_by_value(), and videocodec_map.
Referenced by Format_Options::video_codec_list().
|
static |
Get the video codec.
[in] | arg | - One of the possible video codecs. |
[out] | video_codec | - Upon return contains selected AVCodecID enum. |
Definition at line 1168 of file ffmpegfs.cc.
References list_options(), and videocodec_map.
|
static |
Inititalise logging facility.
[in] | logfile | - Name of log file if file writing is selected. |
[in] | max_level | - Maximum level to log. |
[in] | to_stderr | - If true, log to stderr. |
[in] | to_syslog | - If true, log to syslog. |
Definition at line 2320 of file ffmpegfs.cc.
References Logging::init_logging(), LOGDEBUG, LOGERROR, LOGINFO, LOGTRACE, and LOGWARN.
Referenced by main().
|
static |
Iterate through all elements in map print all keys.
[in] | info | - Informative text, will be printed before the list. May be nullptr. |
[in] | map | - Map to go through. |
Definition at line 672 of file ffmpegfs.cc.
Referenced by get_audiocodec(), get_autocopy(), get_codec(), get_hwaccel(), get_level(), get_profile(), get_recodesame(), get_sampleformat(), and get_videocodec().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main program entry point.
[in] | argc | - Number of command line arguments. |
[in] | argv | - Command line argument array. |
Definition at line 2349 of file ffmpegfs.cc.
References append_sep(), build_device_type_list(), detect_docker(), docker_client, expand_path(), FFMPEFS_VERSION, ffmpeg_format, ffmpeg_log(), ffmpegfs_opt_proc(), ffmpegfs_opts, init_fuse_ops(), init_logging(), FFMPEGFS_PARAMS::m_basepath, FFMPEGFS_PARAMS::m_cachepath, FFMPEGFS_PARAMS::m_debug, FFMPEGFS_PARAMS::m_log_maxlevel, FFMPEGFS_PARAMS::m_log_stderr, FFMPEGFS_PARAMS::m_log_syslog, FFMPEGFS_PARAMS::m_logfile, FFMPEGFS_PARAMS::m_max_threads, FFMPEGFS_PARAMS::m_mountpath, FFMPEGFS_PARAMS::m_prune_cache, params, transcoder_cache_maintenance(), and transcoder_init().
|
static |
Print currently selected parameters.
Definition at line 2046 of file ffmpegfs.cc.
References AUDIO, ffmpeg_format, FFMPEGFS_PARAMS::m_basepath, FFMPEGFS_PARAMS::m_mountpath, params, Logging::trace(), and transcoder_cache_path().
|
static |
Set default values.
Definition at line 2010 of file ffmpegfs.cc.
References ffmpeg_format, FFMPEGFS_PARAMS::m_level, NONE, params, PRORES_HQ, and VIDEO.
|
static |
Print program usage info.
Definition at line 655 of file ffmpegfs.cc.
|
static |
List of audio codecs.
Definition at line 453 of file ffmpegfs.cc.
Referenced by get_audio_codec_text(), and get_audiocodec().
|
static |
List of AUTOCOPY options
Definition at line 485 of file ffmpegfs.cc.
Referenced by get_autocopy(), and get_autocopy_text().
FFMPEGFS_FORMAT_ARR ffmpeg_format |
Two FFmpegfs_Format infos, 0: video file, 1: audio file.
Definition at line 73 of file ffmpegfs.cc.
Referenced by create_bluray_virtualfile(), create_cuesheet_virtualfile(), create_dvd_virtualfile(), create_vcd_virtualfile(), FFMPEGFS_PARAMS::current_format(), ffmpegfs_getattr(), find_original(), flags_to_dir(), get_format(), guess_format_idx(), main(), print_params(), set_defaults(), and FFMPEGFS_PARAMS::smart_transcode().
|
static |
FUSE option descriptions
Need to ignore annoying warnings caused by fuse.h
Definition at line 300 of file ffmpegfs.cc.
Referenced by main().
|
static |
List of AUTOCOPY options
Definition at line 591 of file ffmpegfs.cc.
Referenced by get_codec().
|
static |
List if hardware acceleration options. See https://trac.ffmpeg.org/wiki/HWAccelIntro
AV_HWDEVICE_TYPE_NONE will be set to the appropriate device type in build_device_type_list() by asking the FFmpeg API for the proper type.
Definition at line 544 of file ffmpegfs.cc.
Referenced by build_device_type_list(), get_hwaccel(), and get_hwaccel_API_text().
FFMPEGFS_PARAMS params |
FFmpegfs command line parameters.
Definition at line 74 of file ffmpegfs.cc.
Referenced by FFmpeg_Transcoder::add_stream(), Format_Options::audio_codec(), Format_Options::audio_codec_list(), FFmpeg_Transcoder::audio_size(), Cache_Entry::Cache_Entry(), FFmpeg_Transcoder::calculate_predicted_filesize(), FFmpeg_Transcoder::can_copy_stream(), check_hwaccel_dec_blocked(), Cache_Entry::clear(), create_dvd_virtualfile(), FFmpeg_Transcoder::decode_frame(), Cache_Entry::decode_timeout(), FFmpeg_Transcoder::encode_finish(), Cache_Entry::expired(), FFmpeg_Transcoder::FFmpeg_Transcoder(), ffmpegfs_getattr(), ffmpegfs_init(), ffmpegfs_opt_proc(), ffmpegfs_readdir(), find_original(), FFmpeg_Transcoder::get_format(), get_format(), FFmpeg_Transcoder::get_hw_decoder_name(), FFmpeg_Transcoder::get_hw_encoder_name(), FFmpeg_Transcoder::get_next_segment(), FFmpeg_Transcoder::get_pix_formats(), VIRTUALFILE::get_segment_count(), FFmpeg_Transcoder::get_video_size(), guess_format_idx(), FFmpeg_Transcoder::hwframe_ctx_set(), Buffer::init(), insert_file(), Format_Options::is_audio_codec_supported(), Format_Options::is_sample_fmt_supported(), Format_Options::is_video_codec_supported(), load_path(), main(), Buffer::make_cachefile_name(), make_hls_fileset(), FFmpeg_Transcoder::open_albumarts(), FFmpeg_Transcoder::open_bestmatch_video(), FFmpeg_Transcoder::open_decoder(), FFmpeg_Transcoder::open_input_file(), FFmpeg_Transcoder::open_output_filestreams(), FFmpeg_Transcoder::open_output_frame_set(), Cache_Entry::outdated(), FFmpeg_Transcoder::prepare_codec(), FFmpeg_Transcoder::prepare_format(), prepare_script(), print_params(), FFmpeg_Transcoder::process_single_fr(), Format_Options::sample_format(), set_defaults(), FFmpeg_Transcoder::start_new_segment(), Format_Options::subtitle_codec(), Cache_Entry::suspend_timeout(), transcode(), transcoder_cache_path(), transcoder_new(), transcoder_read(), transcoder_set_filesize(), transcoder_thread(), Format_Options::video_codec(), Format_Options::video_codec_list(), FFmpeg_Transcoder::video_size(), virtual_name(), and Logging::Logger::~Logger().
|
static |
List if MP4 profiles
Definition at line 497 of file ffmpegfs.cc.
Referenced by get_profile(), and get_profile_text().
|
static |
List if ProRes levels.
Definition at line 517 of file ffmpegfs.cc.
Referenced by get_level(), and get_level_text().
|
static |
List if recode options.
Definition at line 529 of file ffmpegfs.cc.
Referenced by get_recodesame(), and get_recodesame_text().
|
static |
List of sample formats.
Definition at line 607 of file ffmpegfs.cc.
Referenced by get_sampleformat(), and get_sampleformat_text().
|
static |
List of video codecs.
Definition at line 470 of file ffmpegfs.cc.
Referenced by get_video_codec_text(), and get_videocodec().