Post by tapierscheisse on Dec 4, 2022 7:19:08 GMT -8
Hi, I just found this thread, as it seems to adress the problem that I am Working on:
I am using hr Gameduino 3, 4,2" with an Arduino Uno. My goal is to have it play videos, which are triggered by an RFID chip. All is well, as long as i use the provided sample Videos. But as soon as I try to use different files, the screen illuminates, but stays black.
To be sure I didn't mess up the code, I went back to the sample scripts of video1. It works with the provided AVI File. So neither a software nor a hardware issue. But again, my own videos fail as discribed before.
I tried different ways to vreate the viedeo files, none of wich worked.
The things I tried: - Convert mp4 Video online to avi - resize mp4 videos to 480x270 and a bitrate of 1000 - converted mpeg files with EVE Asset Builder (2.7.1) from Bridgetek to avi. - I used 480 x 272 AND 479 x 270 Size
I found James Bowmen's Python based Vidoe Converter (gd3asset) BUT I can neither make heads or tails out of it. I never used Python, I am a Windows User and in the Windpws command line, i do not find any option to do the Video Conversion...
You can convert 1920x1080 videos with the asset builder 2.7.1, and convert them to a size and quality suitable for the FT81x graphics chip. But you must adapt the aspect ratio of the video to the proportions of the screen.
The ratio you should keep is: 1080/1920 = 0.5625
The FT81x chip supports a maximum of 800x480 px, in order not to exceed the limits you must convert the video to these dimensions:
(797)(0.5625) = 448.31 px
This is: 797x448 or 797x450 px. It can work very well 455 px in the height, but you have to see how the screen responds, since sometimes failures can occur in the video sequence or the audio.
The gameduno 3 does the job in AVR environments with some limitations, not so much because of the hardware but because of the available libraries. Video playback not only requires speed from the MCU, it also requires good performance on the microSD memory, plus the power demand on the MCU is relatively high.
Don't get me wrong, the gameduino 3 excels at the hardware standards it was designed upon, if we want to get more out of it, we have to go outside the standards for higher performance.
Last Edit: Dec 5, 2022 14:38:12 GMT -8 by tftlcdcyg
By keeping the pixel ratio of the base video in the converted video, you should have no problem playing it on your gameduino 3. I have tried using the shield on other platforms. I got the gameduino 3 to play video on a black STM32F407VG board
With minimal modifications to the initial time table settings, it is possible to use screens of a similar size (480x272) as the NHD-4.3"-FT813.
Regarding audio, I have noticed that the 3.5 stereo jacks do not make good contact with the audio input of the screen.
MLSDev is a leading provider of dedicated development teams and custom software solutions. We specialize in creating dynamic web and mobile applications, custom software development, and integrated systems that work according to our clients' specific requirements. Our experienced developers have expertise in the latest technologies, such as artificial intelligence (AI), machine learning, natural language processing, computer vision, and predictive analytics. Our goal-oriented teams are committed to helping businesses innovate and modernize, delivering cost-effective solutions that meet their highest standards. Read there mlsdev.com/services/dedicated-development-team more!