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

2020-08-24 Thread James Almer
On 8/24/2020 3:18 AM, Vikas Agrawal (Engrg-SW) wrote: > > 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_V

[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

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

2020-08-19 Thread James Almer
On 8/19/2020 6:50 AM, ManojGuptaBonda wrote: > From: Vikas Agarwal > > It allow AV1 header parsing and help initialize chroma format and other > info properly. > > Chroma format wasn't correct if we use below code: > > avformat_find_stream_info(fmtc, NULL); iVideoStream = > av_find_best_stream(

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

2020-08-19 Thread ManojGuptaBonda
From: Vikas Agarwal It allow AV1 header parsing and help initialize chroma format and other info properly. Chroma format wasn't correct if we use below code: avformat_find_stream_info(fmtc, NULL); iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); eChromaFormat = (AV