Hello All,

The current implementation of libavcodec/qsvdec_h264.c does not store
original extradata buffer. At the same time the
\libavcodec\h264_mp4toannexb_bsf filter does modify extradata buffer
inplace and fails to process it next time if decoder reinitializes.
So it is not possible to decode mp4 or mkv container using ffmpeg
command line with h264_qsv decoder.
The attached patch solves this issue. The corresponded code was taken
from \libavcodec\crystalhd.c which also uses the h264_mp4toannexb_bsf
filter.
  

-- 
Best regards,
 Ivan                          mailto:[email protected]

Attachment: 0001-libavcodec-qsvdec_h264.c-bug-fixed-decoder-fails-aft.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to