|
virtual void | defineMux () |
| Define container format (format_name) & muxing parameters (av_dict). Define in child classes.
|
|
virtual void | go (Frame *frame) |
| Does the actual filtering/modification to the Frame. Define in subclass. More...
|
|
virtual void | run (Frame *frame) |
| Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL)
|
|
void | initMux () |
| Open file, reserve codec_contexes, streams, write preamble, set initialized=true if success. More...
|
|
void | closeMux () |
| Close file, dealloc codec_contexes, streams.
|
|
void | deActivate_ () |
|
void | writeFrame (BasicFrame *frame) |
|
|
static int | write_packet (void *opaque, uint8_t *buf, int buf_size_) |
|
static int | read_packet (void *opaque, uint8_t *buf, int buf_size) |
|
static int64_t | seek (void *opaque, int64_t offset, int whence) |
|
static int | write_packet (void *opaque, uint8_t *buf, int buf_size) |
|
static int | read_packet (void *opaque, uint8_t *buf, int buf_size) |
|
static int64_t | seek (void *opaque, int64_t offset, int whence) |
|
|
bool | active |
| Writing to muxer has been requested.
|
|
bool | has_extradata |
| Got "extradata" (sps & pps)
|
|
int | extradata_count |
| Check that we have the sps => pps sequence.
|
|
bool | ready |
| Got enough setup frames & extradata.
|
|
bool | initialized |
| After ready & active, initMux is called (set streams, codec ctx, etc. More...
|
|
long int | mstimestamp0 |
| Time of activation (i.e. when the recording started)
|
|
long int | zerotime |
| Start time set explicitly by the user.
|
|
long int | prevpts |
|
bool | zerotimeset |
|
bool | testflag |
|
std::string | format_name |
|
AVFormatContext * | av_format_ctx |
|
AVIOContext * | avio_ctx |
|
uint8_t * | avio_ctx_buffer |
|
AVRational | timebase |
|
std::vector< AVCodecContext * > | codec_contexes |
|
std::vector< AVStream * > | streams |
|
AVFormatContext * | av_format_context |
|
AVPacket * | avpkt |
|
AVDictionary * | av_dict |
|
std::mutex | mutex |
| Mutex protecting the "active" boolean.
|
|
std::condition_variable | condition |
| Condition variable for the mutex.
|
|
std::vector< SetupFrame > | setupframes |
| deep copies of the arrived setup frames
|
|
static const size_t | avio_ctx_buffer_size = 4096 |
|
◆ write_packet()
int FragMP4MuxFrameFilter::write_packet |
( |
void * |
opaque, |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size_ |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following files: