[FFmpeg-devel] [PATCH] zscale video filter performance optimization 4x
Guillaume POIRIER
poirierg at gmail.com
Wed Feb 9 11:38:26 EET 2022
Hello Victoria,
On Sun, 6 Feb 2022 at 16:12, Victoria Zhislina <niva213 at 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
More information about the ffmpeg-devel
mailing list