Necromix / yi-vencrtsp_v2

11 stars 4 forks source link

RTSP works only on VLC and does not work on Zoneminder (I believe the cause is Decoded format: Planar 4: 2: 0 YUV full scale) #3

Open CassioPassos opened 5 years ago

CassioPassos commented 5 years ago

Hello. I have US47 Yi Home camera with yi-hack-v3 and yi-vencrtsp_v2 running.

But RTSP is only working with VLC. I tried to configure it in ZONEMINDER but I did not succeed. I have another US27 camera that is ok at zoneminder. I noticed a difference: US47 (uses Decoded format: Planar 4: 2: 0 YUV full scale) and US27 (uses Decoded format: Planar 4: 2: 0 YUV). Could you create a version with "Decoded format: Planar 4: 2: 0 YUV" (without full scale)?

I tested with rtsp://ipaddress:554/ch0_0.h264 or I tested with rtsp://ipaddress:554/ch0_1.h264

Please, i have 8 US47 cameras.

Tks your help.

Cássio Passos

Arkady23 commented 3 years ago

./rmm & sleep 3

if [ -d "/usr/yi-hack-v3" ]; then YI_HACK_PREFIX="/usr" elif [ -d "/home/yi-hack-v3" ]; then YI_HACK_PREFIX="/home" fi

get_config(){ grep $1 $YI_HACK_PREFIX/yi-hack-v3/etc/system.conf | cut -d "=" -f2 }

RTSP=$(get_config RTSP)

if [[ $(get_config DISABLE_CLOUD) != "yes" ]] ; then ./mp4record & ./cloud & ./p2p_tnp & if [[ $(cat /home/app/.camver) != "yi_dome" ]] ; then ./oss & fi if [ "$RTSP" != "yes" ] ; then ./watch_process & insmod /home/app/localko/watchdog.ko fi elif [[ $(get_config REC_WITHOUT_CLOUD) == "yes" ]] ; then ./mp4record & fi

if [ "$RTSP" == "yes" ] ; then ./vencrtsp_v2 & sleep 2 fi

Arkady23 commented 3 years ago

ispyconnect.com — It's work with vlc-plugin.