Re: [FFmpeg-devel] [PATCH V3] avcodec/h264_mp4toannexb_bsf: extract extradata for first coming frame

2018-09-29 Thread Mark Thompson
On 29/09/18 08:43, Linjie Fu wrote: > Add "new_nal_slice" to indicate the first coming nal_slice (including > H264_NAL_IDR_SLICE and H264_NAL_SLICE) > > Extract extradata of streams when the first nal_slice comes, not only > H264_NAL_IDR_SLICE but also H264_NAL_SLICE. > > This patch aims at the

[FFmpeg-devel] [PATCH V3] avcodec/h264_mp4toannexb_bsf: extract extradata for first coming frame

2018-09-29 Thread Linjie Fu
Add "new_nal_slice" to indicate the first coming nal_slice (including H264_NAL_IDR_SLICE and H264_NAL_SLICE) Extract extradata of streams when the first nal_slice comes, not only H264_NAL_IDR_SLICE but also H264_NAL_SLICE. This patch aims at the following issues: 1. the IDR frame is missing in