Can't seem to test h.264 encoding on esp32p4

LuckierBread
Posts: 3
Joined: Mon Jan 19, 2026 7:58 am

Can't seem to test h.264 encoding on esp32p4

Postby LuckierBread » Mon Jan 19, 2026 8:09 am

I am currently building a project that requires the hw h264 encoder to stream 1920x1080@30fps.
I am trying to test out the esp_h264 component using the test_app_main code.
It looks like it is uploading correctly, but the ascii art that is in the app_main() never shows up in terminal.
I tried changing the log level to verbose which didn't help.
I have also tried downloading putty and following the troubleshooting steps found here:https://docs.espressif.com/projects/esp ... ction.html

No luck so far.
I'm still new to esp-idf, so any help would be appreciated.

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: Can't seem to test h.264 encoding on esp32p4

Postby Sprite » Tue Jan 20, 2026 2:19 am

Can you post your logs?

LuckierBread
Posts: 3
Joined: Mon Jan 19, 2026 7:58 am

Re: Can't seem to test h.264 encoding on esp32p4

Postby LuckierBread » Wed Jan 21, 2026 11:45 pm

I fixed it. Turns out that if you take too long to connect using putty you just miss the opening text.
So, immediately launching the Putty connection after pressing the esp board restart button got me there.

I also wanted to post the solution to another problem I ran into.

I was getting this error message whenever I tried to input a command.
--- Warning: Writing to serial is timing out. Please make sure that your application supports an interactive console and that you have picked the correct console for serial communication.
By default, I guess the ESP is set up to use USB0, which is not the way that my system was communicating with it.
I am using a JTAG/UART bridge.

To fix this, once you have your board target set, go into the idf.py menuconfig. In the Component Config-->ESP System Settings-->Channel For Console Output, select USB Serial/JTAG Controller. Rebuild and flash.

Extra note: if you change your target, you will need to do this again.

Extra extra note. The controls for the menuconfig in VScode are back(H) up(J) down(k) select(l), but select is also space sometimes, not sure why.

Breeze
Posts: 2
Joined: Sun Jan 25, 2026 4:23 pm

Re: Can't seem to test h.264 encoding on esp32p4

Postby Breeze » Sun Jan 25, 2026 4:42 pm

I’m working on a wearable device that uses an ESP32-P4 as the main controller to achieve high-precision, synchronized acquisition of 720P/50FPS video, audio, fingertip pressure, and hand pose. A hardware timer will generate a 200Hz global sync pulse; pressure (5 channels), pose (6-axis), and audio samples must each be hardware-tagged with the same 64-bit nanosecond global timestamp. The phase difference between the midpoint of a video frame and the corresponding pressure sample must be ≤5ms. Do you think this is feasible?

By the way, I’m Chinese—where are you from?

Who is online

Users browsing this forum: Baidu [Spider] and 11 guests