[FFmpeg-devel] setting vps/sps/pps id via hevc_metadata

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Jan 6 21:04:40 EET 2020


On Mon, Jan 6, 2020 at 7:54 PM Eran Gonen <eran.gonen at cloudinary.com> wrote:

> Hi,
>
> The attached patch allows setting vps/sps/pps id
>
> Usage:
> /ffmpeg -i source -c:v libx265 -bsf:v
> hevc_metadata=sps_id=8:pps_id=12:vps_id=3 output
>
>
There is a problem with this: Input files with parameter sets of the same
kind with different ids can be broken by this (because they would all share
the same id in the output and hence overwrite each other upon decoding).

- Andreas


More information about the ffmpeg-devel mailing list