Тёмный

Play video and audio from ESP32! 

That Project
Подписаться 34 тыс.
Просмотров 22 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@ThatProject
@ThatProject 2 года назад
For more projects - ru-vid.com That Project Github Repository - github.com/0015/ThatProject Join FB Group - facebook.com/groups/138965931539175
@TT-it9gg
@TT-it9gg 2 года назад
Just done the MJPEG+MP3. Nice to see you made MJPEG+AAC. Good job!
@teddykim1107
@teddykim1107 2 года назад
Nice bro, I guess you might be Chinese aren't you? Your accent sounds like my friend. I am Korean and I have very strong Korean accent on my english too. By the way, your project looks awesome and I am amazed by your works with ESP32. It is hard to keep recording video with great quality of the projects. I would like to record my project but..... I found out doing project + video recording + editing are not easy taking time twice. Especially, your project is meaningful and your idea is really fresh. The completion level is also great. Nice job so far and I am looking forward seeing more project on this channel. Thanks.
@surflaweb
@surflaweb 2 года назад
Amazing project. Excellent work. Keep it up!
@dynamight1124
@dynamight1124 10 месяцев назад
I love this, I am planning on a similar project however using a single button to change channel. I am no coding expert but can usually get things going with some tips! Looks like I need to change the 'touchTask' into something that relates to button presses, got any suggestions to set me in the right direction?
@ThatProject
@ThatProject 10 месяцев назад
How about adding a button interrupt?
@Charles-lt9rr
@Charles-lt9rr 2 года назад
Thanks very much my dear. You are great!!!
@creativemario3039
@creativemario3039 Год назад
I always program with the arduino ide I don't know how to program on visual studio code do you have a tutorial on how to Or a video from an another channel ?
@ThatProject
@ThatProject Год назад
This project was done with Arduino IDE. Are you talking about ESP-IDF? It's tricky but worth learning. Looking at examples is very helpful. I don't have a tutorial on that yet. I'll try to make it if I have a chance. Thanks.
@TucksProjects
@TucksProjects Год назад
Did you make the pcb with the MINI TV text on it? Or is it possible to buy that?
@ThatProject
@ThatProject Год назад
This was a just prototype. You need to make it by yourself with the small display.
@Panchosama2
@Panchosama2 Месяц назад
can you use an even smaller screen, like 0.96"?
@ThatProject
@ThatProject Месяц назад
@@Panchosama2 Smaller displays are better because they require less memory.
@Panchosama2
@Panchosama2 Месяц назад
@@ThatProject Good! then, is it possible to use a smaller display, for example, 0.96" for this project, using the same wiring?
@ThatProject
@ThatProject Месяц назад
@@Panchosama2 It depends on the graphics IC.
@ioantares.
@ioantares. Месяц назад
hi i need some help, i try this practice in a esp32s3 display but i try to compile and i get this line error and i dont know what is wrong if you know about my problem please let help static libhelix::AACDecoderHelix _aac(aacAudioDataCallback); static libhelix::MP3DecoderHelix _mp3(mp3AudioDataCallback); datacallback i dont hunderstand what is wrong
@dutchflyingpilot
@dutchflyingpilot Месяц назад
Use the old LibHelix library (v0.7 or so). For a more recent library edit line 51 and remove *void in esp_32.h (static void audioDataCallback(MP3FrameInfo &info, int16_t *pwm_buffer, size_t len,*void
@rinderkn
@rinderkn Год назад
Nice work. Would this also work with a RP2040 microcontroller?
@ThatProject
@ThatProject Год назад
Unfortunately, it won't work in RP2040 with my code. You need to change the code for it.
@randoarchive
@randoarchive Год назад
At the end of your video, you do a demo of the final result. Many of the videos have visible glitching. Is this due to screen tearing? A mismatch in refresh rate? Or is it struggling to keep up with the frame rate?
@ThatProject
@ThatProject Год назад
ESP32 doesn't have a codec to play a media file. So it's decoding with software to play both video and audio at the same. This is a pretty heavy task on ESP32. Glitches may occur because the entire screen cannot be redrawn within a certain time.
@jameszahary
@jameszahary 2 года назад
nice - i used lego to embed a video camera, and another set for the streaming "flippy-screen" - cheaper than a digital printer, and kids can build it into bigger projects.
@randoarchive
@randoarchive Год назад
At 1:51 , you say we need something running at 80Mhz, but I can't quite understand what it is you're mentioning. Could you clarify that part please? EDIT: I used AI to create subtitles, and it says you said "A display that operates at 80Mhz". I don't know if that's accurate, but I do know that I can't find any specs on any display that shows its Mhz. At best, Hz, but usually its speed is measured in ms. I guess I'm barking up the wrong tree?
@ThatProject
@ThatProject Год назад
The 80Mhz is the maximum speed of the APB Clock of ESP32. Also, it can be the maximum speed of the SPI interface if the display IC supports it.
@randoarchive
@randoarchive Год назад
Thank you@@ThatProject
@Elshan_Mammadov_
@Elshan_Mammadov_ 8 месяцев назад
Nice project. I will do such a project too. So, can we add the channels we want to the device?
@ThatProject
@ThatProject 8 месяцев назад
What do you mean by "add channels"? In this project, I just showed the channel number to determine which file is selected from SD card. Is that what you think?
@Elshan_Mammadov_
@Elshan_Mammadov_ 8 месяцев назад
@@ThatProject I mean, for example, I want to add a television channel. For example, is it possible to add the CNN news channel?
@ThatProject
@ThatProject 8 месяцев назад
@@Elshan_Mammadov_ Do you mean in real-time? Then it is impossible. Currently, the task of separating the image and audio cannot be performed inside the ESP32, so you must first separate the image data and audio data from the original video.
@Elshan_Mammadov_
@Elshan_Mammadov_ 8 месяцев назад
@@ThatProject I understand. Thank you for the information.
@Marques330
@Marques330 Год назад
What is the exact name of the lcd display you have in the video, could you provide me with a link if possible? Thank you
@ThatProject
@ThatProject Год назад
I'm not sure because it's been so long. I'll let you know when I find out.
@mylaughingtv
@mylaughingtv Год назад
Hi, Can connect setup box output to esp32 as input and see all video on webserver?
@ThatProject
@ThatProject Год назад
The small size of video files might be possible, but at the moment I have no idea how to configure the system for it. I'll try it if I have a good idea.
@junhaozhang533
@junhaozhang533 2 года назад
is that possible to run on esp8266? with mjpeg only?
@ThatProject
@ThatProject 2 года назад
I don't think so. The base project mentions only ESP32 not ESP8266 so not sure about it.
@ioantares.
@ioantares. Месяц назад
eres una verga mi hermano muchas gracias por tus aportes desde Mexico muxhos saludos
@digital945
@digital945 2 года назад
if there a remote with basic keys it would awsome hope you will ad it for your viewers... dont forget everyone have a kid inside😁
@davisje011
@davisje011 9 месяцев назад
trying to get this to loop a video, but it keeps restarting even though I removed the command from the controller. I know it has something to do with clearing the buffers, But I cant get them to work.
@ThatProject
@ThatProject 9 месяцев назад
What display are you using? Try using only 50% of your current screen size. As you said, it seems like it's not emptying all the buffers in time.
@davisje011
@davisje011 9 месяцев назад
@ThatProject 2" st7789. I'm currently running a single core code right now, but like the smoothness of dual core. I'm using them for props, the videos need to loop seamlessly unless an interrupt to change files happens. In the code I'm using, the originator added free(_mjpeg_Buf); At the end of the video, it allows it to loop without crashing. I just don't know how to do that for the dual core, because I would think it would need to free 2 buffers, correct? NULL doesn't work.
@ThatProject
@ThatProject 9 месяцев назад
@@davisje011 The use of 2 cores is to reduce bottlenecks and increase FPS by separating the decoding and drawing parts of the image when drawing the screen. I also had a similar problem, and in the end, when one file was finished playing, I had to set it to the next file name and then reset it to play the next video. In order to make it without restarting, you will need to clear everything allocated to memory at the end of the video and reset both the video and audio tasks. I don't know how effective this will be.
@dutchflyingpilot
@dutchflyingpilot 4 месяца назад
Mine works. No restarts! I've created a void and run the code from there. At the end of the video the void returns to the main loop where it gets called again. Make sure to initialize the sd card-reader inside the void again otherwise it will crash and resets. Also add a small delay (2000 or so) before the video closes. It compensates for a a/v length-difference and thus avoiding a crash. Usefull for longer clips.
@dutchflyingpilot
@dutchflyingpilot Месяц назад
@@huylehoang3856 create a void, run the code from there, clear the buffers and restart the void. You can simply play the same video over and over again, or with the curr_video_idx++; function go to the next video.
@maicon7777777
@maicon7777777 Год назад
Would be nice if has an A/V or HDMI connection 😅
@miniaturascastillo-minic6564
@miniaturascastillo-minic6564 6 месяцев назад
EL PROYECTO SE PUEDE HACER CON TTGO - T - DISPLAY ????
@ThatProject
@ThatProject 6 месяцев назад
There is a high possibility that it will not work because TTGO T Display does not have PSRAM.
@dutchflyingpilot
@dutchflyingpilot 4 месяца назад
Works perfect on a TTGO S3 Display,. Make sure to use the Arduino_ESP32LCD8 databus driver, together with the Arduino_st7789 GFX driver. Define all LCD pins (according to the data bus), the Pin_POWER (15) and BUTTON pins (0 and 14). Do not forget to power on the display in Setup (PIN_POWER_ON) Connect your SD card reader to pins 10 (CS), 11 (MISO), 12 (CLK), 13 (MOSI)
@ThatProject
@ThatProject 4 месяца назад
@@dutchflyingpilot Good to know! Thank you!
@jlcamry
@jlcamry 2 года назад
nice~funny TV
@aleksandr2394
@aleksandr2394 Год назад
Cute project. Where can I find the ctp 1.69 lcd module like that from your video?
@ThatProject
@ThatProject Год назад
Check this one. www.alibaba.com/product-detail/Optional-Capacitive-Touch-Panel-Smart-Watch_1600283882399.html
@jasonnation6615
@jasonnation6615 Год назад
I would pay you to make me one of those.
@ThatProject
@ThatProject Год назад
Haha
@Ipsissimus
@Ipsissimus Год назад
I can't understand you well bro. :(
@agrominigps
@agrominigps Год назад
Hello! fails to compile :( log file: drive.google.com/file/d/1gL1YQ0BjoKZwliLLDg1qTCOJHMYiHpr1/view?usp=sharing I used: ESP32 by Espressif Systems 2.0.11 installed Please upload libraries to google drive
Далее
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 595 тыс.
The world's worst video card?
32:47
Просмотров 6 млн
I Made A Rotary Vane Engine Prototype
31:27
Просмотров 232 тыс.
Pushing a Raspberry Pi 5 to the LIMIT....
25:33
Просмотров 204 тыс.
Why Do LED Bulbs Fail? An Autopsy!
16:57
Просмотров 108 тыс.
Streaming Video From an SD Card on the ESP32.
5:48
Просмотров 29 тыс.
I BUILT A RADIO AT HOME
14:53
Просмотров 287 тыс.
Making a tiny Robot-Brain with ESP32 + Sensor-Fusion
8:34