Wenpeng Zhou <zhou.wenpeng@...> writes:

> I mean this command.
> ffplay -f dshow -i video="Mercury USB2.0 Camera" -s 640x480
> 
> How can we set 640x480 in C++ code?

To quote my original answer:
> > there is libswscale (or the scale filter that uses
> > libswscale) to do the resizing.

See doc/examples/filtering_video.c for an example for 
on how to use video filters, doc/examples/scaling_video.c 
for an example on how to use libswscale.

Please do not top-post here, it is considered rude, 
Carl Eugen

_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to