ArduCAM_ESP8266_UNO icon indicating copy to clipboard operation
ArduCAM_ESP8266_UNO copied to clipboard

ArduCAM_ESP8266_V2_OV5642_Video2SD.ino

Open Bitbanger1900 opened this issue 8 years ago • 1 comments

Hi Lee,

I have the ArduCAM_ESP8266_V2 board and tried your example with the OV5642. In the memory.h i select the #define OV5642_CAM_BIT_ROTATION_FIXED

The problem what i have is that it cannot play the .avi what is stored on the SD card. When do a hexdump of the file i see that the start of the AVI header is not that what should be written in te AVIOFFSET.

Perhaps you can see what is wrong?

Regards, Johan

This is what i see: 00000000 52 49 46 46 18 D5 12 01 41 56 49 20 4C 49 53 54 RIFF....AVI LIST 00000010 D0 00 00 00 68 64 72 6C 61 76 69 68 38 00 00 00 ....hdrlavih8... 00000020 40 0D 03 00 E8 DE 06 00 00 00 00 00 10 00 00 00 @............... 00000030 E8 DE 06 00 00 00 00 00 01 00 00 00 00 00 00 00 ................ 00000040 40 01 00 00 F0 00 00 00 00 00 00 00 00 00 00 00 @............... 00000050 00 00 00 00 00 00 00 00 4C 49 53 54 84 00 00 00 ........LIST.... 00000060 73 74 72 6C 73 74 72 68 30 00 00 00 76 69 64 73 strlstrh0...vids 00000070 4D 4A 50 47 00 00 00 00 00 00 00 00 00 00 00 00 MJPG............ 00000080 01 00 00 00 05 00 00 00 00 00 00 00 0A 00 00 00 ................ 00000090 00 00 00 00 00 00 00 00 00 00 00 00 73 74 72 66 ............strf 000000A0 28 00 00 00 28 00 00 00 40 01 00 00 F0 00 00 00 (...(...@....... 000000B0 01 00 18 00 4D 4A 50 47 00 84 03 00 00 00 00 00 ....MJPG........ 000000C0 00 00 00 00 00 00 00 00 00 00 00 00 4C 49 53 54 ............LIST 000000D0 10 00 00 00 6F 64 6D 6C 64 6D 6C 68 04 00 00 00 ....odmldmlh.... 000000E0 E8 DE 06 00 4C 49 53 54 40 D4 12 01 6D 6F 76 69 [email protected] 000000F0 30 30 64 63 E4 AF 00 00 FF 6C FF 70 00 08 41 56 00dc.....l.p..AV 00000100 49 31 00 80 80 80 00 00 00 00 00 00 FF ED 00 A1 I1.............. 00000110 00 02 81 81 02 81 81 02 02 81 02 82 02 02 82 03 ................ 00000120 05 83 03 03 03 03 06 84 84 83 05 87 86 87 87 07 ................ 00000130 86 07 07 08 09 8B 0A 08 88 0B 88 07 07 0A 8D 0A ................ 00000140 0B 0C 8C 0D 0D 0D 08 89 0E 0F 0E 8C 0F 8B 8C 0D ................ 00000150 8C FF ED 00 A1 80 02 82 82 03 82 03 06 83 83 06 ................ 00000160 8C 88 07 88 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C ................ 00000170 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C ................ 00000180 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C 8C ................ 00000190 8C 8C 8C 8C 8C 8C FF 62 00 8F 00 00 80 82 80 80 .......b........ 000001A0 80 80 80 80 00 00 00 00 00 00 00 00 80 01 81 02 ................ 000001B0 82 03 83 04 84 05 85 FF 62 00 DA 08 00 01 80 81 ........b....... 000001C0 81 01 02 81 82 82 02 02 00 00 80 BE 80 01 81 00 ................ 000001D0 02 88 82 09 90 98 A0 03 89 A8 B0 83 11 B8 0A 19 ................ 000001E0 C0 C8 D0 04 91 21 D8 E0 8A 29 E8 78 12 99 31 39 .....!...).x..19 0

Bitbanger1900 avatar Sep 03 '16 22:09 Bitbanger1900

Hi,

I solved this problem by deactivating the rules that does the bit rotation. Everything working fine now :)

Regards, Johan

Bitbanger1900 avatar Sep 26 '16 08:09 Bitbanger1900