[FFmpeg-devel] avformat/mov : add support for read/write Adobe Alpha Udta

Martin Vignali martin.vignali at gmail.com
Sat Mar 3 20:09:20 EET 2018


Hello,

Patch in attach add suport for reading ALFA udta
set (at least), by Adobe Software
and for writing it.

Theses two patch, can keep the original metadata when remuxing it
And the user can force the value using -metadata alpha=
In order to have the right alpha mode set when importing the mov file in
Adobe Software.

//Force set alpha straight
./ffmpeg -i inputFile -vcodec copy -metadata alpha="straight" targetFile.mov

//Force set alpha premult
./ffmpeg -i inputFile -vcodec copy -metadata alpha="premult" targetFile.mov

Example of file with this metadata can be found here
https://we.tl/dil4NvXMS0

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-avformat-mov-add-support-for-Adobe-Alpha-metadata-pa.patch
Type: application/octet-stream
Size: 2004 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180303/786197ad/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-avformat-movenc-add-support-for-writing-alpha-metada.patch
Type: application/octet-stream
Size: 1976 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180303/786197ad/attachment-0001.obj>


More information about the ffmpeg-devel mailing list