i have got a demo to generate a encoded jpeg file from a yuv file,but how can i get a yuv file?
thanks a lot
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
i have got a demo to generate a encoded jpeg file from a yuv file,but how can i get a yuv file?
thanks a lot
What format yuv file do you want? 422 or 420 ?
You can download form Internet about this file,but you must check the file you want to input.
Regards,
Weidong.Shi
i think programs like image magic or irfan view can handle such YUV images in various variants.
so you can use those programs to take a JPEG of your choice and convert it to the format of your desire.
several other development packages out there are coming with a rich set of test images either.
a simple method for creating such an image from a live source is that:
- connect a YUV camera (might be some analog CVBS source) or sensor to your EVM.
- run a sample that captures the incoming data and writes it to a local file system
or use a debugger and write one of the incomining data sets to some dump file.
thanks a lot
i do not have any sample or demo to capture the incoming data ,only have a demo to decode jpeg file from yuv. so can you give me such a program,of course,it would be better if you can tell me where to find the demo and related pdf file in the dvsdk
i expected the DM3x DVSDK contents beeing of a much richer set of samples than only a YUV to JPG converter (that even might run anywhere in some offline fashion?).
i thought that EVM associated with the SoC comes with a ready to run video demo, the board has an IR receiver and responds to a remote control plus to key presses from the on-board buttons. there should be sources in that set that demonstrate the coding for quite similar operations. hmm? (sorry, i dont have that set on my desk right now)
thanks a lot.
i want to capture a picture by dm355 and save it as a jpeg file. i think this process can devide into 2 steps, first, capture the incoming data from cmos and save it as a raw file (i think it will be yuv file), second, incode it into a jpeg file.
in my desk,i only have a demo to complete the second step, i meet the problem in the first, in other words, is there any demo or program to capture the incoming data and writes it to a local file system?
the encode demo program included with the DVSDK is the closest thing that comes to mind; this demo captures and encodes a video stream and writes the encoded stream to a file. You would need to remove the encoding portion so you are only left with capture and write to file...