On 5/26/2025 10:22 AM, Andreas Rheinhardt wrote:
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.

Right, the crop filter adds offsets to the data pointers. In that case I'm leaning towards encoders having to assume non aligned pointers are possible, and the asv2 encoder fixed to take that into account.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
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