[FFmpeg-devel] [PATCH] Set AVSTREAM_PARSE_HEADERS flag for AV1 MP4 streams

2020-08-23 Thread Vikas Agrawal (Engrg-SW)
Please review: It help initialize chroma format and other info properly Chroma format wasn't correct if I use below code: avformat_find_stream_info(fmtc, NULL); iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); eChromaFormat = (AVPixelFormat)f

[FFmpeg-devel] [PATCH] Set AVSTREAM_PARSE_HEADERS flag for AV1 MP4 streams

2020-08-20 Thread Vikas Agrawal (Engrg-SW)
Updated patch as per recommendation. It help initialize chroma format and other info properly Chroma format wasn't correct if I use below code: avformat_find_stream_info(fmtc, NULL); iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); eChromaForma

[FFmpeg-devel] [PATCH v2] Set AVSTREAM_PARSE_HEADERS flag for AV1 MP4 streams It help initialize chroma format and other info properly Chroma format wasn't correct if I use below code: avformat_find_s

2020-08-20 Thread Vikas Agrawal (Engrg-SW)
--- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 1532e74d67..4c8598c992 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2423,6 +2423,9 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb, case