FFmpegfs Fuse Multi Media Filesystem 2.16
|
In/output stream reference data. More...
#include <ffmpeg_transcoder.h>
Public Member Functions | |
void | set_codec_ctx (AVCodecContext *codec_ctx) |
Set the AVCodecContext pointer. Will be shared and deleted after the last consumer freed it. More... | |
void | reset () |
Close (reset) AVCodecContext pointer. More... | |
Public Attributes | |
std::shared_ptr< AVCodecContext > | m_codec_ctx |
AVCodecContext for this encoder stream. More... | |
AVStream * | m_stream |
AVStream for this encoder stream. More... | |
int | m_stream_idx |
Stream index in AVFormatContext. More... | |
int64_t | m_start_time |
Start time of the stream in stream time base units, may be 0. More... | |
FFmpeg_Transcoder::StreamRef::StreamRef | ( | ) |
Definition at line 170 of file ffmpeg_transcoder.cc.
|
virtual |
Definition at line 178 of file ffmpeg_transcoder.cc.
void FFmpeg_Transcoder::StreamRef::reset | ( | ) |
Close (reset) AVCodecContext pointer.
Definition at line 210 of file ffmpeg_transcoder.cc.
Referenced by FFmpeg_Transcoder::close_input_file(), and FFmpeg_Transcoder::close_output_file().
void FFmpeg_Transcoder::StreamRef::set_codec_ctx | ( | AVCodecContext * | codec_ctx | ) |
Set the AVCodecContext pointer. Will be shared and deleted after the last consumer freed it.
[in] | codec_ctx | - AVCodecContext pointer to store |
Definition at line 196 of file ffmpeg_transcoder.cc.
Referenced by FFmpeg_Transcoder::add_albumart_stream(), FFmpeg_Transcoder::add_external_subtitle_stream(), FFmpeg_Transcoder::add_stream(), FFmpeg_Transcoder::add_stream_copy(), FFmpeg_Transcoder::add_subtitle_stream(), FFmpeg_Transcoder::open_albumarts(), FFmpeg_Transcoder::open_bestmatch_audio(), FFmpeg_Transcoder::open_bestmatch_video(), FFmpeg_Transcoder::open_output_frame_set(), and FFmpeg_Transcoder::open_subtitles().
std::shared_ptr<AVCodecContext> FFmpeg_Transcoder::StreamRef::m_codec_ctx |
AVCodecContext for this encoder stream.
Definition at line 132 of file ffmpeg_transcoder.h.
Referenced by FFmpeg_Transcoder::add_stream(), FFmpeg_Transcoder::add_subtitle_stream(), FFmpeg_Transcoder::calculate_predicted_filesize(), FFmpeg_Transcoder::convert_samples(), FFmpeg_Transcoder::copy_audio_to_frame_buffer(), FFmpeg_Transcoder::decode_audio_frame(), FFmpeg_Transcoder::decode_video_frame(), FFmpeg_Transcoder::encode_audio_frame(), FFmpeg_Transcoder::encode_image_frame(), FFmpeg_Transcoder::encode_subtitle(), FFmpeg_Transcoder::encode_video_frame(), FFmpeg_Transcoder::flush_buffers(), FFmpeg_Transcoder::flush_delayed_audio(), FFmpeg_Transcoder::flush_delayed_video(), FFmpeg_Transcoder::flush_frames_all(), FFmpeg_Transcoder::get_pix_formats(), FFmpeg_Transcoder::init_audio_fifo(), FFmpeg_Transcoder::init_audio_output_frame(), FFmpeg_Transcoder::init_converted_samples(), FFmpeg_Transcoder::init_resampler(), FFmpeg_Transcoder::is_video(), FFmpeg_Transcoder::open_bestmatch_video(), FFmpeg_Transcoder::open_input_file(), FFmpeg_Transcoder::open_output(), FFmpeg_Transcoder::open_output_filestreams(), FFmpeg_Transcoder::open_output_frame_set(), and FFmpeg_Transcoder::produce_audio_dts().
int64_t FFmpeg_Transcoder::StreamRef::m_start_time |
Start time of the stream in stream time base units, may be 0.
Definition at line 135 of file ffmpeg_transcoder.h.
Referenced by FFmpeg_Transcoder::create_audio_frame(), FFmpeg_Transcoder::decode_video_frame(), FFmpeg_Transcoder::open_output(), and FFmpeg_Transcoder::store_packet().
AVStream* FFmpeg_Transcoder::StreamRef::m_stream |
AVStream for this encoder stream.
Definition at line 133 of file ffmpeg_transcoder.h.
Referenced by FFmpeg_Transcoder::add_albumart_stream(), FFmpeg_Transcoder::add_external_subtitle_stream(), FFmpeg_Transcoder::add_stream(), FFmpeg_Transcoder::add_stream_copy(), FFmpeg_Transcoder::add_subtitle_stream(), FFmpeg_Transcoder::calculate_predicted_filesize(), FFmpeg_Transcoder::create_audio_frame(), FFmpeg_Transcoder::decode(), FFmpeg_Transcoder::decode_frame(), FFmpeg_Transcoder::decode_video_frame(), FFmpeg_Transcoder::do_seek_frame(), FFmpeg_Transcoder::encode_image_frame(), FFmpeg_Transcoder::encode_subtitle(), FFmpeg_Transcoder::encode_video_frame(), FFmpeg_Transcoder::get_pix_formats(), FFmpeg_Transcoder::get_video_size(), FFmpeg_Transcoder::is_video(), FFmpeg_Transcoder::open_albumarts(), FFmpeg_Transcoder::open_bestmatch_audio(), FFmpeg_Transcoder::open_bestmatch_video(), FFmpeg_Transcoder::open_input_file(), FFmpeg_Transcoder::open_output(), FFmpeg_Transcoder::open_output_filestreams(), FFmpeg_Transcoder::open_output_frame_set(), FFmpeg_Transcoder::open_subtitles(), FFmpeg_Transcoder::process_metadata(), FFmpeg_Transcoder::process_single_fr(), FFmpeg_Transcoder::read_decode_convert_and_store(), FFmpeg_Transcoder::skip_decoded_frames(), FFmpeg_Transcoder::start_new_segment(), and FFmpeg_Transcoder::store_packet().
int FFmpeg_Transcoder::StreamRef::m_stream_idx |
Stream index in AVFormatContext.
Definition at line 134 of file ffmpeg_transcoder.h.
Referenced by FFmpeg_Transcoder::add_albumart_stream(), FFmpeg_Transcoder::add_external_subtitle_stream(), FFmpeg_Transcoder::add_stream(), FFmpeg_Transcoder::add_stream_copy(), FFmpeg_Transcoder::add_subtitle_stream(), FFmpeg_Transcoder::calculate_predicted_filesize(), FFmpeg_Transcoder::create_audio_frame(), FFmpeg_Transcoder::decode(), FFmpeg_Transcoder::decode_audio_frame(), FFmpeg_Transcoder::decode_frame(), FFmpeg_Transcoder::decode_video_frame(), FFmpeg_Transcoder::do_seek_frame(), FFmpeg_Transcoder::encode_audio_frame(), FFmpeg_Transcoder::encode_subtitle(), FFmpeg_Transcoder::encode_video_frame(), FFmpeg_Transcoder::flush_frames_all(), FFmpeg_Transcoder::flush_frames_single(), FFmpeg_Transcoder::is_audio_stream(), FFmpeg_Transcoder::is_video_stream(), FFmpeg_Transcoder::open_albumarts(), FFmpeg_Transcoder::open_bestmatch_audio(), FFmpeg_Transcoder::open_bestmatch_video(), FFmpeg_Transcoder::open_input_file(), FFmpeg_Transcoder::open_output(), FFmpeg_Transcoder::open_output_file(), FFmpeg_Transcoder::open_output_filestreams(), FFmpeg_Transcoder::open_output_frame_set(), FFmpeg_Transcoder::open_subtitles(), FFmpeg_Transcoder::process_single_fr(), FFmpeg_Transcoder::skip_decoded_frames(), FFmpeg_Transcoder::start_new_segment(), and FFmpeg_Transcoder::update_format().