Hi,
I am curious to know how I can play a video stored in sdcard on a LCD. I am concern with the source code, what exactly the header, and app files will be, should I need to control the RGB for every pixels. Does the display size matter,
what if I change the resolution, please assist me how to get started. (controller LPC1788)
Much too little info to tell if this is possible at all ?
Is the resolution 64 x 64 pixels or is it 4K video at 60 fps ?
There is no way one can say if the 1788 can do it (I doubt) if you don't tell us more.
We can't run staqndard video decoders on the LPC microcontrollers, in general these architectures are not suitable for such a task. But there is an alternative to decoders:
Regards,
Bernhard.
Thanks Bernhard,
That's what I am looking for, when I google I found someone done with atmega32 microcontroller and nokia color LCD. with 65K color LCD from an old nokia 6030 mobile phone, which is more tricky to merge the video and audio. Lot's of processing is required over the file which is going to be played. It become difficult to process all the video file which we want to play. We need a best solution so that one can easily play a video just by replacing a sd card (video file). First I will try what you have suggest, or indeed I have to replace the processor with i.MX processor as suggested by Jeremyzhou,
warm regards
There is a graphics framework from FDI doing this this:
uEZ 15fps Video on an LPC1788 MCU - YouTube
http://www.teamfdi.com/public_html/uez/Video/uEZ%20Auto%20Video%20Conversion%20Guide.pdf
Regards,
Bernhard.
Hi Mohammad Faizan,
Thanks Jeremyzhou,
I will try with what you have suggested, but at a moment custom board is ready with the lpc1788, by which tcp client has been created, I just want to add one more module of playing a video on LCD screen. I am keener to know about the code, can you suggest is their any demo code for LPC1788 or same series for the reference, its better to refer demo project before starting from the scratch.I would be glad if you could suggest for the code (header and source file)
warm regards
Mohammad Faizan
Hi Mohammad Faizan,
There's a CMSIS software library for LPC177x and LPC1778x series, and hope it have reference value for your design.
lpc407x_8x_177x_8x.zip - Google Drive
Thanks Jeremyzhou,
I explore the demo project files, thank you so much for your support, I need one more help, while playing a audio we need to use a codec as it is in analog form, suppose a video file is stored in a sdcard which must be digital, so I just need to fetch the video file from sdcard or some kind of processing will be required.
warm regards
Hi Mohammad Faizan,
Thank for your reply.
I'd highly recommend you to search some MP3 or MP4 solutions by Google, in my opinion, the LPC1788 is not a good choice to play the audio and display video simultaneously, you may need to consider a replacement of it.
The application AN10583 describes how to design an MP3 player using the LPC2148, hope it's helpful to your design.
https://www.nxp.com/docs/en/application-note/AN10583.pdf?fsrch=1&sr=6&pageNum=1