Giter Site home page Giter Site logo

Comments (7)

apo931 avatar apo931 commented on September 12, 2024

Hey,

can anybody help me please? I wanna run this cameras on my monitor at my work. please.

from camplayer.

apo931 avatar apo931 commented on September 12, 2024

Anybody here to help me?

from camplayer.

raspicamplayer avatar raspicamplayer commented on September 12, 2024

@apo931
Probably this typo in your config file:
"windows1 = device1,channel1" -> window1 = device1,channel1

from camplayer.

apo931 avatar apo931 commented on September 12, 2024

@apo931
Probably this typo in your config file:
"windows1 = device1,channel1" -> window1 = device1,channel1

oh man, im so dumb.. now its ok, the script is loading the camera 1 but the rest not.. and the log stops here:

pi@raspberrypi:~ $ camplayer --rebuild-cache
2021-07-05 11:48:23.444019 - Main - INFO - Starting camplayer version 1.0.0b5
2021-07-05 11:48:23.444156 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-07-05 11:48:25.221128 - Main - INFO - ********************** SYSTEM INFO **********************
2021-07-05 11:48:25.221490 - Main - INFO - Camplayer version             = 1.0.0b5
2021-07-05 11:48:25.221594 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux
2021-07-05 11:48:25.221703 - Main - INFO - Raspberry Pi SoC              = BCM2711
2021-07-05 11:48:25.221787 - Main - INFO - Raspberry Pi revision         = d03114
2021-07-05 11:48:25.221871 - Main - INFO - Raspberry Pi model name       = 4B 8GB
2021-07-05 11:48:25.221950 - Main - INFO - GPU memory allocation         = 256 MB
2021-07-05 11:48:25.222066 - Main - INFO - Python version                = 3.7.3 (default, Jan 22 2021, 20:04:44)  MB
2021-07-05 11:48:25.222182 - Main - INFO - VLC installed                 = True
2021-07-05 11:48:25.222282 - Main - INFO - pipng installed               = True
2021-07-05 11:48:25.222376 - Main - INFO - ffmpeg installed              = True
2021-07-05 11:48:25.222453 - Main - INFO - *********************************************************
2021-07-05 11:48:25.224232 - Main - INFO - advanced setting overwritten for 'loglevel' is '1'
2021-07-05 11:48:25.224465 - Main - INFO - advanced setting overwritten for 'buffertime' is '1000'
2021-07-05 11:48:25.254345 - Main - INFO - Detected screen resolution for HDMI0 is '0x0@0Hz'
2021-07-05 11:48:25.278113 - Main - INFO - Using a virtual screen resolution of '1920x1080'
2021-07-05 11:48:45.359956 - StreamInfo - ERROR - ffprobe exception: Command '['ffprobe', '-v', 'error', '-show_entries', 'stream=codec_type,height,width,codec_name,bit_rate,max_bit_rate,avg_frame_rate', 'rtsp://admin:Bi
2021-07-05 11:48:45.359956 - StreamInfo - ERROR --> [email protected]:554/cam/realmonitor?channel=1&subtype=0', '-rtsp_transport', 'udp']' timed out after 10 seconds
2021-07-05 11:48:45.361481 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0', resolution '0x0@0', codec '', calculated weight '0', valid url '1', has audio 'Fals
2021-07-05 11:48:45.361481 - StreamInfo - INFO --> e', valid video 'windowed 0 fullscreen 0', force UDP 'False'
2021-07-05 11:48:45.361706 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!
2021-07-05 11:48:50.615147 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1', resolution '704x576@20', codec 'h264', calculated weight '8110080', valid url '1',
2021-07-05 11:48:50.615147 - StreamInfo - INFO --> has audio 'False', valid video 'windowed 1 fullscreen 1', force UDP 'False'
2021-07-05 11:48:50.615650 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!
2021-07-05 11:48:50.617927 - Screen - INFO - init screen number '1' with a total weight of '8110080'
2021-07-05 11:48:50.618132 - ScreenManager - INFO - added screen number '1' to display '1' with layout '4' and displaytime '10'
2021-07-05 11:48:51.675536 - Window - INFO - starting stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1' with resolution '704x576' and weight '8
2021-07-05 11:48:51.675536 - Window - INFO --> 110080' in a window '960x540'
2021-07-05 11:48:52.773879 - Window - INFO - stream playstate 'INIT2' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1'
2021-07-05 11:48:53.833691 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-07-05 11:48:55.126564 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-07-05 11:48:56.398124 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-07-05 11:48:56.859260 - Window - INFO - stream playstate 'PLAYING' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1'

from camplayer.

sevenseal avatar sevenseal commented on September 12, 2024

Change the rest of "windows#" to window# ?

from camplayer.

Robby73 avatar Robby73 commented on September 12, 2024

Also where you have

[DEVICE4]
channel4_name = KAMERA 4
channel4.1_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmonitor?channel=4&subtype=0

that should be channel1.1_url not channel4.1_url.

its channel 1 on device 4 i believe..
Thats the only way it would work for me anyway

from camplayer.

mzsolnay avatar mzsolnay commented on September 12, 2024

I am having similar issues ... NO LINK

this is my ini:

[DEVICE1]
channel1_name = Device1
channel1.1_url = rstp://admin:[email protected]:80/0
channel1.2_url = rstp://admin:[email protected]:80/1

[DEVICE2]
channel1_name = Device2
channel1.1_url = rstp://admin@[email protected]:80/0
channel1.2_url = rstp://admin:[email protected]:80/1

[SCREEN1]
layout = 4
window1 = device1,channel1
window2 = device1,channel1
window3 = device2,channel1
window4 = device2,channel1

And this is log:

2022-01-23 07:55:08.263082 - Main - INFO - Starting camplayer version 1.0.0b5
2022-01-23 07:55:08.264177 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2022-01-23 07:55:10.011421 - Main - INFO - ********************** SYSTEM INFO **********************
2022-01-23 07:55:10.011765 - Main - INFO - Camplayer version = 1.0.0b5
2022-01-23 07:55:10.011867 - Main - INFO - Operating system = Linux raspberrypi 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l GNU/Linux
2022-01-23 07:55:10.011960 - Main - INFO - Raspberry Pi SoC = BCM2835
2022-01-23 07:55:10.012033 - Main - INFO - Raspberry Pi revision = a020d3
2022-01-23 07:55:10.012109 - Main - INFO - Raspberry Pi model name = 3B+
2022-01-23 07:55:10.012184 - Main - INFO - GPU memory allocation = 256 MB
2022-01-23 07:55:10.012275 - Main - INFO - Python version = 3.7.3 (default, Jan 22 2021, 20:04:44) MB
2022-01-23 07:55:10.012373 - Main - INFO - VLC installed = True
2022-01-23 07:55:10.012454 - Main - INFO - pipng installed = True
2022-01-23 07:55:10.012533 - Main - INFO - ffmpeg installed = True
2022-01-23 07:55:10.012600 - Main - INFO - *********************************************************
2022-01-23 07:55:10.121390 - Main - INFO - Detected screen resolution for HDMI0 is '1920x1080@60Hz'
2022-01-23 07:55:10.121712 - Main - INFO - Using a virtual screen resolution of '1920x1080'
2022-01-23 07:55:10.129201 - Window - DEBUG - init window with position '0 0 960 540', gridindex '[0, 1, 4, 5]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01'
2022-01-23 07:55:10.131006 - Window - DEBUG - init window with position '960 0 1920 540', gridindex '[2, 3, 6, 7]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W02'
2022-01-23 07:55:10.133908 - Window - DEBUG - init window with position '0 540 960 1080', gridindex '[8, 9, 12, 13]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W03'
2022-01-23 07:55:10.139810 - Window - DEBUG - init window with position '960 540 1920 1080', gridindex '[10, 11, 14, 15]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W04'
2022-01-23 07:55:10.143613 - StreamInfo - INFO - stream properties 'rstp://xxx:[email protected]:80/0', resolution '0x0@0', codec '', calculated weight '0', valid url '0', has audio 'False', valid video 'windowed 0 full
2022-01-23 07:55:10.143613 - StreamInfo - INFO --> screen 0', force UDP 'False'
2022-01-23 07:55:10.145528 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!
2022-01-23 07:55:10.147533 - StreamInfo - INFO - stream properties 'rstp://xxx:[email protected]:80/1', resolution '0x0@0', codec '', calculated weight '0', valid url '0', has audio 'False', valid video 'windowed 0 full
2022-01-23 07:55:10.147533 - StreamInfo - INFO --> screen 0', force UDP 'False'
2022-01-23 07:55:10.151048 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!
2022-01-23 07:55:10.153718 - StreamInfo - INFO - stream properties 'rstp://xxx:[email protected]:80/0', resolution '0x0@0', codec '', calculated weight '0', valid url '0', has audio 'False', valid video 'windowed 0 full
2022-01-23 07:55:10.153718 - StreamInfo - INFO --> screen 0', force UDP 'False'
2022-01-23 07:55:10.156139 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!
2022-01-23 07:55:10.158730 - StreamInfo - INFO - stream properties 'rstp://xxx:[email protected]:80/1', resolution '0x0@0', codec '', calculated weight '0', valid url '0', has audio 'False', valid video 'windowed 0 full
2022-01-23 07:55:10.158730 - StreamInfo - INFO --> screen 0', force UDP 'False'
2022-01-23 07:55:10.161478 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!

from camplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.