Opened 7 years ago
Closed 7 years ago
#5657 closed enhancement (fixed)
support Apple 64-bit ARGB ('b64a')
Reported by: | v0lt | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
I made AVI file in VirtualDub Filter Mod version 10. But it does not play in ffplay.exe.
b64a.avi
VirtualDub Filter Mod
FOURCC 'b64a' referred to in the following links:
https://wiki.multimedia.cx/index.php?title=QuickTime_container
https://wiki.multimedia.cx/?title=SheerVideo
https://wiki.multimedia.cx/index.php?title=Apple_ProRes
Attachments (2)
Change History (13)
comment:1 by , 7 years ago
Component: | avcodec → undetermined |
---|---|
Priority: | minor → wish |
follow-up: 5 comment:3 by , 7 years ago
The QuickTime 7 player I have here refuses to play any avi files, how do you test?
comment:5 by , 7 years ago
Replying to cehoyos:
The QuickTime 7 player I have here refuses to play any avi files, how do you test?
I ran Quick Time Player 7.7.9 and pulled the file in the player window. The file is played correctly.
http://i.imgur.com/Kf3xs5M.jpg
by , 7 years ago
comment:6 by , 7 years ago
Reproduced by developer: | set |
---|---|
Status: | new → open |
Version: | unspecified → git-master |
This either needs a (trivial) codec or a new colourspace in libswscale.
comment:7 by , 7 years ago
I think there packet ARGB64BE format. If swap all the bytes of the pixel, we get AV_PIX_FMT_BGRA64LE.
comment:8 by , 7 years ago
Or change the position of the alpha channel, then we get AV_PIX_FMT_RGBA64BE.
// ARGB64BE -> AV_PIX_FMT_RGBA64BE uint64_t pixel = ...; pixel = pixel << 48 | pixel >> 16;
by , 7 years ago
Attachment: | b64a.patch added |
---|
comment:9 by , 7 years ago
I just sent your patch to the development mailing list, in the future please prepare your patches with git format-patch
and send them to ffmpeg-devel, patches are generally ignored on this bug tracker.
comment:10 by , 7 years ago
I also think they packaged as ARGB64BE indeed.
I'm not sure what the patch proposed is doing exactly, but it seems like it interprets AV_PIX_FMT_RGBA64BE as ARGBBE when codec is b64a.
Wouldn't it make more sense to add a new AV_PIX_FMT_ARGB64BE pixel format?
To also allow conversion from/to this format for example.
But this would probably requires more work to fully support it everywhere..
comment:11 by , 7 years ago
Component: | undetermined → avcodec |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Should be fixed in ceab04fb5db89052b3d8abcb57b137de24ed42b0
Which player plays the sample you provided?