ESP32-CAM-Video-Recorder-junior icon indicating copy to clipboard operation
ESP32-CAM-Video-Recorder-junior copied to clipboard

Empty .avi file

Open FrancescoMontedori opened this issue 1 year ago • 10 comments

Hi, thanks for sharing your project. Im trying to use your sketch on esp32 cam and I am able to flash the sketch correctly. Anyway when i press the reset button to start the video recording and I open the serial monitor, i receive this message:

carbon (1)

The Cam saves EMPTY .avi file and reboot, repeating the operation in loop.

Any suggestion?

FrancescoMontedori avatar Mar 29 '23 11:03 FrancescoMontedori

I need the next page of the serial output .... the loop() part where it opens and closes the files.

jameszah avatar Mar 29 '23 15:03 jameszah

Hi, unfortunately there are no other pages in the serial output. As I said, the board is rebooting in loop. I attach a longer output:

carbon (2)

Thanks again!

FrancescoMontedori avatar Mar 30 '23 09:03 FrancescoMontedori

It says the file is open, but fails after first write ... I'm guessing the sd is full of dead files that don't show in index or disk free. So re-format or disk check the sd on your computer and confirm that you can copy a 1 MB file onto the clean chip.

jameszah avatar Mar 30 '23 14:03 jameszah

I also have the same issue. And this is the sd card read/write result. image

ikadatym-sry avatar Apr 05 '23 19:04 ikadatym-sry

How about send this section as text.
And specify if you are using 60.4.7 and if it is the one click Installer version.

image

jameszah avatar Apr 05 '23 19:04 jameszah

(I'm using 60.4.7 version) Compiled with Arduino IDE and your one click installer, either are giving me the same output. . Recording 1800 seconds. Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.

Core 0 register dump: PC : 0x4008b954 PS : 0x00060c30 A0 : 0x800d69dc A1 : 0x3ffb3960
A2 : 0x00000000 A3 : 0x3f864d90 A4 : 0x00007218 A5 : 0x00000000
A6 : 0xe0ffd8ff A7 : 0x464a1000 A8 : 0x00000000 A9 : 0x3ffb3910
A10 : 0x3ffc9fc0 A11 : 0x3ffbf5f8 A12 : 0x3ffc9fc0 A13 : 0x00060c23
A14 : 0x00060c20 A15 : 0x00000001 SAR : 0x0000000a EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000 LBEG : 0x4008b950 LEND : 0x4008b96c LCOUNT : 0x00000720

Backtrace: 0x4008b951:0x3ffb3960 0x400d69d9:0x3ffb3970

ikadatym-sry avatar Apr 05 '23 19:04 ikadatym-sry

Hmmm ... I'll have to think about that.

PC: 0x4008b954
EXCVADDR: 0x00000000

Decoding stack results
0x400d69d9: the_camera_loop(void*) at C:\ArduinoPortable\arduino-1.8.19\portable\sketchbook\ESP32-CAM-Video-Recorder-junior\ESP32-CAM-Video-Recorder-junior-60x.4.7/ESP32-CAM-Video-Recorder-junior-60x.4.7.ino line 2615

image

jameszah avatar Apr 05 '23 21:04 jameszah

Take your time. If you want me to test anything on my esp, you can tell me.

ikadatym-sry avatar Apr 05 '23 21:04 ikadatym-sry

I have same issue...

rkazemi711 avatar Jun 07 '23 06:06 rkazemi711

in v60: during start.

Starting an avi 
File open: /desklens2064.001.avi

Recording 15 seconds.
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4008b934  PS      : 0x00060630  A0      : 0x800d6a48  A1      : 0x3ffb38a0  
A2      : 0x00000000  A3      : 0x3f864d90  A4      : 0x00008a00  A5      : 0x00000000  
A6      : 0xe0ffd8ff  A7      : 0x464a1000  A8      : 0x00000000  A9      : 0x3ffb3850  
A10     : 0x3ffc9670  A11     : 0x3ffbf5f8  A12     : 0x3ffc9670  A13     : 0x00060623  
A14     : 0x00060620  A15     : 0x00000001  SAR     : 0x0000000a  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000000  LBEG    : 0x4008b930  LEND    : 0x4008b94c  LCOUNT  : 0x0000089f  

Backtrace: 0x4008b931:0x3ffb38a0 0x400d6a45:0x3ffb38b0

ELF file SHA256: cbd63ce5d85c2fa1

Rebooting...
ets Jul 29 2019 12:21:46

in v58 when I click [Stream](http://192.168.1.22/stream), the same error raised.

So far: 0710 frames, in   57.7 seconds, for last 100 frames: avg frame size   30.0 kb, 11.58 fps ...
Frame    750, len  30615, extra     0, cam time      79  sd time   23 -- 
stream_handler, core 1, priority = 5


low prio stream_handler task, core 0, priority = 1
Starting the streaming
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4008bc8c  PS      : 0x00060d30  A0      : 0x800d39e0  A1      : 0x3ffdf330  
A2      : 0x00000000  A3      : 0x3f8c47ac  A4      : 0x000078b8  A5      : 0x00000000  
A6      : 0xe0ffd8ff  A7      : 0x464a1000  A8      : 0x00000000  A9      : 0x3ffdf300  
A10     : 0x00012d0a  A11     : 0x00000000  A12     : 0x00002d0a  A13     : 0x0000e040  
A14     : 0x00060d20  A15     : 0x00000001  SAR     : 0x0000000a  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000000  LBEG    : 0x4008bc88  LEND    : 0x4008bca4  LCOUNT  : 0x0000078a  


Backtrace:0x4008bc89:0x3ffdf3300x400d39dd:0x3ffdf340 




ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

duchengyao avatar Sep 16 '23 11:09 duchengyao

#25

duchengyao avatar Sep 16 '23 12:09 duchengyao