It took a great deal of effort to get it done. Here's how to talk about it.
1. Download ffmpeg, transcoding pictures and videos of the sharp weapon ah. Official free download Address: http://www.ffmpeg.org/download.html
2. No installation is required and can be used after decompression. You need to use the cmd of Windows to run the command line for transcoding:
First navigate to the following Bin folder:
CD C:\ffmpeg-20141104-git-37425fc-win64-static\bin
Then run the command line:
Ffmpeg-i test.jpg-s 640x480-pix_fmt yuv420p TEST.YUV
can also use test%d.jpg to batch processing pictures, test1.jpg,test2.jpg ...
3. The output YUV file will appear under the Bin folder. If you need to convert a picture in another format, simply replace the JPG with a BMP or PNG. It is important to note that:
-pix_fmt yuv420p need to add on, if not add, often transcoding results to yuv444 format, not the general reader needs. Additional input images need to be placed below the Bin folder.
Attached: Recommend a YUV player: http://www.yuvplayer.com/free and convenient.