Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // получаем картинку с камер
- $url="rtsp://192.168.1.53:554/user=admin_password=SFCA5L64_channel=1_stream=1.sdp?real_stream";
- $jpg="/var/www/cached/snapshot.jpg";
- exec('ffmpeg -y -i "'.$url.'" -f image2 -vframes 1 '.$jpg.'');
- $telegram_module->sendImageToAdmin($jpg);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement