[FFmpeg-devel] [PATCH v2] avformat/mov_muxer: Extended MOV muxer to handle APV video content

James Almer jamrial at gmail.com
Mon Jul 7 18:23:17 EEST 2025


On 5/8/2025 7:30 AM, Dawid Kozinski wrote:
> - Changes in mov_write_video_tag function to handle APV elementary stream
> - Provided structure APVDecoderConfigurationRecord that specifies the decoder configuration information for APV video content
> 
> Signed-off-by: Dawid Kozinski <d.kozinski at samsung.com>
> ---
>   libavformat/Makefile    |   2 +-
>   libavformat/apv.c       | 830 ++++++++++++++++++++++++++++++++++++++++
>   libavformat/apv.h       |  88 +++++
>   libavformat/isom_tags.c |   1 +
>   libavformat/movenc.c    |  52 +++
>   5 files changed, 972 insertions(+), 1 deletion(-)
>   create mode 100644 libavformat/apv.c
>   create mode 100644 libavformat/apv.h
> 

There's a lot of duplicate parsing code here. We should instead reuse 
the existing CBS implementation.

Add https://gist.github.com/jamrial/631a2b0b7dafb3f0a9596a24621cb79d to 
make cbs_apv available in lavf and use the CBS API to parse the 
bitstream (It will have a ff_lavf_cbs_* prefix). See movenccenc.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250707/615eb893/attachment.sig>


More information about the ffmpeg-devel mailing list