Play video and audio from ESP32!
As you know, due to the lack of resources on the ESP32, it is hard to play the video. However, if you separate the MJPEG image and audio AAC from the video, you can make it playable on ESP32. My project is based on a Mini Retro TV project that already works great. Based on this, I made it possible to change the channel of several video clips on the SD card using the touch screen. *Timestamps* 0:00 – Intro 1:00 – Mini Retro TV 2:48 – Download Sample Videos 2:59 – Make MJPEG, AAC FILE (FFMPEG) 3:16 – Copy Files to SD Card 4:08 – Added Touch Action 4:57 – Organize Video Clips on SD Card 5:07 - Lego Housing Case 5:29 – All Done! [Mini Retro TV] https://www.instructables.com/Mini-Retro-TV/ [FFMPEG] https://ffmpeg.org/ //Video Encoding ffmpeg -i SampleVideo_640x360_10mb.mp4 -vf "fps=30,scale=-1:240:flags=lanczos,crop=288:in_h:(in_w-288)/2:0" -q:v 11 288_30fps.mjpeg //Aduio Encoding ffmpeg -i SampleVideo_640x360_10mb.mp4 -ar 44100 -ac 1 -ab 24k -filter:a loudnorm -filter:a "volume=5dB" 44100.aac [Sample Videos] https://sample-videos.com/ [Project Github] https://github.com/0015/ThatProject/tree/master/ESP32_VideoPlayer/MiniLegoTV #VideoPlayer #MINITV #ESP32 #Lego #ThatProject
As you know, due to the lack of resources on the ESP32, it is hard to play the video. However, if you separate the MJPEG image and audio AAC from the video, you can make it playable on ESP32. My project is based on a Mini Retro TV project that already works great. Based on this, I made it possible to change the channel of several video clips on the SD card using the touch screen. *Timestamps* 0:00 – Intro 1:00 – Mini Retro TV 2:48 – Download Sample Videos 2:59 – Make MJPEG, AAC FILE (FFMPEG) 3:16 – Copy Files to SD Card 4:08 – Added Touch Action 4:57 – Organize Video Clips on SD Card 5:07 - Lego Housing Case 5:29 – All Done! [Mini Retro TV] https://www.instructables.com/Mini-Retro-TV/ [FFMPEG] https://ffmpeg.org/ //Video Encoding ffmpeg -i SampleVideo_640x360_10mb.mp4 -vf "fps=30,scale=-1:240:flags=lanczos,crop=288:in_h:(in_w-288)/2:0" -q:v 11 288_30fps.mjpeg //Aduio Encoding ffmpeg -i SampleVideo_640x360_10mb.mp4 -ar 44100 -ac 1 -ab 24k -filter:a loudnorm -filter:a "volume=5dB" 44100.aac [Sample Videos] https://sample-videos.com/ [Project Github] https://github.com/0015/ThatProject/tree/master/ESP32_VideoPlayer/MiniLegoTV #VideoPlayer #MINITV #ESP32 #Lego #ThatProject