[FFmpeg-devel] [FFmpeg-cvslog] avcodec/asvenc: Don't waste bits encoding non-visible part
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon May 26 16:22:45 EEST 2025
James Almer:
> On 5/26/2025 10:06 AM, Andreas Rheinhardt wrote:
>> It is possible to hit this bug even before my patch with a commandline
>> like this (tested with qemu):
>> ffmpeg -filter_complex
>> nullsrc=s=740x576:r=25,format=yuv420p,crop=w=720:x=2 -c:v asv2 -f null -
>
> Why does that generate unaligned strides? nullsrc uses
> ff_get_video_buffer() to allocate a frame, which aligns strides with
> av_cpu_max_align().
>
In this example, it is the pointers, not the strides that are unaligned.
- Andreas
More information about the ffmpeg-devel
mailing list