| 6 | int prepare_for_video_conversion(const char *dst_filename, AVCodecContext *video_dec_ctx, AVCodecContext *audio_dec_ctx, AVFormatContext *fmt_ctx, AVStream *src_video_stream, AVStream *src_audio_stream, int bitr); |
| 7 | int write_video_frame(AVFrame *src_frame); |
| 8 | int write_audio_frame(AVFrame *src_frame, AVCodecContext *src_codec); |
| 9 | void post_video_conversion(); |
| 10 | void cleanup_out(); |
| 11 | void onError(); |
| 12 | void onProgress(); |
| 13 | void onDone(); |
| 14 |
| 15 | void convertFile(const char *src_filename, const char *dst_filename, int bitr); |
| 16 |
| 17 | #endif |
| 18 |