FFmpegfs Fuse Multi Media Filesystem 2.19
Loading...
Searching...
No Matches
Public Attributes | List of all members
CACHE_INFO Struct Reference

Cache information block. More...

#include <cache.h>

Public Attributes

std::string m_origfile
 Original filename before transcode.
 
std::string m_destfile
 Destination filename after transcode.
 
std::array< char, 11 > m_desttype
 Destination type.
 
int64_t m_audiobitrate
 Audio bitrate in bit/s.
 
int m_audiosamplerate
 Audio sample rate in Hz.
 
int64_t m_videobitrate
 Video bitrate in bit/s.
 
int m_videowidth
 Video width.
 
int m_videoheight
 Video height.
 
bool m_deinterlace
 true if video was deinterlaced
 
int64_t m_duration
 File duration, in AV_TIME_BASE fractional seconds.
 
size_t m_predicted_filesize
 Predicted file size.
 
size_t m_encoded_filesize
 Actual file size after encode.
 
uint32_t m_video_frame_count
 Number of frames in video or 0 if not a video.
 
uint32_t m_segment_count
 Number of segments for HLS.
 
RESULTCODE m_result
 Result code:
 
bool m_error
 true if encode failed
 
int m_errno
 errno if encode failed
 
int m_averror
 FFmpeg error code if encode failed.
 
time_t m_creation_time
 Source file creation time.
 
time_t m_access_time
 Source file last access time.
 
time_t m_file_time
 Source file file time.
 
size_t m_file_size
 Source file file size.
 
unsigned int m_access_count
 Read access counter.
 

Detailed Description

Cache information block.

Definition at line 70 of file cache.h.

Member Data Documentation

◆ m_access_count

unsigned int CACHE_INFO::m_access_count

Read access counter.

Definition at line 94 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::read_count(), and Cache_Entry::update_read_count().

◆ m_access_time

time_t CACHE_INFO::m_access_time

◆ m_audiobitrate

int64_t CACHE_INFO::m_audiobitrate

Audio bitrate in bit/s.

Definition at line 75 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_audiosamplerate

int CACHE_INFO::m_audiosamplerate

Audio sample rate in Hz.

Definition at line 76 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_averror

int CACHE_INFO::m_averror

◆ m_creation_time

time_t CACHE_INFO::m_creation_time

Source file creation time.

Definition at line 90 of file cache.h.

Referenced by Cache_Entry::age(), Cache_Entry::clear(), and Cache::read_info().

◆ m_deinterlace

bool CACHE_INFO::m_deinterlace

true if video was deinterlaced

Definition at line 80 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_destfile

std::string CACHE_INFO::m_destfile

Destination filename after transcode.

Definition at line 73 of file cache.h.

Referenced by Cache_Entry::Cache_Entry(), and Cache::read_info().

◆ m_desttype

std::array<char, 11> CACHE_INFO::m_desttype

Destination type.

Definition at line 74 of file cache.h.

Referenced by Cache_Entry::Cache_Entry(), Cache_Entry::delete_info(), and Cache::read_info().

◆ m_duration

int64_t CACHE_INFO::m_duration

File duration, in AV_TIME_BASE fractional seconds.

Definition at line 81 of file cache.h.

Referenced by Cache::read_info(), transcode(), transcode_finish(), transcoder_new(), and transcoder_predict_filesize().

◆ m_encoded_filesize

size_t CACHE_INFO::m_encoded_filesize

◆ m_errno

int CACHE_INFO::m_errno

◆ m_error

bool CACHE_INFO::m_error

◆ m_file_size

size_t CACHE_INFO::m_file_size

Source file file size.

Definition at line 93 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_file_time

time_t CACHE_INFO::m_file_time

Source file file time.

Definition at line 92 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_origfile

std::string CACHE_INFO::m_origfile

Original filename before transcode.

Definition at line 72 of file cache.h.

Referenced by Cache_Entry::Cache_Entry().

◆ m_predicted_filesize

size_t CACHE_INFO::m_predicted_filesize

◆ m_result

RESULTCODE CACHE_INFO::m_result

◆ m_segment_count

uint32_t CACHE_INFO::m_segment_count

Number of segments for HLS.

Definition at line 85 of file cache.h.

Referenced by Cache::read_info(), start_transcoder_thread(), transcode(), transcode_finish(), and transcoder_predict_filesize().

◆ m_video_frame_count

uint32_t CACHE_INFO::m_video_frame_count

Number of frames in video or 0 if not a video.

Definition at line 84 of file cache.h.

Referenced by Cache_Entry::clear(), Cache::read_info(), transcode(), transcode_finish(), transcoder_new(), transcoder_predict_filesize(), and Cache_Entry::video_frame_count().

◆ m_videobitrate

int64_t CACHE_INFO::m_videobitrate

Video bitrate in bit/s.

Definition at line 77 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_videoheight

int CACHE_INFO::m_videoheight

Video height.

Definition at line 79 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_videowidth

int CACHE_INFO::m_videowidth

Video width.

Definition at line 78 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().


The documentation for this struct was generated from the following file: