I am on the internet so my cameras can be viewed from virtually anywhere in the world and as I say it works perfectly well apart from the fact my hub changes its ip address now and then, so I have to use a different address to contact them. I also use vnc viewer on another project which connects th...
I'm doing some cable benchmarking and want to measure performance on streaming 4K video. If you're streaming from file to the local network you might consider samba or dlna? Plex works well as a dlna server. I use it to stream 4k Blu Ray remuxes all the time. Streams start immediately, server pract...
I see what you mean. You want it to start on boot in addition to being launched by cron, which is launched on boot. If that's the case, put your script in a file called .xsessionrc in Pi's home folder. When X is started by the display manager and pi logs in (if you have pi set up to log in automatic...
i want this process to run at every boot so will this be possible to do with cron...i dont know Cron is a daemon that normally starts at boot and runs in the background, so yes, provided it's enabled. You can check if the cron daemon is running with "systemctl status cron". If it's not ru...
Did you mean http-cert and http-key ? Yes. I found it now. I was grepping vlcrc for "https" and not finding it. Thank you! So, to clarify, Are all options for the vlcrc necessarily identical to the long form command line? My reading of the access documentation makes it seem as if the &quo...
Good Morning Everyone, Does anyone know if its possible to Schedule a steam to start at A Time (e.g 7:30am) and end at B time (5:00PM) every day? on a RPI? using VLC or any other software. It looks like the scheduler you linked to is written in python. It should work fine on Linux (reading the read...
i have one script that is running from /etc/xdg/lxsession/LXDE-pi/autostart that executes an SFTP process. does this need to still run as sudo or will it execute properly if the pi user has access the folders it uses? Probably better to put that in pi user's cron with the vlc script. You have it ri...
Is this a normal out put for this echo $DISPLAY :0.0 this is exactly what is displayed when i execute that echo cmd i will attempt this and let you know. also i have updated the cron to be the -u cron vs the sudo cron and purged sudo crons table info. I really hope this works lol Yes, that's normal...
So, those errors are related to vlc not being to connect to the x server. You're going to have to log into an x session, find the value for $DISPLAY by doing "echo $DISPLAY", copying that value and using in the script as suggested in the quote below. Second bit: you probably want to remove...
Ill definitely keep these cheat sheets....the will come in handy as i form my programs and scripts....still testing this script....its being run through cron and i dont know how to test running AS cron. Cron *should* just run the script as a user you specify when you created/edited the crontab file...
One more (hopefully final) question. I can't find sout-https-cert, sout-https-key, etc... in my vlcrc. Will these https options work in the config file or do they still have to be passed through the command line?
As far as permissions go, if you need a cheat sheet or an explanation of how they work, here's one . As far as what directories mean what on unix, here's a good cheat sheet . $PATH is an environment variable that, like on Windows, tells a shell when executable files can be found. I hope that clears ...
I am a noob when it come to linux and pi alike so i am learning as i go Can you please explain this abit in more detail if possible Sure, no problem. I think everybody is still learning when it comes to Linux since things are constantly shifting. Just stick with it. So in Linux, X11 (ignoring Wayla...
Fwiw, I wouldn't trust a pi for this purpose. It's unsafe if something happens and you don't notice because one of many possible things has gone wrong with the streaming. Security camera, ok maybe, but not a baby monitor.
(... cont) to be contained Of course, if you do this, keep in mind the script itself and it's resources should live somewhere readable to 'slideshow'. Depending on how your permissions are set for your home folder, this probably means someplace like a subfolder of /var/ or something for the images a...
I just realized. If you're launching it from cron, vlc is not going to have access to the DISPLAY environment variable specifying your X server's address. What you can do is: log into x as usual (start a gui session), do an "echo $DISPLAY" to find the value and then use that in your script...
One thing I spot is "cvlc --loop --fullscreen" is specified twice on each vlc line in your script. Maybe that's part of what's causing the issue. Probably unrelated but I also see the path you're sourcing from to be identical (both point to "Morning"). I assume you want vlc to lo...
If you want the error to go away you'll have to figure out how to configure pulseaudio on the pi zero. It's not necessary, however, since it seems you already have alsa working. Pulseaudio basically wraps alsa to add some more advanced mixing features and is most useful in a gui environment where yo...
Is there a way to specify --sout-http-pwd or similar without using the command line? Otherwise the password shows up everywhere. I'm launching VLC on startup on a Raspberry Pi using systemd and a simple script. When I do "systemctl status my_script" I see the full command line for every ch...