User Tools

Site Tools


doc:appunti:hardware:sjcam-8pro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:hardware:sjcam-8pro [2022/04/29 10:24] – [The TCP API] niccolodoc:appunti:hardware:sjcam-8pro [2022/06/14 08:59] – [Color profiles] niccolo
Line 1: Line 1:
-====== SJCAM SJ8 Pro ====== +====== SJCAM SJ8 Pro Review ======
- +
-See also my other page about this camera: +
- +
-  * **[[ambarella_custom_firmware]]**. +
-  * **[[sjcam-8pro-api]]**+
  
 The **SJCAM SJ8 Pro** action camera was introduced in **2018**, it features **4k video** at **60 fps** and **gyroscope image stabilization**. I purchaesd it in 2021 to work alongside my old [[xiaomi_yi|Xiaomi Yi]], mainly because I was interested in image stabilization. The **SJCAM SJ8 Pro** action camera was introduced in **2018**, it features **4k video** at **60 fps** and **gyroscope image stabilization**. I purchaesd it in 2021 to work alongside my old [[xiaomi_yi|Xiaomi Yi]], mainly because I was interested in image stabilization.
 +
 +{{.:sjcam:sjcam-sj8pro-backpack-mount.jpg?direct&600|The SJCAM SJ8 Pro mounted on the shoulder strap of a backpack}}
  
 Unfortunately SJCAM does not support this camera very much: the latest **firmware upgrade** is from September 2020, despite there are some evident bugs and several aspects of the user interface which should be improved. Thirdy part support is poor: there is no **waterproof case** except the original one, which unfortunately has a plastic window. There is not much documentation about **customizing the firmware** or scripting using the **Ambarella Scripting**. Unfortunately SJCAM does not support this camera very much: the latest **firmware upgrade** is from September 2020, despite there are some evident bugs and several aspects of the user interface which should be improved. Thirdy part support is poor: there is no **waterproof case** except the original one, which unfortunately has a plastic window. There is not much documentation about **customizing the firmware** or scripting using the **Ambarella Scripting**.
 +
 +See also my other page about this camera: **[[sjcam-8pro-ambarella-firmware-modding]]**, **[[sjcam-8pro-ambarella-wifi-api]]** and **[[sjcam-8pro-custom-firmware]]**.
 +
 +===== Specs, Pros and Cons =====
  
 **Pros** **Pros**
Line 126: Line 127:
 {{.:sjcam:color-profile-flat.jpg?direct&400|Color Profile Flat}} {{.:sjcam:color-profile-flat.jpg?direct&400|Color Profile Flat}}
  
-You can edit the color profiles using the BitrateEditor software. But be careful that the profile selected at bootstrap is neither //SJCAM - Vivid// nor //Flat//, but another one stored in some other part of the firmware that I was unable to locate.+You can edit the color profiles using the BitrateEditor software. Be careful that the profile selected at bootstrap is neither //SJCAM - Vivid// nor //Flat//, but the one named //Default// by BitrateEditor (starting from version 10.7 - Nov 3, 2021).
  
 ==== Flat vs SJCAM - Vivid ==== ==== Flat vs SJCAM - Vivid ====
Line 264: Line 265:
  
 There are many hackers who produce modified versions of the original firmware. In general they distribute the original firmware patched in several places, mainly to customize framerates, exposure parameters, etc. There are many hackers who produce modified versions of the original firmware. In general they distribute the original firmware patched in several places, mainly to customize framerates, exposure parameters, etc.
 +
 +I created a custom firmware to improve some video codec settings and to improve image quality (mainly color balance and saturation). You can find it here: **[[sjcam-8pro-custom-firmware]]**.
  
 Generally there is **no access to the source code**, so **patching the firmware binary** is a rather delicate task, requiring to know the exact offset of the data into that **specific version of the firmware**, the structure and the lenght of the data and eventually how to **update the embedded checksums**. SJCAM does not facilitate the task, because it distribute different versions of the firmares marked with the same version number. Generally there is **no access to the source code**, so **patching the firmware binary** is a rather delicate task, requiring to know the exact offset of the data into that **specific version of the firmware**, the structure and the lenght of the data and eventually how to **update the embedded checksums**. SJCAM does not facilitate the task, because it distribute different versions of the firmares marked with the same version number.
Line 269: Line 272:
 The best approach is to use the **[[https://github.com/vmax1145/BitrateEditor|BitrateEditor]]**, a graphical Java program which facilitates the task of editing various parameters in form of **easy readable tables**. The program contains several configuration files, so it can check that you are actually editing the proper version of the firmware (it can do check of particular strings at particular offset, calculate regions checksums, etc.). The program has the capability to re-pack the firmware image after the edits, **updating the checksums** so that the file will be **flashable** into the camera. The best approach is to use the **[[https://github.com/vmax1145/BitrateEditor|BitrateEditor]]**, a graphical Java program which facilitates the task of editing various parameters in form of **easy readable tables**. The program contains several configuration files, so it can check that you are actually editing the proper version of the firmware (it can do check of particular strings at particular offset, calculate regions checksums, etc.). The program has the capability to re-pack the firmware image after the edits, **updating the checksums** so that the file will be **flashable** into the camera.
  
-You can refer to the page **[[ambarella_custom_firmware]]** with my notes about customizing the SJ8 Pro firmware using BitrateEditor. You can also refer to the program I wrote which can extract files and partitions from the firmware files: **[[https://github.com/RigacciOrg/ambarella-h22-firmware-tools|ambarella-h22-firmware-tools]]**.+You can refer to the page **[[sjcam-8pro-ambarella-firmware-modding]]** with my notes about customizing the SJ8 Pro firmware using BitrateEditor. You can also refer to the program I wrote which can extract files and partitions from the firmware files: **[[https://github.com/RigacciOrg/ambarella-h22-firmware-tools|ambarella-h22-firmware-tools]]**.
  
 ===== SD Card partitioning and formatting with GNU/Linux ===== ===== SD Card partitioning and formatting with GNU/Linux =====
Line 642: Line 645:
 ===== The TCP API ===== ===== The TCP API =====
  
-See the page **[[sjcam-8pro-api]]** about the programming interface (API) offered by the SJCAM SJ8 Pro over the WiFi connection or even in localhost. The interface is offered on port **TCP/7878**.+See the page **[[sjcam-8pro-ambarella-wifi-api]]** about the programming interface (API) offered by the SJCAM SJ8 Pro over the WiFi connection or even in localhost. The interface is offered on port **TCP/7878**.
  
 The interface is based on **JSON messages**: you can exchange them over the WiFi connection as the official app **[[https://play.google.com/store/apps/details?id=org.jght.sjcam.zone|SJCAM Zone]]** does between the Android device and the camera. You can also **connect a PC** to the camera via WiFi and use any programming language supporting TCP sockets. The interface is based on **JSON messages**: you can exchange them over the WiFi connection as the official app **[[https://play.google.com/store/apps/details?id=org.jght.sjcam.zone|SJCAM Zone]]** does between the Android device and the camera. You can also **connect a PC** to the camera via WiFi and use any programming language supporting TCP sockets.
doc/appunti/hardware/sjcam-8pro.txt · Last modified: 2023/06/09 10:21 by niccolo