 #endif
 
 #define AVIOFFSET 240
+  bool is_header = false;
 unsigned long movi_size = 0;
 unsigned long jpeg_size = 0;
 const char zero_buf[4] = {0x00, 0x00, 0x00, 0x00};

    Serial.println("SD Card detected!");
}
void loop(){
  
  delay(5000);

}

  unsigned long position = 0;
  uint16_t frame_cnt = 0;
  uint8_t remnant = 0;
  bool is_header = false;
  //Create a avi file
  k = k + 1;
  itoa(k, str, 10);
