| | |
| | | void end_writer(); |
| | | |
| | | void maybe_dump_gop(); |
| | | |
| | | int init_write_h264(const bool audio); |
| | | int write_h264(const CPacket &pkt); |
| | | int end_write_h264(); |
| | | |
| | | int init_write_hevc(const bool audio); |
| | | int write_hevc(const CPacket &pkt); |
| | | int end_write_hevc(); |
| | | int mux_hevc(FILE *fp, const char *outfile); |
| | | private: |
| | | ffwrapper::FormatIn *in_; |
| | | ffwrapper::FormatOut *out_; |
| | |
| | | int end_frame; |
| | | int cur_frame; |
| | | int cur_frame_a; |
| | | |
| | | |
| | | std::list<CPacket> list_pkt_; |
| | | |
| | | std::atomic_bool stop_recorder_; |
| | |
| | | bool error_occured_; |
| | | |
| | | bool audio_; |
| | | |
| | | FILE *fp_; |
| | | }; |
| | | } |
| | | } |