Hello Victoria,

On Sun, 6 Feb 2022 at 16:12, Victoria Zhislina <niva...@gmail.com> wrote:

> I wasn't aware of the cases where width/height can change between frames -
> never seen them in real life, but right you are,  iI will change my code
> accordingly - to make re-init if some change happened.


If you want to create such a sample, take 2 short HEVC clips with
different resolutions, extract the ES, and concat them together:

ffmpeg -i INPUT1.mp4 -codec copy -bsf:v hevc_mp4toannexb OUTPUT1.265
ffmpeg -i INPUT2.mp4 -codec copy -bsf:v hevc_mp4toannexb OUTPUT2.265

cat OUTPUT1.265 OUTPUT2.265 > mixed_res.265

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

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to