feat(encoder): added auto selection of the most suitable output pix_fmt

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2024-11-10 00:00:00 +00:00
parent e477123e88
commit e393910f21
5 changed files with 85 additions and 12 deletions

View File

@@ -7,4 +7,7 @@ extern "C" {
int64_t get_video_frame_count(AVFormatContext *ifmt_ctx, int in_vstream_idx);
enum AVPixelFormat
get_encoder_default_pix_fmt(const AVCodec *encoder, AVPixelFormat target_pix_fmt);
#endif // AVUTILS_H