While transcodeing videos using FFmpeg and the AV1 codec with the scalefilter and AMD hardware encoder (av1_amf), unexpected padding is added to the output. This issue is not consistent and has been encountered during various video runs.