I have downloaded the Irfanview as you told but still can not view the image files with extension *.y or *.u or *.v.<br>BTW all image files with extension *.yuv which has been extracted by below command:<br><br>ffmpeg -i input.wmv -r 1 -s WxH -f image2 -pic_fmt yuvj420p Img-%03d.yuv<br>
<br>the Irfan view detect them as Jpg and says it is an JPG image with wrong extension.... whats your idea?<br><br><br><div class="gmail_quote">On Wed, Jun 22, 2011 at 1:38 PM, Alex Cohn <span dir="ltr"><<a href="mailto:alexcohn@netvision.net.il">alexcohn@netvision.net.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Windows, download a free program called IrfanView.<br>
<font color="#888888">Alex<br>
</font><div><div></div><div class="h5"><br>
On Wednesday, June 22, 2011, Amir Rouhi-Rmit <<a href="mailto:amir.rouhi@rmit.edu.au">amir.rouhi@rmit.edu.au</a>> wrote:<br>
> When i use the below command<br>
> ffmpeg -i input.wmv -r 1 -s WxH -f image2 Img-%03d.Y<br>
> i will get three different output file for each image which the extensions are Img-xxx.u and Img-xxx.v and Img-xxx.y<br>
> it seems that the command separate the picture of each frame to 3 plane y,u and v. But i cant view them to see the result. are they correct or not? Can you recommend a software for viewing this images with extensions *.y *.u and *.v?<br>

><br>
> But when i use the command:<br>
> ffmpeg -i input.wmv -r 1 -s WxH -f image2 -pic_fmt gray Img-%03d.Y<br>
> the result contains like previous command , for each image three planes with *.y ,*.u and *.v which the size of *.u and *.v is 0.<br>
> how can i see the image of *.y resulted in this command and compare it with previous one? size in both are same and hex editor shows same content but i need to see the images. how to view them?<br>
> Tnx<br>
><br>
> On Fri, Jun 17, 2011 at 8:37 PM, Stefano Sabatini <<a href="mailto:stefano.sabatini-lala@poste.it">stefano.sabatini-lala@poste.it</a>> wrote:<br>
> On date Thursday 2011-06-16 16:02:43 +1000, Amir Rouhi-Rmit encoded:<br>
>> I know that i can extract images of a video by ffmpeg as can be seen in<br>
>> below command:<br>
>> ffmpeg -i input.avi -r 1 -s WxH -f image2 Img-%03d.jpeg<br>
>> But what i want is a separated Y plane and cb and cr plane. can i i achieve<br>
>> this by ffmpeg? if yes pleas let me now how and if no do you suggest any<br>
>> idea?<br>
><br>
> You may use the .Y raw image format:<br>
> ffmpeg -i input.avi -r 1 -s WxH -f image2 Img-%03d.Y<br>
><br>
> to get separate .Y, .U, .V raw images. A possibly better solution<br>
> would be to use the lut filter, soon to be committed, and I suppose<br>
> you can achieve the same purpose using some of the MPlayer filters<br>
> wrapped by mp.<br>
> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>
><br>
> --<br>
> Amir H. Rouhi<br>
> PhD Student/ CSIT RMIT University<br>
> Room: 14-09-04<br>
> <a href="mailto:rouhi_amirhossein@student.rmit.edu.au">rouhi_amirhossein@student.rmit.edu.au</a><br>
> <a href="mailto:amir.rouhi@rmit.edu.au">amir.rouhi@rmit.edu.au</a><br>
><br>
><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Amir H. Rouhi</div>
<div>PhD Student/ CSIT RMIT University</div>
<div>Room: 14-09-04</div>
<div><a href="mailto:rouhi_amirhossein@student.rmit.edu.au" target="_blank">rouhi_amirhossein@student.rmit.edu.au</a></div>
<div><a href="mailto:amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a></div>
<div> </div><br>