Kristensen, Odd-Arild <okristensen@...> writes: > If filter_frame() does perform cropping, how does > > frame->data[0] += s->y * frame->linesize[0]; > > frame->data[0] += s->x * s->max_step[0]; > > in any way change the pixels of the video?
I would say that cropping is not supposed to change the pixels (of a video). > Scaling on the other hand seem to be done by > sws_scale() if I am not mistaken. This is correct. > But the wording in the documentation confuses me. > Does it change/convert the pixel format of the > video, or does it actually scale the video/frame > to a different resolution? Both. Carl Eugen _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
