[FFmpeg-trac] #8405(undetermined:new): “ffmpeg -i input -pix_fmt bgr24 -c:v rawvideo output.avi”: “par->codec_tag” is set to “0”
FFmpeg
trac at avcodec.org
Wed Nov 27 06:45:55 EET 2019
#8405: “ffmpeg -i input -pix_fmt bgr24 -c:v rawvideo output.avi”: “par->codec_tag”
is set to “0”
-------------------------------------+-------------------------------------
Reporter: Kdmeizk | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
[https://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/mux.c;hb=HEAD
libavformat/mux.c]:
{{{
if ( par->codec_tag
&& par->codec_id == AV_CODEC_ID_RAWVIDEO
&& ( av_codec_get_tag(of->codec_tag, par->codec_id) == 0
|| av_codec_get_tag(of->codec_tag, par->codec_id) ==
MKTAG('r', 'a', 'w', ' '))
&& !validate_codec_tag(s, st)) {
// the current rawvideo encoding system ends up setting
// the wrong codec_tag for avi/mov, we override it here
par->codec_tag = 0;
}
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8405>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list