Posts

Showing posts with the label olimex

Video and Audio Streaming from A20SOM-EVB using crtmpserver

To stream video and audio from A20SOM-EVB, ffmpeg and crtmpserver are used. FFmpeg is used to encode the video and audio from A20SOM-EVB csi-camera and mic-in and then feed the stream to crtmpserver. Crtmpserver act as streaming server to provide rtmp stream for flash player, or rtsp stream for video player such as videolan. If the csi camera is not yet functioning on the default debian distro, please follow my previous article how to enable csi-camera on A20SOM-EVB .

System info on MOD-LCD3310 for Olimex A20SOM-EVB

To show the system information and other information on  MOD-LCD3310 , we can use python library. I found the implementation from this project and made a little modification to show ip address of wifi interface. I also add one function to automatically cut the text and write it on the next line. The function is longstr(linenumber,string). Example : lcd.longstr(0,"Welcome to Open Hardware world!")

enable csi camera on A20-SOM EVB

The csi camera on the debian image with kernel 3.4.79+ from olimex doesn't work. To make it works, we need to change the configuration in script.bin and /etc/modules. We must convert script.bin to script.fex using bin2fex tools to change the configuration. olimex@a20-Lime2-SOM:~$ bin2fex script.bin script.fex We will have script.fex file after that command. Open the file and change the value as below: ... [csi0_para] csi_used = 1 ... Convert back script.fex to script.bin. olimex@a20-Lime2-SOM:~$ fex2bin script.fex script.bin Add the following value in the /etc/modules file: gt2005 sun4i_csi0 i2c_addr=0x78 ccm="gt2005" After that, we can reboot the board. Wait a couple second, and voila...the csi camera will now work. But there is still error message from the kernel log as follow: [CSI_ERR]input index invalid! Nevertheless, the csi camera works fine, if someone know how to solve this error, please let me know.