[FFmpeg-devel] avcodec/hapqa_extract_bsf : add bsf filter for haqqa (to hapq or hapalpha only) conversion (WIP)
Martin Vignali
martin.vignali at gmail.com
Mon Nov 13 23:43:18 EET 2017
Hello,
In attach patch to add a new bitstream filter
The goal is to convert HAPQA file to HAPQ (removing alpha)
or HAPAlphaOnly (remove rgb)
HAPQA data, is separate in two part, one for RGB data and one for alpha data
so we can make the conversion without losses, by copying the right part.
currently no doc/fate test is written.
Example of use
Convert HAPQA to HAPQ
./ffmpeg -i hapqa_inputfile.mov -c copy -bsf:v hapqa_extract=texture=0
-tag:v HapY -metadata:s:v:0 encoder="HAPQ" hapq_file.mov
Convert HAPQA to HAPAlphaOnly
./ffmpeg -i hapqa_inputfile.mov -c copy -bsf:v hapqa_extract=texture=1
-tag:v HapA -metadata:s:v:0 encoder="HAPAlpha Only" hapalphaonly_file.mov
Comments welcome
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-hap-move-parse_section_header-to-hap.c.patch
Type: application/octet-stream
Size: 4879 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171113/4be16668/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avcodec-hapqa_extract_bsf-add-new-bsf-filter.patch
Type: application/octet-stream
Size: 4512 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171113/4be16668/attachment-0001.obj>
More information about the ffmpeg-devel
mailing list