Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Français • Re: Executer un script afin de demarrer VLC avec un stream video

$
0
0
Bonjour,

Malheureusement le script ne fonctionne toujours pas :(

Code:

#!/bin/bash -xvLOG_FILE=/tmp/vlc_rtsp.logexec 3>&1 1>>${LOG_FILE} 2>&1echo "Démarrage programme $0 - $(date )"sleep 5vlc --fullscreen --no-osd --qt-minimal-view \    --network-caching=300 --rtsp-tcp \    --avcodec-hw=mmal-omx \"rtsp://admin:casra2607@192.168.1.120:554/cam/realmonitor?channel=1&subtype=1"echo "Arrêt programme $0 - $(date )"```bashchmod +x ~/vlc_rtsp.sh```bashmkdir -p ~/.config/autostart~/.config/autostart/vlc.desktopContenu:```ini[Desktop Entry]Type=ApplicationVersion=1.0Name=VLC RTSPExec=/home/player/vlc_rtsp.shX-GNOME-Autostart-enabled=trueStartupNotify=false

Statistics: Posted by Flipover — Tue Jul 08, 2025 7:42 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles