#8405 closed defect (invalid)
“ffmpeg -i input -pix_fmt bgr24 -c:v rawvideo output.avi”: “par->codec_tag” is set to “0”
Reported by: | Kdmeizk | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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; }
Change History (6)
comment:1 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | git-master → unspecified |
comment:2 by , 5 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Version: | unspecified → git-master |
comment:3 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Version: | git-master → unspecified |
Please post all usage questions on the user mailing list, this is a bug tracker.
follow-up: 5 comment:4 by , 5 years ago
I understand that “par->codec_tag” is set to “0” because FFmpeg’s “rawvideo encoding system” is problematic.
So the ticket should be valid.
follow-up: 6 comment:5 by , 5 years ago
Replying to Kdmeizk:
I understand that “par->codec_tag” is set to “0” because FFmpeg’s “rawvideo encoding system” is problematic.
No, the reason is the avi specification.
comment:6 by , 5 years ago
Note:
See TracTickets
for help on using tickets.
Input file:
https://drive.google.com/file/d/0B40VEgqICZzWZ1UwQ2M5VldvNmM/view?usp=sharing