I fix it! on my case was that I have the latest firmware installed and on the documentation clearly said that the latest firmware supported is ‘version 0.1.4-beta2’ I have 0.1.5
Make sure that you have ffmpeg installed on your raspberry pi $ sudo apt-get install ffmpeg
In order to fix it you need to access your camera through ftp
Open up /home/yi-hack-v3/script/system.sh in a text editor (via FTP, SSH, etc.).
Comment out line 36 (i.e., pure-ftpd -B).
One line above or below, add in the original command: tcpsvd -vE 0.0.0.0 21 ftpd -w &
Reboot the camera.
your system.sh on the camera should look like this:
#!/bin/sh
CONF_FILE="/yi-hack-v3/etc/system.conf"
if [ -d "/usr/yi-hack-v3" ]; then
YI_HACK_V3_PREFIX="/usr"
elif [ -d "/home/yi-hack-v3" ]; then
YI_HACK_V3_PREFIX="/home"
fi
get_config()
{
key=$1
grep $1 $YI_HACK_V3_PREFIX$CONF_FILE | cut -d "=" -f2
}
if [ -d "/usr/yi-hack-v3" ]; then
export LD_LIBRARY_PATH=/home/libusr:$LD_LIBRARY_PATH:/usr/yi-hack-v3/lib:/home/hd1/yi-hack-v3/lib
export PATH=$PATH:/usr/yi-hack-v3/bin:/usr/yi-hack-v3/sbin:/home/hd1/yi-hack-v3/bin:/home/hd1/yi-hack-v3/sbin
elif [ -d "/home/yi-hack-v3" ]; then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/lib:/home/yi-hack-v3/lib:/tmp/sd/yi-hack-v3/lib
export PATH=$PATH:/home/base/tools:/home/yi-hack-v3/bin:/home/yi-hack-v3/sbin:/tmp/sd/yi-hack-v3/bin:/tmp/sd/yi-hack-v3/sbin
fi
hostname -F $YI_HACK_V3_PREFIX/yi-hack-v3/etc/hostname
if [[ $(get_config HTTPD) == "yes" ]] ; then
lwsws -D
fi
if [[ $(get_config TELNETD) == "yes" ]] ; then
telnetd
fi
if [[ $(get_config FTPD) == "yes" ]] ; then
# pure-ftpd -B
tcpsvd -vE 0.0.0.0 21 ftpd -w &
fi
if [[ $(get_config DROPBEAR) == "yes" ]] ; then
dropbear -R
fi
if [ -f "/tmp/sd/yi-hack-v3/startup.sh" ]; then
/tmp/sd/yi-hack-v3/startup.sh
elif [ -f "/home/hd1/yi-hack-v3/startup.sh" ]; then
/home/hd1/yi-hack-v3/startup.sh
fi
Then Restart your camera, and voila! you should see the image. Note that he feed is not live, is only showing the latest clip recorded with the camera. I think in order to show the live feed you need rstp server, and yi-hack-v3 doesn’t support it yet!