cball
Young grasshopper
You fault is here: always use rtsp://ipadress:554/media/video1
otherwise you will call streams which don't exist.
ipadress of Cam.
otherwise you will call streams which don't exist.
ipadress of Cam.
That is what I had first but it would only show one camera. When I changed the second cam to 2 it appeared. Let me go back and try again.You fault is here: always use rtsp://ipadress:544/media/video1
otherwise you will call streams which don't exist.
ipadress of Cam.
They are all Huisun Mini PTZ and no NVR, just BI. You were correct with video1 for each but I still only get the same 2 no matter what ip address or position in the script. I am also getting the tearing you had but I'm not worried about that right now. Also still cannot get out of the screen once it is up and running.What kind of cams Are you using.
And again Nayrs question - an NVR?
I always see the same two cams. I have disconnected the two that work to see if other two will show, I have assigned the two that did not work the ip address from the two that did work, still no go. But all four play fine in VLC. I have gone over all the camera settings with the web browser and they are all the same, also all four work great in BI. ??Do you always see the same two cams or different.
Are you sure, that the streamsettings for all cams are the same.
Doesn't seem to matter what I set it for. I think I have had enough of this for today, thanks for your help.can you use the second Stream video2 and size down the picture per second
Sorry I didn't see this. Yes I have gpu_mem set at 512.Did you do this?
- If you are going to have multiple streams, add gpu_mem=512 to your /boot/config.txt
Hi @cball,@bob2701
I don't have really a clue:
proc=subprocess.Popen(['/usr/bin/omxplayer', '--live', '--timeout', '60', '--aidx', '-1', '-o', 'hdmi', rtsp_url,'--win', " ".join(map(str,coordinates))],preexec_fn=os.setsid)
worked fine for me until my SD Card crashed while updating the system.
Since you are working directly on the raspberry and not with a terminal program like putty, you are probably not copying the commands but typing them new.
I had many spelling errors until I changed to use putty.
For example I had an error in gpu_mem=512 in /boot/config.txt. I missed the =. Stupid - cost me hours.
Have you tried to reduce the frames per second on the second stream?