[Libav-user] How can i extract Y plane from any frame in video

Alex Cohn alexcohn at netvision.net.il
Mon Jun 27 10:02:39 CEST 2011


> when i want to view the results images by Irfanview software, the software detect them as .jpg and says the extension .yuv is wrong.

IrfanView does not know yuv extension. You should open file "As Raw"
manually, or change the extension.

> How can i view any raw image in yuv format or even just intensity image with extension(.y)?

When you choose "Open as Raw" menu, you get a dialog to specify the
image width & height, and also format. If you choose 8-bit grayscale,
you will see intensity only, even if the input is yuv (-f yuvj420).
Or, you may choose 24-bit YUV420 to see your image in color.

Sincerely,
Alex

PS Note that this list requires no to top-post.


More information about the Libav-user mailing list