> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Nicolas > George > Sent: 2021年4月8日 22:54 > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data > AV_FRAME_DATA_BOUNDING_BOXES > > Guo, Yejun (12021-04-08): > > I'm afraid that we could not make sure all such filters (including filters > > in the > > future) to do the rescale. And in the previous discussion, I got to know > > that > > 'many other existing side-data types are invalidated by scaling'. > > > > So, we need frame_width and frame_height here. > > But the crop or pad filters will also invalidate the information, and in > a different way. How should frame_width and frame_height be used to > solve all?
thanks for the new info, my idea was to rescale the bounding box for the frame size change. Looks that we can just output a warning message and don't do the classification if the size changes, otherwise, the filter will give wrong result. > > Regards, > > -- > Nicolas George _______________________________________________ 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".