Giter Site home page Giter Site logo

camplayer's Introduction

Camplayer - IP Camera viewer for the Raspberry Pi

Use your Raspberry Pi as advanced IP camera viewer. The list of supported IP cameras is endless as Camplayer makes use of the RTSP and HTTP protocols for streaming. Especially the RTSP protocol is supported by nearly all big brands out there.

A picture is worth a thousand words.

Camplayer 2x2 grid

Website

https://www.rpi-camplayer.com/

Donate

Please consider a donation if you like this software or want to support its ongoing development.

Features

  • MPEG2, H264, MJPEG and experimental HEVC support (see support matrix).
  • Video grid for up to 16 streams.
  • Switch from grid to single view mode (zoom mode) and back.
  • Substream/subchannel support with automatic selection.
  • Automatic recovery of broken streams.
  • Keyboard navigation.
  • Easy configuration with .ini file
  • Experimental audio support.
  • Dual display support for the Raspberry Pi 4.
  • OSD and background support.
  • Demo mode.

Support matrix

Raspberry Pi Zero Raspberry Pi 2 Raspberry Pi 3/3+ Raspberry Pi 4
H264 Yes Yes Yes Yes
H265/HEVC No No Yes (1,4) Yes (2,4)
MPEG2 Yes Yes Yes Yes (3,4)
Dual display No No No Yes (4)
Video OSD Yes Yes Yes No

(1) Full screen mode only, up to 1080p/FHD.
(2) Full screen mode only, up to 2160p/4K.
(3) Full screen mode only.
(4) Experimental.

General notes:

  • The maximum resolution for MJPEG, H264 and MPEG2 is 1920x1080.
  • You need to buy a license key for MPEG2.

How many windows in grid view mode?

The maximum number of windows/video players in grid view mode depends on many factors
including display resolution, video resolution, framerate, codec, Pi hardware etc.

The tables below give you an idea of what to expect with some common video resolutions.

Single display 1920x1080@60Hz

Raspberry Pi Zero Raspberry Pi 2 Raspberry Pi 3/3+ Raspberry Pi 4
H264 640x360@24FPS ? ? 9 9
H264 854x480@24FPS ? ? 7 7
H264 1280x720@24FPS ? ? 4 4
H264 1920x1080@24FPS 1 1 1 1

Dual display 1920x1080@60Hz

Raspberry Pi Zero Raspberry Pi 2 Raspberry Pi 3/3+ Raspberry Pi 4
H264 640x360@24FPS N/A N/A N/A 4 + 6
H264 854x480@24FPS N/A N/A N/A 1 + 6

You can easely perform your own performance tests by running one of the test configs.

camplayer -c ../tests/test-performance_360pH264-config.ini

Security warnings

  • Password protected HTTP and RTSP streams are widely used on security cameras but are not 100% secure as these streams are still unencrypted. The only thing that is protected here is the login procedure.
  • Anyone with physical access to your Raspberry Pi and/or SD card can potentially retrieve your IP camera credentials. Passwords and usernames are saved as plain text.
  • It's better to disable SSH or at least change the default password.

Therefore, please don't use this software if security is critical for you. I take no responsibility for leaked footage, leaked credentials, hacked cameras etc., you have been warned!

Installation

The instruction below assume you are running a recent Raspberry Pi OS Lite build.
If you are interested in a plug & play system with some additional features, check out https://www.rpi-camplayer.com/

Add the following lines to '/boot/config.txt':

gpu_mem=256
disable_overscan=1

Comment out (or delete) the following line in '/boot/config.txt' and reboot:

# dtoverlay=vc4-fkms-v3d

Install git client:

sudo apt-get update
sudo apt-get install git

Get the source code and check it out in the current directory:

git clone -b Camplayer_1.0 https://github.com/raspicamplayer/camplayer.git

Install camplayer by running the install script:

sudo sh ./camplayer/install.sh

Now you can test your install with:

camplayer --demo

After you finished your configuration (see next section), you can start camplayer with:

sudo systemctl start camplayer.service

To automatically start camplayer at boot:

sudo systemctl enable camplayer.service

To stop camplayer:

sudo systemctl stop camplayer.service

or
Press "q" key.

Experimental HEVC/H265 support

You have to install an experimental VLC media player version,
please follow the instructions of the following thread.
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=257395

It is important to note that VLC does not support windowed playback at the moment, so you can not create a grid layout of HEVC/H265 streams. Once VLC supports this, I will probably drop OMXplayer support and rewrite the windowmanager code in a less hackish way.

Configuration

Getting started

Create and open following file (assumes you are running as user 'pi')

/home/pi/.camplayer/config.ini

Create device section(s).

[DEVICE1]
channel1_name = optional OSD name
channel1.1_url = your 1st IP camera stream URL (main stream)
channel1.2_url = your 1st IP camera stream URL (sub stream)

[DEVICE2]
channel1_name = optional OSD name
channel1.1_url = your 2nd IP camera stream URL (main stream)
channel1.2_url = your 2nd IP camera stream URL (sub stream)

It is important that device sections are named "[DEVICEx]" and channels are named "channelx.y_url".
At least 1 sub-channel must be added, up to 9 sub-channels are possible.

Create screen section(s)

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

It is important that screen sections are named "[SCREENx]" and windows are named "windowx".
The window values should be formatted as "devicex,channelx" and match the desired device section and channel you created in previous step.

Another important point is that "layout" must be one of the following numbers "1,4,6,7,8,9,10,13,16*"
This number defines the layout and the number of windows per screen e.g. a layout of "6" gives you the following layout:
https://github.com/raspicamplayer/camplayer/blob/master/resources/backgrounds/nolink_1P5.png

You can find an overview of possible layouts here:
https://github.com/raspicamplayer/camplayer/tree/master/resources/backgrounds

Raspberry Pi dual display

First of all, camplayer assumes that both displays are set to the same resolution. So please verify this and if nessesary adjust your display configuration. Now, to display a screen on the second HDMI (HDMI1), you have to add a 'display = 2' property to the desired SCREEN section.

[SCREEN1]
display = 2
layout = 4
window1 = device1,channel1
...

Troubleshooting

Check logging output

To be sure all instances are stopped:

sudo systemctl stop camplayer.service

Run camplayer from command line without 'sudo':

camplayer

Check the output of this command for errors and/or warnings.

  • For the Raspberry pi 4, use the HDMI0 labeled output
  • Unsupported hardware? -> see 'hardwarecheck' in advanced settings, no guarantee!
  • H265/HEVC streams are not supported in grid mode!

Performance impact

You can experience HDMI signal dropouts and/or video artifacts when your configuration exeeds the capabilities of your Raspberry Pi's GPU. It is hard to predict this in advance as it depends on many factors like.

  • Video resolution and framerate
  • Display resolution
  • GPU/H264 decoder clock frequency
  • Number of connected displays
  • Background mode (advanced setting)
  • Screen downscaling (advanced setting)
  • Video OSD (advanced setting)

When in trouble, you can reduce the number of windows in the gridview to reduce the performance impact.
Other options you can try are:

  • Set advanced setting "streamquality" to "0" (lowest quality)
  • Set advanced setting "backgroundmode" to "0" (black background)
  • Set advanced setting "screenchangeover" to "0" (normal changeover)
  • Don't set advanced setting "screendownscale"
  • Don't set advanced setting "enablevideoosd"
  • Use a faster/newer Raspberry Pi model
  • Reduce resolution/framerate inside your IP camera configuration
  • Scaling the video resolution to the window resolution comes at a cost, a perfect match is preferred.
    You can achieve this by chosing your IP camera and/or display resolution carefully.
    Important to note, upscaling is still better than downscaling performance wise.

Advanced settings

You can change advanced settings by adding an "ADVANCED" section to your configuration file.
In this example we set the video buffertime to 1000ms.

Example

[ADVANCED]
buffertime = 1000

Possible advanced settings

showtime            Screen rotation interval in seconds when multiple screens are configured (0=no automatic rotation).
loglevel            Log level (0=debug, 1=info, 2=warning, 3=error).
hardwarecheck       Check hardware capabilities on startup (0=off, 1=on).
backgroundmode      Use background image, pipng install required 
                    (0=black, 1=static grid background, 2=dynamic background, 3=off).
buffertime          Video buffertime in millisecond.
screenchangeover    Changeover mode with multiple screens (0=normal, 1=fast, 2=smooth).
icons               Enable loading, paused, ... icons on top of the video (0=off, 1=on).
streamwatchdog      Check and repair broken video streams interval in seconds (0=off, 1=on).
playtimeout         Video play timeout in seconds.
streamquality       Stream selection when multiple subchannels are defined 
                    (0=lowest quality, 1=automatic, 2=highest quality).
refreshtime         Refresh streams interval in minutes.
enablehevc          HEVC/H265 support (0=disable, 1=auto select from hardware, 2=limit to FHD/1080p, 3=force on).
enableaudio         Enable audio support for fullscreen playing video. (0=off, 1=on when fullscreen).
screendownscale     Downscale the used screen area (adds a black border) in percent.
enablevideoosd      Show channel/camera name on top of each video (0=off, 1=on).
audiovolume         Default audio volume (0..100).
screendownscale     Downscale the virtual screen by x percent (0..100).
screenwidth         Forced screen width in pixels (if autodetect fails).
screenheight        Forced screen height in pixels (if autodetect fails).

Key bindings

space               Pause/unpause automatic screen rotation.
enter               Switch from grid to single view mode.
left/right arrow    Switch to previous/next screen (or window in single view mode).
up/down arrow       Increase/decrease stream quality (if multiple subchannels/substreams configured).
numeric keys 1..16  Switch from grid view mode to the relevant window in fullscreen (single view mode).
numeric key 0       Switch from single view to grid view mode and unpause rotation.
escape              Switch from single view to grid view mode and unpause rotation.
letter 'q'          Quit camplayer.

Roadmap

Camplayer 2

  • Improve VLC and drop OMXplayer support, drop code hacks introduced to support them both.
  • Proper windowed H265/HEVC playback, related to previous point.
  • PTZ support by calling external scripts.
  • Proper audio support.

camplayer's People

Contributors

raspicamplayer avatar xirgo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camplayer's Issues

OMXplayer is deprecated in Raspian Bullseye.

When running the install script on the recently released version of Raspian (Bullseye), we get the following message:

Package omxplayer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'omxplayer' has no installation candidate

When you try to run the demo, you get the following message:

OMXplayer not installed but required!

According to the OMXplayer Github, it is being depreciated.

Adding Custom Resolution (600x800) and 2 Window Layout

Hi all,

We are trying to use camplayer to display two camera views side-by-side. To make this happen, our Axis cameras were configured to send the feed in 600x800 (instead of 800x600), and it looks perfect in the preview view. However, camplayer fails to detect the proper resolution when we try and validate it and INFO reports BROKEN feeds. That said, the feeds work on the 4 Windows view (but are smushed).

  1. Is there a way to add 600x800 as a valid resolution?
  2. Would I then create a 2 window (2x1) layout in a similar way to the work done in #13 ?

Broken Pipe

When trying to run the demo using:

camplayer --demo

i get the following error:

2021-09-01 10:07:28.026949 - BackGroundManager - DEBUG - setting background '/home/pi/.camplayer/cache/nolink_1P5_1920_1080.png' visible for display '0
Traceback (most recent call last):
File "./camplayer.py", line 313, in
main()
File "./camplayer.py", line 232, in main
screenmanager.do_work()
File "/usr/local/share/camplayer/camplayer/screenmanager.py", line 1183, in do_work
self._screen_rotate_next_active(display_idx=display_idx)
File "/usr/local/share/camplayer/camplayer/screenmanager.py", line 992, in _screen_rotate_next_active
self._screens[display_idx][self._active_screen_idx[display_idx]].layout), display_idx=display_idx)
File "/usr/local/share/camplayer/camplayer/backgroundgen.py", line 286, in show_background
cls._proc_background[display_idx].stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

Any help is appreciated.

HEVC/H.265 requires rpi-update firmware update

Hello,

Perhaps you could add this bit to the documentation, but posting here for posterity. I tried for too many hours trying to get a H.265 stream from both an ANNKE C800 and Reolink RLC-820A with little success. Ultimately I found it necessary to update the Pi's firmware using 'sudo rpi-update' and a reboot. After I did this, the stream works flawlessly at 4K.

Nice piece of software to turn a SBC into a security monitor! Thanks!

Issues on raspberry pi 4 with no link

Camplayer in command line only works when I do NOT comment out dtoverlay=vc4-fkms-v3d
When it is commented out I get no link error

When I'm trying to run camplayer as a service it is always showing no link

My current workaround is to not comment out dtoverlay=vc4-fkms-v3d and start camplayer in LXDE-pi/autostart

No video in Demo

Help? I've got a fresh install of Rasbian Lite on a Rpi4, hooked to a 1920x1080 display by HDMI. The display works, shows login etc if I don't have #dtoverlay=vc4-fkms-v3d commented out. I've followed the install, settings file contains only 1 device, set to display 1 cam, rtsp stream verified working. Everything upgraded. No display appears.

Pastebin of configs and results: https://pastebin.com/1qUmTkwy

I stepped back to try the demo again, and am getting many instances of this:

Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S03_W01' is not responding correctly

Pastebin of demo logging: https://pastebin.com/gzq8cBb9

Enhancement: Touchscreen/mouse interactions instead of keyboard

I've got the 7" Pi touchscreen and was hoping to build this into the wall as a persistent display for my cameras, but would love to be able to interact via the touchscreen rather than a keyboard for obvious reasons

Ideal actions:
Double click on small video in grid to make it full screen
Double click on full screened video to go back to grid
Swipe left/right to go to the next/previous page of grid view or go to the next/previous camera in full screen mode

CAMPLAYER OS Boot Issues

Thanks a lot for your hard work. I want to report that I burned the CAMPLAYER OS on 8GB SD Card. After all the agreements that you displayed and I "Accepted" I saw Subprocess.py line 474 etc timeout errors. I was never able to get it to work, not even the configuration page. I tried Raspberry Pi Zero with Wifi. I reburned image on new SD card , same result.

Thanks

Key Mappings

Hello,

The key mappings don't seem to work with a USB Number Pad only. Is there a way to change the key mappings? I'd like to use a number pad only next to the display to control it a bit. Currently things like space and escape aren't on the number pad, so I'd like to change those mappings to something else. Thanks!

Issue detecting screen resolution

I'm currently coming across an issue on a raspberry pi 4 model b v1.2 where the screen resolution is not properly being detected.

I have pipng installed which does appear to properly detect the screen resolution. The below was captured from the logs while running the camplayer manually.

My screen resolution being used is 1440x900. Is there an override option available that would allow for the resolution to be set manually through the config.ini file?

2020-06-29 20:16:12.711421 - Main - INFO - Starting camplayer version 1.0.0b2
2020-06-29 20:16:12.711551 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2020-06-29 20:16:14.413912 - Main - INFO - ********************** SYSTEM INFO **********************
2020-06-29 20:16:14.414186 - Main - INFO - Camplayer version             = 1.0.0b2
2020-06-29 20:16:14.414267 - Main - INFO - Operating system              = Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
2020-06-29 20:16:14.414372 - Main - INFO - Raspberry Pi SoC              = BCM2835
2020-06-29 20:16:14.414453 - Main - INFO - Raspberry Pi revision         = c03112
2020-06-29 20:16:14.414575 - Main - INFO - Raspberry Pi model name       =
2020-06-29 20:16:14.414672 - Main - INFO - GPU memory allocation         = 256 MB
2020-06-29 20:16:14.414800 - Main - INFO - Python version                = 3.7.3 (default, Dec 20 2019, 18:57:59)  MB
2020-06-29 20:16:14.414884 - Main - INFO - VLC installed                 = True
2020-06-29 20:16:14.414965 - Main - INFO - pipng installed               = True
2020-06-29 20:16:14.415081 - Main - INFO - ffmpeg installed              = True
2020-06-29 20:16:14.415149 - Main - INFO - *********************************************************
2020-06-29 20:16:14.416672 - Main - INFO - advanced setting overwritten for 'hardwarecheck' is '0'
2020-06-29 20:16:14.438469 - Main - INFO - Detected screen resolution for HDMI0 is '0x0@0Hz'
2020-06-29 20:16:14.438809 - Main - INFO - Using a virtual screen resolution of '1920x1080'

breaking char (colon) in rtsp stream URL

First off, Really awesome project.

I am trying to display me rtsp stream from my WazeCam's which is in the below format

URL: rtsp:\\[USERNAME]:[PASSWORD]@[IP]\live
example: rtsp:\\myUser:[email protected]\live

however for some reason the : between the Username and Password split the string as below

2021-01-30 07:42:16.273775 - 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://myUsername\
2021-01-30 07:42:16.273775 - StreamInfo - ERROR --> \:[email protected]/live'                                                                                                             ]' returned non-zero exit status 1.
2021-01-30 07:42:16.277072 - StreamInfo - INFO - stream properties 'rtsp://xxx:y                                                                                                             [email protected]:None/live', resolution '0x0@0', codec '', calculated weight '0',                                                                                                              valid url '1', has audio 'False', valid video 'windowed 0

I did try to replace the : with the HTML replacement of : but no luck.

Unsupported hardware with revision c03112 ...

I'm currently running the Raspberry Pi 4 model b v1.2. Is there a way to include this revision?

OS:

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

CPU:

pi@raspberrypi:~/.camplayer $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 1
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 2
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 3
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 108.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

Hardware        : BCM2835
Revision        : c03112
Serial          : 10000000facd5c8f
Model           : Raspberry Pi 4 Model B Rev 1.2

ffprobe exception - TCP issue?

I have an RTSP stream witch works fine with regular omxplayer.
Ex: omxplayer --avdict rtsp_transport:tcp rtsp://login:pass@ip:557/RVi/1/2 --live

But when I try to add it to Camplayer I get this terminal output:

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://login:pass@ip:557/RVi/1/2']' timed out after 10 seconds

I guess it's TCP issue, but don't know how to fix it. Can you please give me some advice?

ffprobe output:
Comand:
ffprobe -hide_banner rtsp://login:pass@ip:557/RVi/1/2
Output:

[rtsp @ 0x169ba00] UDP timeout, retrying with TCP
[rtsp @ 0x169ba00] method PAUSE failed: 551 Option not supported
[rtsp @ 0x169ba00] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

Comand:
ffprobe -rtsp_transport tcp -hide_banner rtsp://login:pass@ip:557/RVi/1/2
Output:

Input #0, rtsp, from 'rtsp://login:pass@ip:557/RVi/1/2':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.399333, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 704x480, 15 fps, 15 tbr, 90k tbn, 30 tbc

config.ini

Discussed in #60

Originally posted by Daveolw August 15, 2021
In Which Directory should the config.ini go?
Followed instructions and get this error,
'/home/pi/.camplayer/config.ini' not found!
No configuration file found

Cannot stream main/clear RTSP stream from Reolink camera

I have two streams coming from my Reolink camera. A fluent which is very lightweight stream and a clear stream which is a higher quality. I can use the fluent stream with the raspicamplayer without any problem. But the clear stream results in a "NO LINK". Within the Reolink configuration I tried different resolution, framerates and bitrates. Even the very lowest setting is not working. Both fluent and clear stream do work with the VLC app, https://github.com/Anonymousdog/displaycameras and the omxplayer $ omxplayer rtsp://admin:[email protected]:554/h264Preview_01_main.

Reolink stream settings

config.ini

[DEVICE1]
channel1_name = Reolink cam
channel1.1_url = rtsp://admin:[email protected]:554/h264Preview_01_main
#channel1.2_url = rtsp://admin:[email protected]:554/h264Preview_01_sub

[SCREEN1]
layout = 1
window1 = device1,channel1

[ADVANCED]
enableaudio = 0

Console output when starting the clear a.k.a. main stream (not working)

pi@raspberrypi:~/.camplayer $ camplayer
2021-04-14 16:22:34.634203 - Main - INFO - Starting camplayer version 1.0.0b4
2021-04-14 16:22:34.634383 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-04-14 16:22:36.460951 - Main - INFO - ********************** SYSTEM INFO **********************
2021-04-14 16:22:36.461343 - Main - INFO - Camplayer version             = 1.0.0b4
2021-04-14 16:22:36.461559 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
2021-04-14 16:22:36.461946 - Main - INFO - Raspberry Pi SoC              = BCM2711
2021-04-14 16:22:36.462136 - Main - INFO - Raspberry Pi revision         = c03112
2021-04-14 16:22:36.462314 - Main - INFO - Raspberry Pi model name       = 4B 4GB
2021-04-14 16:22:36.462499 - Main - INFO - GPU memory allocation         = 256 MB
2021-04-14 16:22:36.462640 - Main - INFO - Python version                = 3.7.3 (default, Jan 22 2021, 20:04:44)  MB
2021-04-14 16:22:36.462813 - Main - INFO - VLC installed                 = True
2021-04-14 16:22:36.462959 - Main - INFO - pipng installed               = True
2021-04-14 16:22:36.463097 - Main - INFO - ffmpeg installed              = True
2021-04-14 16:22:36.463216 - Main - INFO - *********************************************************
2021-04-14 16:22:36.498781 - Main - INFO - Detected screen resolution for HDMI0 is '0x0@0Hz'
2021-04-14 16:22:36.525731 - Main - INFO - Using a virtual screen resolution of '1920x1080'
2021-04-14 16:22:36.540423 - Window - DEBUG - init window with position '0 0 1920 1080', gridindex '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S
2021-04-14 16:22:36.540423 - Window - DEBUG --> 01_W01'
2021-04-14 16:22:36.544237 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554/h264Preview_01_main', resolution '2560x1440@0', codec 'h264', calculated weight '0', valid url '1', has audio 'True', v
2021-04-14 16:22:36.544237 - StreamInfo - INFO --> alid video 'windowed 0 fullscreen 0', force UDP 'False'
2021-04-14 16:22:36.544896 - Screen - INFO - init screen number '1' with a total weight of '0'
2021-04-14 16:22:36.545061 - ScreenManager - INFO - added screen number '1' to display '1' with layout '1' and displaytime '10'
2021-04-14 16:22:36.545529 - BackGroundManager - DEBUG - Loading pipng for display '1' with command '['pipng', '-b', '0', '-l', '-100', '-d', '2', '-h', '-i', '/home/pi/.camplayer/cache/nolink_1x1_1920_1080.png']'
2021-04-14 16:22:36.553442 - BackGroundManager - DEBUG - Loading pipng for display '0' with command '['pipng', '-b', '0', '-l', '1000', '-d', '2', '-i', '-x', '60', '-y', '60', '../resources/icons/icon_loading.png', '../resourc
2021-04-14 16:22:36.553442 - BackGroundManager - DEBUG --> es/icons/icon_paused.png', '../resources/icons/icon_control.png']'
2021-04-14 16:22:36.561062 - ScreenManager - DEBUG - starting all streams for screen '1' on display '1'
2021-04-14 16:22:36.561711 - BackGroundManager - DEBUG - setting background '/home/pi/.camplayer/cache/nolink_1x1_1920_1080.png' visible for display '0
2021-04-14 16:22:36.662542 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:22:36.662695 - ScreenManager - DEBUG - player watchdog
2021-04-14 16:22:51.737255 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:22:51.737732 - ScreenManager - DEBUG - player watchdog
2021-04-14 16:23:06.864102 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:23:06.864577 - ScreenManager - DEBUG - player watchdog
...repeating the last two lines forever...

Console output when starting the fluent a.k.a. sub stream (working)

pi@raspberrypi:~/.camplayer $ camplayer
2021-04-14 16:37:31.002140 - Main - INFO - Starting camplayer version 1.0.0b4
2021-04-14 16:37:31.002283 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-04-14 16:37:32.792555 - Main - INFO - ********************** SYSTEM INFO **********************
2021-04-14 16:37:32.793403 - Main - INFO - Camplayer version             = 1.0.0b4
2021-04-14 16:37:32.793908 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
2021-04-14 16:37:32.794421 - Main - INFO - Raspberry Pi SoC              = BCM2711
2021-04-14 16:37:32.794923 - Main - INFO - Raspberry Pi revision         = c03112
2021-04-14 16:37:32.795399 - Main - INFO - Raspberry Pi model name       = 4B 4GB
2021-04-14 16:37:32.795704 - Main - INFO - GPU memory allocation         = 256 MB
2021-04-14 16:37:32.796199 - Main - INFO - Python version                = 3.7.3 (default, Jan 22 2021, 20:04:44)  MB
2021-04-14 16:37:32.796493 - Main - INFO - VLC installed                 = True
2021-04-14 16:37:32.796773 - Main - INFO - pipng installed               = True
2021-04-14 16:37:32.797042 - Main - INFO - ffmpeg installed              = True
2021-04-14 16:37:32.797306 - Main - INFO - *********************************************************
2021-04-14 16:37:32.824100 - Main - INFO - Detected screen resolution for HDMI0 is '0x0@0Hz'
2021-04-14 16:37:32.847948 - Main - INFO - Using a virtual screen resolution of '1920x1080'
2021-04-14 16:37:32.856067 - Window - DEBUG - init window with position '0 0 1920 1080', gridindex '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S
2021-04-14 16:37:32.856067 - Window - DEBUG --> 01_W01'
2021-04-14 16:37:32.858945 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554/h264Preview_01_sub', resolution '640x352@0', codec 'h264', calculated weight '2252800', valid url '1', has audio 'True'
2021-04-14 16:37:32.858945 - StreamInfo - INFO --> , valid video 'windowed 1 fullscreen 1', force UDP 'False'
2021-04-14 16:37:32.859915 - Screen - INFO - init screen number '1' with a total weight of '2252800'
2021-04-14 16:37:32.860286 - ScreenManager - INFO - added screen number '1' to display '1' with layout '1' and displaytime '10'
2021-04-14 16:37:32.861022 - BackGroundManager - DEBUG - Loading pipng for display '1' with command '['pipng', '-b', '0', '-l', '-100', '-d', '2', '-h', '-i', '/home/pi/.camplayer/cache/nolink_1x1_1920_1080.png']'
2021-04-14 16:37:32.867941 - BackGroundManager - DEBUG - Loading pipng for display '0' with command '['pipng', '-b', '0', '-l', '1000', '-d', '2', '-i', '-x', '60', '-y', '60', '../resources/icons/icon_loading.png', '../resourc
2021-04-14 16:37:32.867941 - BackGroundManager - DEBUG --> es/icons/icon_paused.png', '../resources/icons/icon_control.png']'
2021-04-14 16:37:32.876142 - ScreenManager - DEBUG - starting all streams for screen '1' on display '1'
2021-04-14 16:37:32.876992 - BackGroundManager - DEBUG - setting background '/home/pi/.camplayer/cache/nolink_1x1_1920_1080.png' visible for display '0
2021-04-14 16:37:32.877971 - Window - INFO - starting stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub' with resolution '640x352' and weight '2252800' in a wi
2021-04-14 16:37:32.877971 - Window - INFO --> ndow '1920x1080'
2021-04-14 16:37:32.878897 - Window - DEBUG - starting player with arguments '['omxplayer', '--no-keys', '--no-osd', '--aspect-mode', 'stretch', '--dbus_name', 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01', '--thres
2021-04-14 16:37:32.878897 - Window - DEBUG --> hold', '0.5', '--layer', '17', '--alpha', '255', '--nodeinterlace', '--nohdmiclocksync', '--display', '2', '--timeout', '10', '--win', '0 0 1920 1080', '--avdict', 'rtsp_
2021-04-14 16:37:32.878897 - Window - DEBUG --> transport:tcp', '--live', '--aidx', '-1']'
2021-04-14 16:37:33.978343 - PIDpool - DEBUG - active OMXplayer PIDs '['2224']'
2021-04-14 16:37:33.990694 - Window - DEBUG - assigned PID '2224' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:37:33.991663 - Window - INFO - stream playstate 'INIT2' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:37:33.992354 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:37:33.992871 - ScreenManager - DEBUG - player watchdog
2021-04-14 16:37:34.049263 - PIDpool - DEBUG - active OMXplayer PIDs '['2224']'
2021-04-14 16:37:34.061270 - Window - DEBUG - fetching playstate for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:37:35.089326 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-04-14 16:37:36.376597 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-04-14 16:37:37.669307 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-04-14 16:37:38.961718 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-04-14 16:37:40.255023 - Window - WARNING - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly, retrying within 250ms
2021-04-14 16:37:41.547319 - Window - ERROR - DBus 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' is not responding correctly after '6' attemps, give up now
2021-04-14 16:37:56.584528 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:37:56.584797 - ScreenManager - DEBUG - player watchdog
2021-04-14 16:37:56.672300 - PIDpool - DEBUG - active OMXplayer PIDs '['2224']'
2021-04-14 16:37:56.680695 - Window - DEBUG - fetching playstate for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:37:56.704527 - Window - DEBUG - DBus response to command 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01:Duration ' is 'int64 15245000'
2021-04-14 16:37:56.705113 - Window - INFO - stream playstate 'PLAYING' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:38:11.747316 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:38:11.747571 - ScreenManager - DEBUG - player watchdog
2021-04-14 16:38:11.840446 - PIDpool - DEBUG - active OMXplayer PIDs '['2224']'
2021-04-14 16:38:11.855828 - Window - DEBUG - fetching playstate for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:38:11.920827 - Window - DEBUG - DBus response to command 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01:Duration ' is 'int64 30477000'
2021-04-14 16:38:26.960171 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-04-14 16:38:26.960419 - ScreenManager - DEBUG - player watchdog
2021-04-14 16:38:27.052656 - PIDpool - DEBUG - active OMXplayer PIDs '['2224']'
2021-04-14 16:38:27.067877 - Window - DEBUG - fetching playstate for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554/h264Preview_01_sub'
2021-04-14 16:38:27.101292 - Window - DEBUG - DBus response to command 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01:Duration ' is 'int64 45645000'
...repeating last 4 lines forever...

Console output of omxplayer (working)

pi@raspberrypi:~/.camplayer $ omxplayer rtsp://admin:[email protected]:554/h264Preview_01_main
Video codec omx-h264 width 1280 height 720 profile 100 fps 25.083334
Audio codec aac channels 1 samplerate 16000 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
V:PortSettingsChanged: [email protected] interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0

Camplayer Occasionally Showing Command Line

Not sure if this is intended behaviour or something new - I'm sure that in the past Camplayer just cycled through my 3 sources, but now after the 3rd source (final one) I get to see the command prompt for an equal amount of time.

Is it possible that I have a setting wrong or that my RPI 3 is unable to handle something ?

FFProbe Error

I know this was a closed ticket but I have camplayer on the RPI3 and get this error..

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://etc....

ffprobe -rtsp_transport tcp -hide_banner rtsp://user:[email protected]/stream3
[rtsp @ 0xfb8a50] method DESCRIBE failed: 401 Unauthorized
rtsp://user:[email protected]/stream3: Server returned 401 Unauthorized (authorization failed)

Video plays fine on VLC on Windows Computer and another Pi with GUI

Anything I can try?

The Demo plays just fine.

Thanks,
Andy

Camplayer not adding streams

Hello, looking for some guidance

I have installed Camplayer_OS on RPI 4. I add the rtsp steam to all the necessary input fields. then test the stream and all works. Lastly I use the down arrow to get to the Add/save field, press enter, and it does not save the stream. It goes right back to the 1st line at top. Any help is appreciated as this is the last step for an install i'm doing.

JOINT401...

Incorrect python version detected

I’m trying to setup camplayer for the first time. Immediately after configuring, when I try to run the demo, it states that Python 3.7 or higher is required.

I upgraded python to 3.7 and updated symlinks etc but still receiving the same error. Rpi model 3+

any clue.?

closing pipng causes black screen on Raspi 4 [workaround]

After a lot of fighting it, where it all worked stable on a 3B but badly on a 4B, I finally traced it to pipng
In fact, I can get the the gpu to hang by just manually running and then closing pipng from command line.

pipng -b 0 -l -100 -d 2 -h -i /home/pi/.camplayer/cache/nolink_1x1_1280_1024.png
pipng -b 0 -l 1000 -d 2 -i -x 60 -y 60 ../resources/icons/icon_loading.png 

Sometimes it ends without hanging, but usually the 2nd and definitely the 3rd run will kill the system.
And subsequently, also any 2nd or 3rd camplayer run. And tvservice also will hang after a pipng run.
To reset it, often rebooting is not enough, it has to be power cycled.

First hint something is wrong is that using ps -ef both pipng processes persist when you quit camplayer.

Workaround, add this to config.ini:

[ADVANCED]
backgroundmode = 3
icons = 0

On a 3B I have not seen the issue. On a 3B+, I believe I did also see it, but when I was playing with that I was still new to the entire product, so my memory of problems with that may be other causes. And now I do not have the 3B+ available anymore.
On a 4B, it definitely hangs, and (for me) very consistently so. And adding the above as workaround works very well.

And side-node: Original branded RasPi4 power supply and no messages from the power watchdog.

Audio comes through but screen shows command line

I'm streaming rtsp on a pi4 over HDMI, when I start streaming, either by running sudo systemctl start camplayer.service or auto start with sudo systemctl enable camplayer.service, i get audio but the screen remains on the command line, am i missing something obvious? How do I get the video from the rtsp stream on the screen instead of the terminal output?

The output of running camplayer is this:

2021-03-11 21:53:30.208723 - Main - INFO - Starting camplayer version 1.0.0b3
2021-03-11 21:53:30.208931 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-03-11 21:53:31.968135 - Main - INFO - ********************** SYSTEM INFO **********************
2021-03-11 21:53:31.968497 - Main - INFO - Camplayer version             = 1.0.0b3
2021-03-11 21:53:31.968629 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
2021-03-11 21:53:31.968761 - Main - INFO - Raspberry Pi SoC              = BCM2711
2021-03-11 21:53:31.968874 - Main - INFO - Raspberry Pi revision         = b03114
2021-03-11 21:53:31.968989 - Main - INFO - Raspberry Pi model name       = 4B 2GB
2021-03-11 21:53:31.969098 - Main - INFO - GPU memory allocation         = 256 MB
2021-03-11 21:53:31.969231 - Main - INFO - Python version                = 3.7.3 (default, Jul 25 2020, 13:03:44)  MB
2021-03-11 21:53:31.969363 - Main - INFO - VLC installed                 = True
2021-03-11 21:53:31.969495 - Main - INFO - pipng installed               = False
2021-03-11 21:53:31.969610 - Main - INFO - ffmpeg installed              = True
2021-03-11 21:53:31.969717 - Main - INFO - *********************************************************
2021-03-11 21:53:31.971257 - Main - INFO - advanced setting overwritten for 'enablehevc' is '3'
2021-03-11 21:53:31.971423 - Main - INFO - advanced setting overwritten for 'enableaudio' is '1'
2021-03-11 21:53:31.998681 - Main - INFO - Detected screen resolution for HDMI0 is '1920x1080@60Hz'
2021-03-11 21:53:32.022355 - Main - INFO - Using a virtual screen resolution of '1920x1080'
2021-03-11 21:53:32.023559 - Window - DEBUG - init window with position '0 0 1920 1080', gridindex '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S
2021-03-11 21:53:32.023559 - Window - DEBUG --> 01_W01'
2021-03-11 21:53:32.026147 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554', resolution '2304x1296@20', codec 'hevc', calculated weight '0', valid url '1', has audio 'True', valid video 'window
2021-03-11 21:53:32.026147 - StreamInfo - INFO --> ed 0 fullscreen 1'
2021-03-11 21:53:32.026712 - Screen - INFO - init screen number '1' with a total weight of '0'
2021-03-11 21:53:32.026860 - ScreenManager - INFO - added screen number '1' to display '1' with layout '1' and displaytime '10'
2021-03-11 21:53:32.027334 - ScreenManager - DEBUG - starting all streams for screen '1' on display '1'
2021-03-11 21:53:32.027699 - Window - INFO - starting stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554' with resolution '2304x1296' and weight '0' in a window '1920x1080'
2021-03-11 21:53:32.071359 - Window - DEBUG - starting player with arguments '['cvlc', '--fullscreen', '--network-caching=500', '--rtsp-tcp', '--no-keyboard-events', '--mmal-display=hdmi-1', '--mmal-layer=0', '--inpu
2021-03-11 21:53:32.071359 - Window - DEBUG --> t-timeshift-granularity=0', '--vout=mmal_vout', '--gain=1', '--no-video-title-show']'
2021-03-11 21:53:32.636445 - Window - DEBUG - DBus response to command 'org.mpris.MediaPlayer2.vlc:Volume 1.0' is ''
2021-03-11 21:53:33.669886 - PIDpool - DEBUG - active VLCplayer PIDs '['1598']'
2021-03-11 21:53:33.711032 - Window - DEBUG - assigned PID '1598' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554'
2021-03-11 21:53:33.711566 - Window - INFO - stream playstate 'INIT2' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554'
2021-03-11 21:53:33.711963 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-03-11 21:53:33.712139 - ScreenManager - DEBUG - player watchdog
2021-03-11 21:53:33.739751 - PIDpool - DEBUG - active VLCplayer PIDs '['1598']'
2021-03-11 21:53:33.771173 - Window - DEBUG - fetching playstate for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554'
2021-03-11 21:53:33.784426 - Window - DEBUG - DBus response to command 'org.mpris.MediaPlayer2.vlc:PlaybackStatus ' is 'variant       Playing'
2021-03-11 21:53:33.785027 - Window - INFO - stream playstate 'PLAYING' for stream 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01' 'rtsp://xxx:[email protected]:554'

When i run ffprobe -hide_banner rtsp://xxxx:[email protected]:554 I get

[rtsp @ 0x1958a00] UDP timeout, retrying with TCP

When i run omxplayer rtsp://admin:[email protected]:554 I get

Vcodec id unknown: ad
have a nice day ;)

running camplayer --demo works as expected

I have the experimental version of VLC player installed but I wasn't having any luck before I installed it either.

config.ini not found

Followed instructions and created config.ini file using "/home/pi/.camplayer/config.ini" but it puts it in "/home/pi/camplayer" ie no fullstop before camplayer. what is the fullstop for and why can it not find the config.ini.

No auto-resolution

Hi.

Very nice product. Installed and got it working with little effort.

When I set streamquality = 1 (automatic), should camplayer not automatically switch from substream to main stream when I focus on a single camera (by Enter or keys 1~4)

It does work when I press up or down, so the streams are properly defined
(though it is a little slow in switching)

Thanks

#devices removed as for sensitive information

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

[SCREEN2]
layout = 4
window1 = device5,channel1
window2 = device6,channel1
window3 = device7,channel1
window4 = device8,channel1

[ADVANCED]
buffertime = 100
showtime =0
icons = 1
streamquality = 1
enablevideoosd = 1

Switch to specific screen with key?

Hi! Love this app! For now I was only able to achieve switching between different sources in single view mode by pressing numeric keys. But is it possible to press some key to get directly to specific screen layout? (not just go to previous/next with arrow key)

GPU memory insufficient

Hi

I tried to install your sw in an RP4 8GB version. Here is my config.

Neofetch

  `.::///+:/-.        --///+//-:``    pi@raspberrypi 
 `+oooooooooooo:   `+oooooooooooo:    -------------- 
  /oooo++//ooooo:  ooooo+//+ooooo.    OS: Raspbian GNU/Linux 10 (buster) armv7l 
  `+ooooooo:-:oo-  +o+::/ooooooo:     Host: Raspberry Pi 4 Model B Rev 1.4 
   `:oooooooo+``    `.oooooooo+-      Kernel: 5.10.17-v7l+ 
     `:++ooo/.        :+ooo+/.`       Uptime: 4 hours, 54 mins 
        ...`  `.----.` ``..           Packages: 1454 (dpkg), 3 (snap) 
     .::::-``:::::::::.`-:::-`        Shell: bash 5.0.3 
    -:::-`   .:::::::-`  `-:::-       Resolution: 1920x1080, 1920x1080 
   `::.  `.--.`  `` `.---.``.::`      DE: LXDE 
       .::::::::`  -::::::::` `       WM: Openbox 
 .::` .:::::::::- `::::::::::``::.    Theme: Adwaita [GTK3] 
-:::` ::::::::::.  ::::::::::.`:::-   Icons: Adwaita [GTK3] 
::::  -::::::::.   `-::::::::  ::::   Terminal: lxterminal 
-::-   .-:::-.``....``.-::-.   -::-   Terminal Font: Monospace 10 
 .. ``       .::::::::.     `..`..    CPU: BCM2711 (4) @ 1.500GHz 
   -:::-`   -::::::::::`  .:::::`     Memory: 975MiB / 7875MiB 
   :::::::` -::::::::::` :::::::.
   .:::::::  -::::::::. ::::::::                              
    `-:::::`   ..--.`   ::::::.
      `...`  `...--..`  `...`
            .::::::::::
             `.-::::-`

After installation, when I try to run using below command, I get the error as shown in screenshot below.

camplayer --demo

camplayer issue

Kindly help.

One device, but no one more ... :(

Hi,

I use a Pi 3b, for checking Ctronics 275 5 MB cam.
I have 4 cams.

This is my config.ini :

`[DEVICE1]
channel1_name = Antonin_Cam-07
channel1.1_url = rtsp://admin:[email protected]:554/11
channel1.2_url = rtsp://admin:[email protected]:554/2

[DEVICE2]
channel1_name = Antonin_Cam-08
channel1.1_url = rtsp://admin:[email protected]:554/11
channel1.2_url = rtsp://admin:[email protected]:554/2

[DEVICE3]
channel1_name = Antonin_Cam-09
channel1.1_url =
channel1.2_url =

[DEVICE4]
channel1_name = Antonin_Cam-10
channel1.1_url =
channel1.2_url =

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

[ADVANCED]
hardwarecheck = 0
enableaudio = 0
enablevideoosd = 1
`

All is working BUT, only for the first device.
The other are totaly ignored ...

Can you help me ?

Camplayer OS

Hi,

Danke für das tolle Projekt

ich habe das OS auf einem Raspi3b+installiert und 5 Lupus Cams eingerichtet.
Wobei ich aber jeweils nur den Hauptstream eingerichtet habe.

Beim Start wird aber nur eine Cam angezeigt. preview funktionierte
Ich denke das liegt daran, dass ich nur den Hauptstream eingerichtet habe. Richtig?
Um dies aber zu korrigieren, müsste ich die Oberfläche verlassen.
Was aber über die Taste „q“ nicht funktioniert.
Am Raspi ist eine Usb Tastatur angeschlossen

wer kann mir helfen?

Sollte es mir dennoch gelingen, die Oberfläche zu verlassen. Wie kann ich den Konfigurator noch einmal starten.

Camplayer OS - credentials

Unable to static ip address my client without the credentials to login.

The username shows up as camplayer but I do not know the password so that I can edit the file in the location /etc/dhcpcd.conf

Would anyone be able to provide the password.
I enjoy the OS version, it is a great client

No Link - ffprobe exception: Command timed out after 10 seconds

I've tried multiple ways to format the URL but cannot get a link. The test streams work fine, video files work fine, and the URL as currently entered works perfect in VLC. What am I doing wrong?

/.camplayer/config.ini

[DEVICE1]
channel1_name = Driveway
channel1.1_url = rtsp://USER:[email protected]/live

[SCREEN1]
layout = 1
window1 = device1,channel1

Output from camplayer --rebuild-cache

2021-11-19 11:21:12.274857 - 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://USER
2021-11-19 11:21:12.274857 - StreamInfo - ERROR --> :[email protected]/live', '-rtsp_transport', 'udp']' timed out after 10 seconds

NO LINK everytime, i dont know what to do..

Hey peoples,

I dont know what I can do now.. I do all the steps what you said but I still get NO LINK. Why?

My Settings:

[DEVICE1]
channel1_name = KAMERA 1
channel1.1_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmonitor?channel=1&subtype=0
channel1.2_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmonitor?channel=1&subtype=1

[DEVICE2]
channel2_name = KAMERA 2
channel2.1_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmontior?channel=2&subtype=0
channel2.2_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmontior?channel=2&subtype=1

[DEVICE3]
channel3_name = KAMERA 3
channel3.1_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmonitor?channel=3&subtype=0
channel3.2_url = rtsp://xxxx:xxxx@xxxx:554/cam/realmonitor?channel=3&subtype=1

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

[SCREEN1]
layout = 4
windows1 = device1,channel1
windows2 = device2,channel1
windows3 = device3,channel1
windows4 = device4,channel1

[ADVANCED]
buffertime = 1000
logleve = 1
hardwarecheck = 1
icons = 1

and after I start it with "camplayer" I got just this in the logs, and the window got 4 screens with each NO LINK.

pi@raspberrypi:~ $ camplayer
2021-06-25 13:58:34.116876 - Main - INFO - Starting camplayer version 1.0.0b5
2021-06-25 13:58:34.117023 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-06-25 13:58:35.890205 - Main - INFO - ********************** SYSTEM INFO **********************
2021-06-25 13:58:35.890790 - Main - INFO - Camplayer version             = 1.0.0b5
2021-06-25 13:58:35.891042 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux
2021-06-25 13:58:35.891298 - Main - INFO - Raspberry Pi SoC              = BCM2711
2021-06-25 13:58:35.891524 - Main - INFO - Raspberry Pi revision         = d03114
2021-06-25 13:58:35.891749 - Main - INFO - Raspberry Pi model name       = 4B 8GB
2021-06-25 13:58:35.891998 - Main - INFO - GPU memory allocation         = 256 MB
2021-06-25 13:58:35.892258 - Main - INFO - Python version                = 3.7.3 (default, Jan 22 2021, 20:04:44)  MB
2021-06-25 13:58:35.892504 - Main - INFO - VLC installed                 = False
2021-06-25 13:58:35.892732 - Main - INFO - pipng installed               = True
2021-06-25 13:58:35.892972 - Main - INFO - ffmpeg installed              = True
2021-06-25 13:58:35.893189 - Main - INFO - *********************************************************
2021-06-25 13:58:35.926096 - Main - INFO - Detected screen resolution for HDMI0 is '0x0@0Hz'
2021-06-25 13:58:35.952585 - Main - INFO - Using a virtual screen resolution of '1920x1080'
2021-06-25 13:58:35.964029 - 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'
2021-06-25 13:58:35.964612 - 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'
2021-06-25 13:58:35.964947 - 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'
2021-06-25 13:58:35.965260 - 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'
2021-06-25 13:58:35.965633 - Screen - INFO - init screen number '1' with a total weight of '0'
2021-06-25 13:58:35.965900 - ScreenManager - INFO - added screen number '1' to display '1' with layout '4' and displaytime '10'
2021-06-25 13:58:35.968599 - BackGroundManager - DEBUG - Loading pipng for display '1' with command '['pipng', '-b', '0', '-l', '-100', '-d', '2', '-h', '-i', '/home/pi/.camplayer/cache/nolink_2x2_1920_1080.png', '/home/pi/.cam
2021-06-25 13:58:35.968599 - BackGroundManager - DEBUG --> player/cache/nolink_1x1_1920_1080.png']'
2021-06-25 13:58:35.975928 - BackGroundManager - DEBUG - Loading pipng for display '0' with command '['pipng', '-b', '0', '-l', '1000', '-d', '2', '-i', '-x', '60', '-y', '60', '../resources/icons/icon_loading.png', '../resourc
2021-06-25 13:58:35.975928 - BackGroundManager - DEBUG --> es/icons/icon_paused.png', '../resources/icons/icon_control.png']'
2021-06-25 13:58:35.984939 - ScreenManager - DEBUG - starting all streams for screen '1' on display '1'
2021-06-25 13:58:35.985787 - BackGroundManager - DEBUG - setting background '/home/pi/.camplayer/cache/nolink_2x2_1920_1080.png' visible for display '0
2021-06-25 13:58:36.086786 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-06-25 13:58:36.087149 - ScreenManager - DEBUG - player watchdog
2021-06-25 13:58:36.086786 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-06-25 13:58:36.087149 - ScreenManager - DEBUG - player watchdog
2021-06-25 13:58:36.086786 - ScreenManager - DEBUG - stream/player health checking for display number '1'
2021-06-25 13:58:36.087149 - ScreenManager - DEBUG - player watchdog

WishLIst: Ability to display remotely through matrix rtsp

I have a QT security system that I would like to emulate on the Pi for rtsp cameras. Your project is really close. Just need a way to grab what would be shown on a monitor and redirect to a new rtsp stream over the internet. Possible? I'm happy to get involved with this. I don't know much Python but I know Java, html, Javascript. If you are interested, I'd say the first thing is to point me to where the video goes to the screen in your code.

don't get video rasp 4b

Hi,
I am working with raspberry pi 4b 8gb debian buster desktop
I tried to implement my 2 dahua video recorders but i don't get any video if i try the rtsp links in vlc it does work.

i have made my config.ini file like this
[DEVICE1]
channel1_name = Voorkant
channel1.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
channel1.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1

[DEVICE2]
channel2_name = Carport
channel2.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=0
channel2.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=1

[DEVICE3]
channel3_name = Achterkant
channel3.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=3&subtype=0
channel3.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=3&subtype=1

[DEVICE4]
channel4_name = Kot binnen
channel4.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
channel4.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1

[DEVICE5]
channel5_name = kot deur
channel5.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=0
channel5.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=1

[DEVICE6]
channel6_name = kot poort
channel6.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=3&subtype=0
channel6.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=3&subtype=1

[DEVICE7]
channel7_name = kot bolt
channel7.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=4&subtype=0
channel7.2_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=4&subtype=1

[SCREEN1]
layout = 7
window1 = device1,channel1
window2 = device2,channel1
window3 = device3,channel1
window4 = device4,channel1
window5 = device5,channel1
window6 = device6,channel1
window7 = device7,channel1

[ADVANCED]
buffertime = 1000
loglevel = 1
hardwarecheck = 1
icons = 1
enableaudio = 1
enablevideoosd = 1
audiovolume = 100

if i try this pi@raspberrypi:~ $ ffprobe -hide_banner rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
i get this as respond [rtsp @ 0x1be6a00] method DESCRIBE failed: 404 Not Found
rtsp://admin:[email protected]:554/cam/realmonitor?channel=1: Server returned 404 Not Found

what am i doing wrong?
ps: i am a nooby in this so please help.

this is what i get if i start camplayer
pi@raspberrypi:~ $ camplayer
2021-03-21 20:31:32.167003 - Main - INFO - Starting camplayer version 1.0.0.dev
2021-03-21 20:31:32.167161 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-03-21 20:31:33.926506 - Main - INFO - ********************** SYSTEM INFO **********************
2021-03-21 20:31:33.926865 - Main - INFO - Camplayer version = 1.0.0.dev
2021-03-21 20:31:33.926993 - Main - INFO - Operating system = Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
2021-03-21 20:31:33.927137 - Main - INFO - Raspberry Pi SoC = BCM2711
2021-03-21 20:31:33.927249 - Main - INFO - Raspberry Pi revision = d03114
2021-03-21 20:31:33.927370 - Main - INFO - Raspberry Pi model name = 4B 8GB
2021-03-21 20:31:33.927480 - Main - INFO - GPU memory allocation = 268 MB
2021-03-21 20:31:33.927603 - Main - INFO - Python version = 3.7.3 (default, Jul 25 2020, 13:03:44) MB
2021-03-21 20:31:33.927724 - Main - INFO - VLC installed = True
2021-03-21 20:31:33.927838 - Main - INFO - pipng installed = True
2021-03-21 20:31:33.927954 - Main - INFO - ffmpeg installed = True
2021-03-21 20:31:33.928063 - Main - INFO - *********************************************************
2021-03-21 20:31:33.929579 - Main - INFO - advanced setting overwritten for 'loglevel' is '1'
2021-03-21 20:31:33.929748 - Main - INFO - advanced setting overwritten for 'buffertime' is '1000'
2021-03-21 20:31:33.930888 - Main - INFO - advanced setting overwritten for 'enableaudio' is '1'
2021-03-21 20:31:33.931110 - Main - INFO - advanced setting overwritten for 'enablevideoosd' is '1'
2021-03-21 20:31:33.961429 - Main - INFO - Detected screen resolution for HDMI0 is '1024x600@60Hz'
2021-03-21 20:31:33.988369 - Main - INFO - Using a virtual screen resolution of '1024x600'
2021-03-21 20:31:34.000634 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0', resolution '1920x1080@0', codec 'hevc', calculated weight '0', valid url '1', has
2021-03-21 20:31:34.000634 - StreamInfo - INFO --> audio 'True', valid video 'windowed 0 fullscreen 1'
2021-03-21 20:31:34.004249 - StreamInfo - INFO - stream properties 'rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1', resolution '352x288@0', codec 'hevc', calculated weight '0', valid url '1', has au
2021-03-21 20:31:34.004249 - StreamInfo - INFO --> dio 'False', valid video 'windowed 0 fullscreen 1'
2021-03-21 20:31:34.006617 - Screen - INFO - init screen number '1' with a total weight of '0'
2021-03-21 20:31:34.006793 - ScreenManager - INFO - added screen number '1' to display '1' with layout '7' and displaytime '10'

Some reolink camera steams go down when connected to camplayer

Have 4 Reolink cameras streaming to camplayer on a raspberry pi 4 4GB. Two of the camera streams fail after being connected to camplayer and the cameras have to be reset. When the streams are disconnected from camplayer, they don't go down.

Using other IP camera streaming software does not recreate this issue.

Does not run on Rpi400

pi@raspberrypi:~ $ camplayer --demo
2021-02-21 16:39:56.375710 - Main - INFO - Starting camplayer version 1.0.0b3
2021-02-21 16:39:56.375851 - Main - INFO - Using config file '../examples/demo-config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-02-21 16:39:58.147605 - Main - INFO - ********************** SYSTEM INFO **********************
2021-02-21 16:39:58.147899 - Main - INFO - Camplayer version = 1.0.0b3
2021-02-21 16:39:58.147977 - Main - INFO - Operating system = Linux raspberrypi 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux
2021-02-21 16:39:58.148061 - Main - INFO - Raspberry Pi SoC = BCM2711
2021-02-21 16:39:58.148131 - Main - INFO - Raspberry Pi revision = c03130
2021-02-21 16:39:58.148192 - Main - INFO - Raspberry Pi model name =
2021-02-21 16:39:58.148263 - Main - INFO - GPU memory allocation = 76 MB
2021-02-21 16:39:58.148345 - Main - INFO - Python version = 3.7.3 (default, Jul 25 2020, 13:03:44) MB
2021-02-21 16:39:58.148420 - Main - INFO - VLC installed = True
2021-02-21 16:39:58.148488 - Main - INFO - pipng installed = False
2021-02-21 16:39:58.148548 - Main - INFO - ffmpeg installed = True
2021-02-21 16:39:58.148609 - Main - INFO - *********************************************************
Unsupported hardware with revision c03130 ...

demo show nothing

I followed all the instruction in README.md file but when i execute camplayer --demo, even if the console has no errors, i do not see anything.
What i'm missing?

Dual or second display

I'm trying to show a second stream on my second display, but I haven't got it to work so far. Even when I'm only using one screen, the line display = 2 does not have any effect. Is it even possible to have two displays active at the same time?
The hardware I'm using is a Raspberry Pi 4B 4GB

[DEVICE1]
channel1_name = optional OSD name
channel1.1_url = rtsp://admin:[email protected]:554/h264Preview_01_sub

[DEVICE2]
channel1_name = optional OSD name
channel1.1_url = rtsp://admin:[email protected]:554/h264Preview_01_sub

[SCREEN1]
layout = 1
display = 1
window1 = device1,channel1

[SCREEN2]
layout = 1
display = 2
window1 = device2,channel1

How to uninstall

Unable to get this to work.

first off, config.txt does not give me any info on how I should input the camera, other than a URL. what if I need other options like a login. No sample ini given.

Next how do I remove this application once its installed.

Also looks like no config to run in portrait mode.

Thank you

NVR Stream NO video Issue

I have am facing a small issue when I try to use rtsp stream from Hikvision NVR there is no video output below is the url I am using

channel1.1_url = rtsp://user:[email protected]/ISAPI/Streaming/Channels/402 (main stream)
channel1.2_url = rtsp://user:[email protected]:554/Streaming/Channels/402 (sub stream)
The above two URL there is no video

But all the other streams directly from the cameras are working , below are the url used for cameras and which is working with no issue

[DEVICE3]
channel1_name = optional OSD name
channel1.1_url = rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1 (main stream)

channel1.2_url = rtsp://admin:[email protected]:554/Streaming/Channels/2

can you please kindly help me on this

Config Menu

How do I get back from camplayer to the configuration menu?

Yes, I've tried pressing 'Q'.

I'm using the OS version.

Sorry for the dumb question, I'm realy new to this.

And it's an awesome project.

Can't play "some" RTSP streams

Hi

I am using camplayer on raspbian lite. These are my configs:

[DEVICE1]
channel1_name = 1
channel1.1_url = rtsp://192.168.1.11:10554/tcp/av0_1
channel1.2_url = rtsp://192.168.1.11:10554/tcp/av0_1

[DEVICE2]
channel1_name = 2
channel1.1_url = rtsp://192.168.1.15:10554/tcp/av0_1
channel1.2_url = rtsp://192.168.1.15:10554/tcp/av0_1

[DEVICE3]
channel1_name = 3
channel1.1_url = rtsp://192.168.1.13:10554/tcp/av0_1
channel1.2_url = rtsp://192.168.1.13:10554/tcp/av0_1

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

[ADVANCED]
showtime = 0
screenwidth = 640
screenheight = 480
enablehevc = 0
streamquality = 0
loglevel = 0

and on starting camplayer I get:

2021-08-16 09:24:29.587320 - Main - INFO - Starting camplayer version 1.0.0b5
2021-08-16 09:24:29.587539 - Main - INFO - Using config file '/home/pi/.camplayer/config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-08-16 09:24:31.365863 - Main - INFO - ********************** SYSTEM INFO **********************
2021-08-16 09:24:31.366296 - Main - INFO - Camplayer version             = 1.0.0b5
2021-08-16 09:24:31.366487 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l GNU/Linux
2021-08-16 09:24:31.366738 - Main - INFO - Raspberry Pi SoC              = BCM2835
2021-08-16 09:24:31.366862 - Main - INFO - Raspberry Pi revision         = a02082
2021-08-16 09:24:31.366988 - Main - INFO - Raspberry Pi model name       = 3B
2021-08-16 09:24:31.367117 - Main - INFO - GPU memory allocation         = 256 MB
2021-08-16 09:24:31.367262 - Main - INFO - Python version                = 3.7.3 (default, Jan 22 2021, 20:04:44)  MB
2021-08-16 09:24:31.367402 - Main - INFO - VLC installed                 = False
2021-08-16 09:24:31.367529 - Main - INFO - pipng installed               = True
2021-08-16 09:24:31.367649 - Main - INFO - ffmpeg installed              = True
2021-08-16 09:24:31.367760 - Main - INFO - *********************************************************
2021-08-16 09:24:31.369543 - Main - INFO - advanced setting overwritten for 'screenwidth' is '640'
2021-08-16 09:24:31.370278 - Main - INFO - advanced setting overwritten for 'screenheight' is '480'
2021-08-16 09:24:31.372405 - Main - INFO - advanced setting overwritten for 'showtime' is '0'
2021-08-16 09:24:31.372709 - Main - INFO - advanced setting overwritten for 'streamquality' is '0'
2021-08-16 09:24:31.373034 - Main - INFO - advanced setting overwritten for 'enablehevc' is '0'
2021-08-16 09:24:31.373883 - Main - INFO - Using a virtual screen resolution of '640x480'
2021-08-16 09:24:31.384710 - Window - DEBUG - init window with position '0 0 320 240', gridindex '[0, 1, 4, 5]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W01'
2021-08-16 09:24:31.385346 - Window - DEBUG - init window with position '320 0 640 240', gridindex '[2, 3, 6, 7]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W02'
2021-08-16 09:24:31.385795 - Window - DEBUG - init window with position '0 240 320 480', gridindex '[8, 9, 12, 13]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W03'
2021-08-16 09:24:31.386256 - Window - DEBUG - init window with position '320 240 640 480', gridindex '[10, 11, 14, 15]', omxplayer dbus name 'org.mpris.MediaPlayer2.omxplayer_D01_S01_W04'
2021-08-16 09:24:44.999542 - 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://192.168.
2021-08-16 09:24:44.999542 - StreamInfo - ERROR --> 1.11:10554/tcp/av0_1', '-rtsp_transport', 'udp']' timed out after 10 seconds
2021-08-16 09:24:45.000632 - StreamInfo - INFO - stream properties 'rtsp://192.168.1.11:10554/tcp/av0_1', resolution '0x0@0', codec '', calculated weight '0', valid url '1', has audio 'False', valid video 'windowed 0 fu
2021-08-16 09:24:45.000632 - StreamInfo - INFO --> llscreen 0', force UDP 'False'
2021-08-16 09:24:45.000952 - StreamInfo - INFO - RUN 'camplayer --rebuild-cache' IF THIS STREAM INFORMATION IS OUT OF DATE!!

I can get these streams working on VLC on a Windows machine.

No matter what, it tries every 10 seconds and then 'NO LINK'. My thinking is that it tries to start the stream using "RTSP over UDP" instead of "RTSP" as in the camplayer OS. I can see a hint of it in the second error line ('udp'). Could be it only an argument to the player?

Still image as as view

Hey guys, in the moment i have only three cameras to show in a 2x2 grid. Is it possible to show any still image (either jpg, png or whatever) in the fourth area?

Greets from Germany!

PI Revision Codes

Hi - great project this.

The Pi revision codes needs updating, I've just got this working on - b03114 | 4B | 1.4 | 2GB | Sony UK

Cheers, Rich.

[Question] Support a Compute Module 4

Hi,
I tried the camplayer with reTerminal.
There are displayed "Unsupported hardware with revision a03140 ...".

Do you have the plan to support a Compute Module 4?

pi@raspberrypi:~ $ camplayer --demo
Creating config folder '/home/pi/.camplayer/'
2021-05-17 18:28:14.941916 - Main - INFO - Starting camplayer version 1.0.0b5
2021-05-17 18:28:14.942053 - Main - INFO - Using config file '../examples/demo-config.ini' and cache directory '/home/pi/.camplayer/cache/'
2021-05-17 18:28:16.647491 - Main - INFO - ********************** SYSTEM INFO **********************
2021-05-17 18:28:16.647765 - Main - INFO - Camplayer version             = 1.0.0b5
2021-05-17 18:28:16.647863 - Main - INFO - Operating system              = Linux raspberrypi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux
2021-05-17 18:28:16.648019 - Main - INFO - Raspberry Pi SoC              = BCM2711
2021-05-17 18:28:16.648115 - Main - INFO - Raspberry Pi revision         = a03140
2021-05-17 18:28:16.648204 - Main - INFO - Raspberry Pi model name       =
2021-05-17 18:28:16.648294 - Main - INFO - GPU memory allocation         = 256 MB
2021-05-17 18:28:16.648394 - Main - INFO - Python version                = 3.7.3 (default, Jul 25 2020, 13:03:44)  MB
2021-05-17 18:28:16.648488 - Main - INFO - VLC installed                 = True
2021-05-17 18:28:16.648570 - Main - INFO - pipng installed               = True
2021-05-17 18:28:16.648654 - Main - INFO - ffmpeg installed              = True
2021-05-17 18:28:16.648733 - Main - INFO - *********************************************************
Unsupported hardware with revision a03140 ...
pi@raspberrypi:~ $

FYI
reTerminal included Compute Module 4 and DSI display.

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.