Hi Everyone:
I'm trying to use imx53 smd board to do this job:
a) show camera pictures on screen (25 frames per second);
b) simultaneously , vpu encodes the camera's yuv420 pictures into h264 format;
c) after vpu encoded one frame, packet this ES data into TS (transport stream) format;
d) send this packeted TS to VLC player(running on PC) using UDP;
I have finished a)、b) and d), but I got stuck in c).
For Linux or Android OS, it seems that ffmpeg and gstream tools can accomplish this task , but for WinCE7, I have to write an algorithm to convert H264 format to TS format. Unfortunately , my algorithm doesn't work well, from VLC debug tool, it says that CRC32 error occurred when I start sending TS data. I have no way to solve this problem.
Could FreeScale or someone offers a right method to packet h264 to TS format ?? (WinCE OS)
Thanks.