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

Attachment: 0002-avcodec-hap-move-parse_section_header-to-hap.c.patch
Description: Binary data

Attachment: 0003-avcodec-hapqa_extract_bsf-add-new-bsf-filter.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to