Ignas Brašiškis <ignas.brasiskis@...> writes:

> Hello I am tryng to use libswscale to scale NV21 resolution.

I tested the following:
$ ffmpeg -f lavfi -i testsrc -vframes 1 -f rawvideo -pix_fmt nv21 o1
$ ffmpeg -f rawvideo -pix_fmt nv21 -s 320x240 -i o1 -s pal -f rawvideo o2

The second output file does contain the UV plane:
$ ffmpeg -f rawvideo -pix_fmt nv21 -s pal -i o2 out.jpg

Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to