• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

Scheduled Pinned Locked Moved Utilities
602 Posts 67 Posters 1.6m Views 68 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    bill22
    last edited by Jul 13, 2019, 5:56 PM

    @evroom

    pi@raspberrypi:~ $ pm2 status
    ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
    │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
    ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
    │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 2m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
    │ omx_stream1 │ 0  │ N/A     │ fork │ 5123 │ online │ 71      │ 1s     │ 0%  │ 2.6 MB   │ pi   │ disabled │
    └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
     Use `pm2 show <id|name>` to get more details about an app
    pi@raspberrypi:~ $ pm2 status
    ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
    │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
    ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
    │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 4m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
    │ omx_stream1 │ 0  │ N/A     │ fork │ 7749 │ online │ 141     │ 1s     │ 0%  │ 2.5 MB   │ pi   │ disabled │
    └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
     Use `pm2 show <id|name>` to get more details about an app
    pi@raspberrypi:~ $ pm2 status
    ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
    │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
    ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
    │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 4m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
    │ omx_stream1 │ 0  │ N/A     │ fork │ 7831 │ online │ 143     │ 1s     │ 0%  │ 2.5 MB   │ pi   │ disabled │
    └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
    
    pi@raspberrypi:~ $ pstree -ap `pgrep omxplayer | head -1`; pstree -ap `pm2 status | grep omx_stream1 | awk '{print $10}'`
    systemd,1 splash
      ├─PM2 v3.5.1: God,781      
      │   ├─bash,2976 /home/pi/mm.sh
      │   │   └─npm,2977                    
      │   │       ├─sh,2991 -c sh run-start.sh
      │   │       │   └─sh,2992 run-start.sh
      │   │       │       └─node,2993 /home/pi/MagicMirror/node_modules/.bin/electron js/electron.js
      │   │       │           ├─electron,3000
      │   │       │           │   ├─electron,3002
      │   │       │           │   │   └─electron,3039
      │   │       │           │   │       ├─{Chrome_ChildIOT},3045
      │   │       │           │   │       ├─{CompositorTileW},3049
      │   │       │           │   │       ├─{CompositorTileW},3050
      │   │       │           │   │       ├─{CompositorTileW},3051
      │   │       │           │   │       ├─{Compositor},3048
      │   │       │           │   │       ├─{File thread},3047
      │   │       │           │   │       ├─{GpuMemoryThread},3046
      │   │       │           │   │       ├─{ScriptStreamer },3071
      │   │       │           │   │       ├─{TaskSchedulerBa},3041
      │   │       │           │   │       ├─{TaskSchedulerBa},3042
      │   │       │           │   │       ├─{TaskSchedulerFo},3043
      │   │       │           │   │       ├─{TaskSchedulerFo},3044
      │   │       │           │   │       ├─{TaskSchedulerFo},7868
      │   │       │           │   │       ├─{TaskSchedulerSe},3040
      │   │       │           │   │       └─{electron},3065
      │   │       │           │   ├─electron,3036
      │   │       │           │   │   ├─{Chrome_ChildIOT},3063
      │   │       │           │   │   ├─{TaskSchedulerBa},3059
      │   │       │           │   │   ├─{TaskSchedulerBa},3060
      │   │       │           │   │   ├─{TaskSchedulerFo},3061
      │   │       │           │   │   ├─{TaskSchedulerFo},3062
      │   │       │           │   │   ├─{TaskSchedulerSe},3058
      │   │       │           │   │   ├─{Watchdog},3057
      │   │       │           │   │   ├─{llvmpipe-0},3053
      │   │       │           │   │   ├─{llvmpipe-1},3054
      │   │       │           │   │   ├─{llvmpipe-2},3055
      │   │       │           │   │   └─{llvmpipe-3},3056
      │   │       │           │   ├─{AudioThread},3033
      │   │       │           │   ├─{CacheThread_Blo},3038
      │   │       │           │   ├─{Chrome_IOThread},3017
      │   │       │           │   ├─{CompositorTileW},3032
      │   │       │           │   ├─{CrShutdownDetec},3021
      │   │       │           │   ├─{D-Bus thread},3019
      │   │       │           │   ├─{NetworkChangeNo},3018
      │   │       │           │   ├─{TaskSchedulerBa},3023
      │   │       │           │   ├─{TaskSchedulerBa},3024
      │   │       │           │   ├─{TaskSchedulerFo},3025
      │   │       │           │   ├─{TaskSchedulerFo},3067
      │   │       │           │   ├─{TaskSchedulerFo},8081
      │   │       │           │   ├─{TaskSchedulerSe},3022
      │   │       │           │   ├─{TaskSchedulerSi},3030
      │   │       │           │   ├─{TaskSchedulerSi},3031
      │   │       │           │   ├─{TaskSchedulerSi},3073
      │   │       │           │   ├─{electron},3008
      │   │       │           │   ├─{electron},3009
      │   │       │           │   ├─{electron},3010
      │   │       │           │   ├─{electron},3011
      │   │       │           │   ├─{electron},3013
      │   │       │           │   ├─{electron},3014
      │   │       │           │   ├─{electron},3015
      │   │       │           │   ├─{electron},3016
      │   │       │           │   ├─{electron},3034
      │   │       │           │   ├─{gdbus},3007
      │   │       │           │   ├─{gmain},3006
      │   │       │           │   ├─{inotify_reader},3020
      │   │       │           │   └─{sandbox_ipc_thr},3001
      │   │       │           ├─{node},2994
      │   │       │           ├─{node},2995
      │   │       │           ├─{node},2996
      │   │       │           ├─{node},2997
      │   │       │           ├─{node},2998
      │   │       │           └─{node},2999
      │   │       ├─{node},2978
      │   │       ├─{node},2979
      │   │       ├─{node},2980
      │   │       ├─{node},2981
      │   │       ├─{node},2982
      │   │       ├─{node},2983
      │   │       ├─{npm},2986
      │   │       ├─{npm},2987
      │   │       ├─{npm},2988
      │   │       └─{npm},2989
      │   ├─bash,8279 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
      │   ├─{PM2 v3.5.1: God},916
      │   ├─{PM2 v3.5.1: God},917
      │   ├─{PM2 v3.5.1: God},918
      │   ├─{PM2 v3.5.1: God},919
      │   ├─{node},784
      │   ├─{node},785
      │   ├─{node},786
      │   ├─{node},787
      │   ├─{node},788
      │   └─{node},789
      ├─agetty,502 --noclear tty1 linux
      ├─avahi-daemon,364
      │   └─avahi-daemon,386
      ├─bluealsa,607
      │   ├─{bactl},633
      │   ├─{gdbus},635
      │   └─{gmain},634
      ├─bluetoothd,558
      ├─cron,358 -f
      ├─dbus-daemon,365 --system --address=systemd: --nofork --nopidfile --systemd-activation
      ├─dbus-daemon,968 --fork --print-address 5 --print-pid 6 --session
      ├─dhcpcd,413 -q -b
      ├─hciattach,539 /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:fc:c6:fc
      ├─lightdm,449
      │   ├─Xorg,511 :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
      │   │   ├─{InputThread},653
      │   │   ├─{llvmpipe-0},645
      │   │   ├─{llvmpipe-1},646
      │   │   ├─{llvmpipe-2},647
      │   │   └─{llvmpipe-3},648
      │   ├─lightdm,656 --session-child 14 17
      │   │   ├─lxsession,672 -s LXDE-pi -e LXDE
      │   │   │   ├─lxpanel,817 --profile LXDE-pi
      │   │   │   │   ├─chromium-browse,1784
      │   │   │   │   │   ├─chromium-browse,1805
      │   │   │   │   │   │   └─chromium-browse,1808
      │   │   │   │   │   │       ├─chromium-browse,1967
      │   │   │   │   │   │       │   ├─{Chrome_ChildIOT},1980
      │   │   │   │   │   │       │   ├─{CompositorTileW},2029
      │   │   │   │   │   │       │   ├─{CompositorTileW},2030
      │   │   │   │   │   │       │   ├─{CompositorTileW},2031
      │   │   │   │   │   │       │   ├─{Compositor},2024
      │   │   │   │   │   │       │   ├─{Font_Proxy_Thre},1984
      │   │   │   │   │   │       │   ├─{GpuMemoryThread},1983
      │   │   │   │   │   │       │   ├─{TaskSchedulerFo},1979
      │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2830
      │   │   │   │   │   │       │   └─{TaskSchedulerSe},1976
      │   │   │   │   │   │       └─chromium-browse,2050
      │   │   │   │   │   │           ├─{Chrome_ChildIOT},2054
      │   │   │   │   │   │           ├─{CompositorTileW},2058
      │   │   │   │   │   │           ├─{CompositorTileW},2059
      │   │   │   │   │   │           ├─{CompositorTileW},2060
      │   │   │   │   │   │           ├─{Compositor},2057
      │   │   │   │   │   │           ├─{Font_Proxy_Thre},2056
      │   │   │   │   │   │           ├─{GpuMemoryThread},2055
      │   │   │   │   │   │           ├─{Media},2463
      │   │   │   │   │   │           ├─{MemoryInfra},2104
      │   │   │   │   │   │           ├─{ScriptStreamer },2088
      │   │   │   │   │   │           ├─{TaskSchedulerFo},2053
      │   │   │   │   │   │           ├─{TaskSchedulerFo},2958
      │   │   │   │   │   │           ├─{TaskSchedulerFo},6650
      │   │   │   │   │   │           ├─{TaskSchedulerFo},7786
      │   │   │   │   │   │           └─{TaskSchedulerSe},2051
      │   │   │   │   │   ├─chromium-browse,1837
      │   │   │   │   │   │   ├─{Chrome_ChildIOT},1899
      │   │   │   │   │   │   ├─{TaskSchedulerFo},1897
      │   │   │   │   │   │   ├─{TaskSchedulerFo},1898
      │   │   │   │   │   │   ├─{TaskSchedulerSe},1896
      │   │   │   │   │   │   ├─{Watchdog},1895
      │   │   │   │   │   │   ├─{llvmpipe-0},1890
      │   │   │   │   │   │   ├─{llvmpipe-1},1891
      │   │   │   │   │   │   ├─{llvmpipe-2},1892
      │   │   │   │   │   │   └─{llvmpipe-3},1893
      │   │   │   │   │   ├─{AudioThread},1831
      │   │   │   │   │   ├─{Bluez D-Bus thr},1822
      │   │   │   │   │   ├─{BrowserWatchdog},1838
      │   │   │   │   │   ├─{CacheThread_Blo},1834
      │   │   │   │   │   ├─{Chrome_HistoryT},1889
      │   │   │   │   │   ├─{Chrome_IOThread},1815
      │   │   │   │   │   ├─{CompositorTileW},1830
      │   │   │   │   │   ├─{CrShutdownDetec},1823
      │   │   │   │   │   ├─{LevelDBEnv},2146
      │   │   │   │   │   ├─{NetworkChangeNo},1821
      │   │   │   │   │   ├─{TaskSchedulerFo},2044
      │   │   │   │   │   ├─{TaskSchedulerFo},2671
      │   │   │   │   │   ├─{TaskSchedulerFo},2832
      │   │   │   │   │   ├─{TaskSchedulerFo},7990
      │   │   │   │   │   ├─{TaskSchedulerSe},1810
      │   │   │   │   │   ├─{TaskSchedulerSi},1833
      │   │   │   │   │   ├─{TaskSchedulerSi},1835
      │   │   │   │   │   ├─{TaskSchedulerSi},1888
      │   │   │   │   │   ├─{TaskSchedulerSi},1894
      │   │   │   │   │   ├─{chromium-browse},1809
      │   │   │   │   │   ├─{extension_crash},1966
      │   │   │   │   │   ├─{gdbus},1820
      │   │   │   │   │   ├─{gmain},1819
      │   │   │   │   │   ├─{gpu-process_cra},1836
      │   │   │   │   │   ├─{inotify_reader},1814
      │   │   │   │   │   ├─{renderer_crash_},1904
      │   │   │   │   │   └─{sandbox_ipc_thr},1803
      │   │   │   │   ├─lxterminal,2945
      │   │   │   │   │   ├─bash,2947
      │   │   │   │   │   │   └─pstree,8300 -ap
      │   │   │   │   │   ├─gnome-pty-helpe,2946
      │   │   │   │   │   ├─{gdbus},2955
      │   │   │   │   │   └─{gmain},2948
      │   │   │   │   ├─oosplash,2160 --writer
      │   │   │   │   │   ├─soffice.bin,2178 --writer --splash-pipe=5
      │   │   │   │   │   │   ├─{PipeIPC},2188
      │   │   │   │   │   │   ├─{SelectionManage},2193
      │   │   │   │   │   │   ├─{gdbus},2191
      │   │   │   │   │   │   ├─{gmain},2190
      │   │   │   │   │   │   ├─{rtl_cache_wsupd},2182
      │   │   │   │   │   │   ├─{soffice.bin},2197
      │   │   │   │   │   │   ├─{soffice.bin},2198
      │   │   │   │   │   │   ├─{soffice.bin},2199
      │   │   │   │   │   │   ├─{soffice.bin},2200
      │   │   │   │   │   │   ├─{soffice.bin},2201
      │   │   │   │   │   │   ├─{soffice.bin},2202
      │   │   │   │   │   │   ├─{soffice.bin},2203
      │   │   │   │   │   │   └─{soffice.bin},2204
      │   │   │   │   │   ├─{osl_executeProc},2177
      │   │   │   │   │   └─{rtl_cache_wsupd},2172
      │   │   │   │   ├─(sh,864)
      │   │   │   │   ├─{gdbus},844
      │   │   │   │   ├─{gmain},843
      │   │   │   │   └─{menu-cache-io},921
      │   │   │   ├─lxpolkit,809
      │   │   │   │   ├─{gdbus},832
      │   │   │   │   └─{gmain},831
      │   │   │   ├─openbox,807 --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
      │   │   │   ├─pcmanfm,820 --desktop --profile LXDE-pi
      │   │   │   │   ├─leafpad,1770 /home/pi/omxplayer.log
      │   │   │   │   │   ├─{gdbus},1772
      │   │   │   │   │   └─{gmain},1771
      │   │   │   │   ├─leafpad,2133 /home/pi/.npm/_logs/2019-07-11T21_30_10_606Z-debug.log
      │   │   │   │   │   ├─{gdbus},2135
      │   │   │   │   │   └─{gmain},2134
      │   │   │   │   ├─{gdbus},846
      │   │   │   │   └─{gmain},845
      │   │   │   ├─ssh-agent,778 x-session-manager
      │   │   │   ├─{gdbus},791
      │   │   │   └─{gmain},790
      │   │   ├─{gdbus},660
      │   │   └─{gmain},659
      │   ├─{gdbus},453
      │   └─{gmain},451
      ├─menu-cached,853 /run/user/1000/menu-cached-:0
      │   ├─{gdbus},856
      │   └─{gmain},855
      ├─polkitd,835 --no-debug
      │   ├─{gdbus},840
      │   └─{gmain},838
      ├─rngd,409 -r /dev/hwrng
      │   ├─{rngd},410
      │   ├─{rngd},411
      │   └─{rngd},412
      ├─rsyslogd,359 -n
      │   ├─{in:imklog},389
      │   ├─{in:imuxsock},388
      │   └─{rs:main Q:Reg},390
      ├─ssh-agent,830 -s
      ├─systemd,664 --user
      │   ├─(sd-pam),667         
      │   ├─dbus-daemon,681 --session --address=systemd: --nofork --nopidfile --systemd-activation
      │   ├─gvfs-afc-volume,888
      │   │   ├─{gdbus},892
      │   │   ├─{gmain},890
      │   │   └─{gvfs-afc-volume},889
      │   ├─gvfs-goa-volume,880
      │   │   ├─{gdbus},882
      │   │   └─{gmain},881
      │   ├─gvfs-gphoto2-vo,876
      │   │   ├─{gdbus},879
      │   │   └─{gmain},877
      │   ├─gvfs-mtp-volume,884
      │   │   ├─{gdbus},887
      │   │   └─{gmain},885
      │   ├─gvfs-udisks2-vo,857
      │   │   ├─{gdbus},863
      │   │   └─{gmain},862
      │   ├─gvfsd,792
      │   │   ├─{gdbus},794
      │   │   └─{gmain},793
      │   ├─gvfsd-fuse,797 /run/user/1000/gvfs -f -o big_writes
      │   │   ├─{gdbus},814
      │   │   ├─{gmain},813
      │   │   ├─{gvfs-fuse-sub},821
      │   │   ├─{gvfsd-fuse},811
      │   │   └─{gvfsd-fuse},812
      │   └─gvfsd-trash,930 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
      │       ├─{gdbus},933
      │       └─{gmain},932
      ├─systemd-journal,103
      ├─systemd-logind,361
      ├─systemd-timesyn,324
      │   └─{sd-resolve},360
      ├─systemd-udevd,137
      ├─thd,395 --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
      ├─udisksd,869 --no-debug
      │   ├─{cleanup},874
      │   ├─{gdbus},872
      │   ├─{gmain},870
      │   └─{probing-thread},873
      ├─wpa_supplicant,400 -u -s -O /run/wpa_supplicant
      └─wpa_supplicant,457 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
    bash,8330 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
      └─bash,8340 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
          └─node,8341 /home/pi/MagicMirror/node_modules/.bin/which xset
              ├─{node},8342
              ├─{node},8343
              ├─{node},8344
              ├─{node},8345
              ├─{node},8346
              └─{node},8347
    
    
    
    pi@raspberrypi:~ $ pstree -ap `pgrep omxplayer | head -1`; pstree -ap `pm2 status | grep omx_stream1 | awk '{print $10}'`
    systemd,1 splash
      ├─PM2 v3.5.1: God,781      
      │   ├─bash,2976 /home/pi/mm.sh
      │   │   └─npm,2977                    
      │   │       ├─sh,2991 -c sh run-start.sh
      │   │       │   └─sh,2992 run-start.sh
      │   │       │       └─node,2993 /home/pi/MagicMirror/node_modules/.bin/electron js/electron.js
      │   │       │           ├─electron,3000
      │   │       │           │   ├─electron,3002
      │   │       │           │   │   └─electron,3039
      │   │       │           │   │       ├─{Chrome_ChildIOT},3045
      │   │       │           │   │       ├─{CompositorTileW},3049
      │   │       │           │   │       ├─{CompositorTileW},3050
      │   │       │           │   │       ├─{CompositorTileW},3051
      │   │       │           │   │       ├─{Compositor},3048
      │   │       │           │   │       ├─{File thread},3047
      │   │       │           │   │       ├─{GpuMemoryThread},3046
      │   │       │           │   │       ├─{ScriptStreamer },3071
      │   │       │           │   │       ├─{TaskSchedulerBa},3041
      │   │       │           │   │       ├─{TaskSchedulerBa},3042
      │   │       │           │   │       ├─{TaskSchedulerFo},3044
      │   │       │           │   │       ├─{TaskSchedulerFo},8553
      │   │       │           │   │       ├─{TaskSchedulerSe},3040
      │   │       │           │   │       └─{electron},3065
      │   │       │           │   ├─electron,3036
      │   │       │           │   │   ├─{Chrome_ChildIOT},3063
      │   │       │           │   │   ├─{TaskSchedulerBa},3059
      │   │       │           │   │   ├─{TaskSchedulerBa},3060
      │   │       │           │   │   ├─{TaskSchedulerFo},3061
      │   │       │           │   │   ├─{TaskSchedulerFo},3062
      │   │       │           │   │   ├─{TaskSchedulerSe},3058
      │   │       │           │   │   ├─{Watchdog},3057
      │   │       │           │   │   ├─{llvmpipe-0},3053
      │   │       │           │   │   ├─{llvmpipe-1},3054
      │   │       │           │   │   ├─{llvmpipe-2},3055
      │   │       │           │   │   └─{llvmpipe-3},3056
      │   │       │           │   ├─{AudioThread},3033
      │   │       │           │   ├─{CacheThread_Blo},3038
      │   │       │           │   ├─{Chrome_IOThread},3017
      │   │       │           │   ├─{CompositorTileW},3032
      │   │       │           │   ├─{CrShutdownDetec},3021
      │   │       │           │   ├─{D-Bus thread},3019
      │   │       │           │   ├─{NetworkChangeNo},3018
      │   │       │           │   ├─{TaskSchedulerBa},3023
      │   │       │           │   ├─{TaskSchedulerBa},3024
      │   │       │           │   ├─{TaskSchedulerFo},3025
      │   │       │           │   ├─{TaskSchedulerFo},3067
      │   │       │           │   ├─{TaskSchedulerSe},3022
      │   │       │           │   ├─{TaskSchedulerSi},3030
      │   │       │           │   ├─{TaskSchedulerSi},3031
      │   │       │           │   ├─{TaskSchedulerSi},3073
      │   │       │           │   ├─{electron},3008
      │   │       │           │   ├─{electron},3009
      │   │       │           │   ├─{electron},3010
      │   │       │           │   ├─{electron},3011
      │   │       │           │   ├─{electron},3013
      │   │       │           │   ├─{electron},3014
      │   │       │           │   ├─{electron},3015
      │   │       │           │   ├─{electron},3016
      │   │       │           │   ├─{electron},3034
      │   │       │           │   ├─{gdbus},3007
      │   │       │           │   ├─{gmain},3006
      │   │       │           │   ├─{inotify_reader},3020
      │   │       │           │   └─{sandbox_ipc_thr},3001
      │   │       │           ├─{node},2994
      │   │       │           ├─{node},2995
      │   │       │           ├─{node},2996
      │   │       │           ├─{node},2997
      │   │       │           ├─{node},2998
      │   │       │           └─{node},2999
      │   │       ├─{node},2978
      │   │       ├─{node},2979
      │   │       ├─{node},2980
      │   │       ├─{node},2981
      │   │       ├─{node},2982
      │   │       ├─{node},2983
      │   │       ├─{npm},2986
      │   │       ├─{npm},2987
      │   │       ├─{npm},2988
      │   │       └─{npm},2989
      │   ├─bash,10219 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
      │   │   └─bash,10221 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
      │   │       └─node,10222 /home/pi/MagicMirror/node_modules/.bin/which fbset
      │   │           ├─{node},10223
      │   │           ├─{node},10224
      │   │           ├─{node},10225
      │   │           ├─{node},10226
      │   │           ├─{node},10227
      │   │           └─{node},10231
      │   ├─{PM2 v3.5.1: God},916
      │   ├─{PM2 v3.5.1: God},917
      │   ├─{PM2 v3.5.1: God},918
      │   ├─{PM2 v3.5.1: God},919
      │   ├─{node},784
      │   ├─{node},785
      │   ├─{node},786
      │   ├─{node},787
      │   ├─{node},788
      │   └─{node},789
      ├─agetty,502 --noclear tty1 linux
      ├─avahi-daemon,364
      │   └─avahi-daemon,386
      ├─bluealsa,607
      │   ├─{bactl},633
      │   ├─{gdbus},635
      │   └─{gmain},634
      ├─bluetoothd,558
      ├─cron,358 -f
      ├─dbus-daemon,365 --system --address=systemd: --nofork --nopidfile --systemd-activation
      ├─dbus-daemon,968 --fork --print-address 5 --print-pid 6 --session
      ├─dhcpcd,413 -q -b
      ├─hciattach,539 /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:fc:c6:fc
      ├─lightdm,449
      │   ├─Xorg,511 :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
      │   │   ├─{InputThread},653
      │   │   ├─{llvmpipe-0},645
      │   │   ├─{llvmpipe-1},646
      │   │   ├─{llvmpipe-2},647
      │   │   └─{llvmpipe-3},648
      │   ├─lightdm,656 --session-child 14 17
      │   │   ├─lxsession,672 -s LXDE-pi -e LXDE
      │   │   │   ├─lxpanel,817 --profile LXDE-pi
      │   │   │   │   ├─chromium-browse,1784
      │   │   │   │   │   ├─chromium-browse,1805
      │   │   │   │   │   │   └─chromium-browse,1808
      │   │   │   │   │   │       ├─chromium-browse,1967
      │   │   │   │   │   │       │   ├─{Chrome_ChildIOT},1980
      │   │   │   │   │   │       │   ├─{CompositorTileW},2029
      │   │   │   │   │   │       │   ├─{CompositorTileW},2030
      │   │   │   │   │   │       │   ├─{CompositorTileW},2031
      │   │   │   │   │   │       │   ├─{Compositor},2024
      │   │   │   │   │   │       │   ├─{Font_Proxy_Thre},1984
      │   │   │   │   │   │       │   ├─{GpuMemoryThread},1983
      │   │   │   │   │   │       │   ├─{TaskSchedulerFo},1979
      │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2830
      │   │   │   │   │   │       │   └─{TaskSchedulerSe},1976
      │   │   │   │   │   │       └─chromium-browse,2050
      │   │   │   │   │   │           ├─{Chrome_ChildIOT},2054
      │   │   │   │   │   │           ├─{CompositorTileW},2058
      │   │   │   │   │   │           ├─{CompositorTileW},2059
      │   │   │   │   │   │           ├─{CompositorTileW},2060
      │   │   │   │   │   │           ├─{Compositor},2057
      │   │   │   │   │   │           ├─{Font_Proxy_Thre},2056
      │   │   │   │   │   │           ├─{GpuMemoryThread},2055
      │   │   │   │   │   │           ├─{Media},2463
      │   │   │   │   │   │           ├─{MemoryInfra},2104
      │   │   │   │   │   │           ├─{ScriptStreamer },2088
      │   │   │   │   │   │           ├─{TaskSchedulerFo},2053
      │   │   │   │   │   │           ├─{TaskSchedulerFo},2958
      │   │   │   │   │   │           ├─{TaskSchedulerFo},6650
      │   │   │   │   │   │           └─{TaskSchedulerSe},2051
      │   │   │   │   │   ├─chromium-browse,1837
      │   │   │   │   │   │   ├─{Chrome_ChildIOT},1899
      │   │   │   │   │   │   ├─{TaskSchedulerFo},1897
      │   │   │   │   │   │   ├─{TaskSchedulerFo},1898
      │   │   │   │   │   │   ├─{TaskSchedulerSe},1896
      │   │   │   │   │   │   ├─{Watchdog},1895
      │   │   │   │   │   │   ├─{llvmpipe-0},1890
      │   │   │   │   │   │   ├─{llvmpipe-1},1891
      │   │   │   │   │   │   ├─{llvmpipe-2},1892
      │   │   │   │   │   │   └─{llvmpipe-3},1893
      │   │   │   │   │   ├─{AudioThread},1831
      │   │   │   │   │   ├─{Bluez D-Bus thr},1822
      │   │   │   │   │   ├─{BrowserWatchdog},1838
      │   │   │   │   │   ├─{CacheThread_Blo},1834
      │   │   │   │   │   ├─{Chrome_HistoryT},1889
      │   │   │   │   │   ├─{Chrome_IOThread},1815
      │   │   │   │   │   ├─{CompositorTileW},1830
      │   │   │   │   │   ├─{CrShutdownDetec},1823
      │   │   │   │   │   ├─{LevelDBEnv},2146
      │   │   │   │   │   ├─{NetworkChangeNo},1821
      │   │   │   │   │   ├─{TaskSchedulerFo},2044
      │   │   │   │   │   ├─{TaskSchedulerFo},2671
      │   │   │   │   │   ├─{TaskSchedulerFo},2832
      │   │   │   │   │   ├─{TaskSchedulerSe},1810
      │   │   │   │   │   ├─{TaskSchedulerSi},1833
      │   │   │   │   │   ├─{TaskSchedulerSi},1835
      │   │   │   │   │   ├─{TaskSchedulerSi},1888
      │   │   │   │   │   ├─{TaskSchedulerSi},1894
      │   │   │   │   │   ├─{chromium-browse},1809
      │   │   │   │   │   ├─{extension_crash},1966
      │   │   │   │   │   ├─{gdbus},1820
      │   │   │   │   │   ├─{gmain},1819
      │   │   │   │   │   ├─{gpu-process_cra},1836
      │   │   │   │   │   ├─{inotify_reader},1814
      │   │   │   │   │   ├─{renderer_crash_},1904
      │   │   │   │   │   └─{sandbox_ipc_thr},1803
      │   │   │   │   ├─lxterminal,2945
      │   │   │   │   │   ├─bash,2947
      │   │   │   │   │   │   └─pstree,10232 -ap
      │   │   │   │   │   ├─gnome-pty-helpe,2946
      │   │   │   │   │   ├─{gdbus},2955
      │   │   │   │   │   └─{gmain},2948
      │   │   │   │   ├─oosplash,2160 --writer
      │   │   │   │   │   ├─soffice.bin,2178 --writer --splash-pipe=5
      │   │   │   │   │   │   ├─{PipeIPC},2188
      │   │   │   │   │   │   ├─{SelectionManage},2193
      │   │   │   │   │   │   ├─{gdbus},2191
      │   │   │   │   │   │   ├─{gmain},2190
      │   │   │   │   │   │   ├─{rtl_cache_wsupd},2182
      │   │   │   │   │   │   ├─{soffice.bin},2197
      │   │   │   │   │   │   ├─{soffice.bin},2198
      │   │   │   │   │   │   ├─{soffice.bin},2199
      │   │   │   │   │   │   ├─{soffice.bin},2200
      │   │   │   │   │   │   ├─{soffice.bin},2201
      │   │   │   │   │   │   ├─{soffice.bin},2202
      │   │   │   │   │   │   ├─{soffice.bin},2203
      │   │   │   │   │   │   └─{soffice.bin},2204
      │   │   │   │   │   ├─{osl_executeProc},2177
      │   │   │   │   │   └─{rtl_cache_wsupd},2172
      │   │   │   │   ├─(sh,864)
      │   │   │   │   ├─{gdbus},844
      │   │   │   │   ├─{gmain},843
      │   │   │   │   └─{menu-cache-io},921
      │   │   │   ├─lxpolkit,809
      │   │   │   │   ├─{gdbus},832
      │   │   │   │   └─{gmain},831
      │   │   │   ├─openbox,807 --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
      │   │   │   ├─pcmanfm,820 --desktop --profile LXDE-pi
      │   │   │   │   ├─leafpad,1770 /home/pi/omxplayer.log
      │   │   │   │   │   ├─{gdbus},1772
      │   │   │   │   │   └─{gmain},1771
      │   │   │   │   ├─leafpad,2133 /home/pi/.npm/_logs/2019-07-11T21_30_10_606Z-debug.log
      │   │   │   │   │   ├─{gdbus},2135
      │   │   │   │   │   └─{gmain},2134
      │   │   │   │   ├─{gdbus},846
      │   │   │   │   └─{gmain},845
      │   │   │   ├─ssh-agent,778 x-session-manager
      │   │   │   ├─{gdbus},791
      │   │   │   └─{gmain},790
      │   │   ├─{gdbus},660
      │   │   └─{gmain},659
      │   ├─{gdbus},453
      │   └─{gmain},451
      ├─menu-cached,853 /run/user/1000/menu-cached-:0
      │   ├─{gdbus},856
      │   └─{gmain},855
      ├─polkitd,835 --no-debug
      │   ├─{gdbus},840
      │   └─{gmain},838
      ├─rngd,409 -r /dev/hwrng
      │   ├─{rngd},410
      │   ├─{rngd},411
      │   └─{rngd},412
      ├─rsyslogd,359 -n
      │   ├─{in:imklog},389
      │   ├─{in:imuxsock},388
      │   └─{rs:main Q:Reg},390
      ├─ssh-agent,830 -s
      ├─systemd,664 --user
      │   ├─(sd-pam),667         
      │   ├─dbus-daemon,681 --session --address=systemd: --nofork --nopidfile --systemd-activation
      │   ├─gvfs-afc-volume,888
      │   │   ├─{gdbus},892
      │   │   ├─{gmain},890
      │   │   └─{gvfs-afc-volume},889
      │   ├─gvfs-goa-volume,880
      │   │   ├─{gdbus},882
      │   │   └─{gmain},881
      │   ├─gvfs-gphoto2-vo,876
      │   │   ├─{gdbus},879
      │   │   └─{gmain},877
      │   ├─gvfs-mtp-volume,884
      │   │   ├─{gdbus},887
      │   │   └─{gmain},885
      │   ├─gvfs-udisks2-vo,857
      │   │   ├─{gdbus},863
      │   │   └─{gmain},862
      │   ├─gvfsd,792
      │   │   ├─{gdbus},794
      │   │   └─{gmain},793
      │   ├─gvfsd-fuse,797 /run/user/1000/gvfs -f -o big_writes
      │   │   ├─{gdbus},814
      │   │   ├─{gmain},813
      │   │   ├─{gvfs-fuse-sub},821
      │   │   ├─{gvfsd-fuse},811
      │   │   └─{gvfsd-fuse},812
      │   └─gvfsd-trash,930 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
      │       ├─{gdbus},933
      │       └─{gmain},932
      ├─systemd-journal,103
      ├─systemd-logind,361
      ├─systemd-timesyn,324
      │   └─{sd-resolve},360
      ├─systemd-udevd,137
      ├─thd,395 --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
      ├─udisksd,869 --no-debug
      │   ├─{cleanup},874
      │   ├─{gdbus},872
      │   ├─{gmain},870
      │   └─{probing-thread},873
      ├─wpa_supplicant,400 -u -s -O /run/wpa_supplicant
      └─wpa_supplicant,457 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
    
    1 Reply Last reply Reply Quote 0
    • E Offline
      evroom @bill22
      last edited by evroom Jul 13, 2019, 6:00 PM Jul 13, 2019, 5:57 PM

      @bill22
      And after a little while, does it say stopped?
      And what does

      ps -eaf | grep omxplayer | grep -v grep
      

      say?

      If pm2 status has a pid, can you do

      pstree -ap < pid >
      

      Iso < pid > put the pid number from pm2 status.

      MagicMirror version: 2.30.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.30.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      1 Reply Last reply Reply Quote 0
      • B Offline
        bill22
        last edited by Jul 13, 2019, 6:09 PM

        @evroom
        omx_stream1 remain online, but the uptime shows 0s only (mm is up for 36 min):

        │ App name    │ id │ version │ mode │ pid   │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
        ├─────────────┼────┼─────────┼──────┼───────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
        │ mm          │ 1  │ N/A     │ fork │ 2976  │ online │ 1       │ 36m    │ 0%  │ 2.3 MB   │ pi   │ disabled │
        │ omx_stream1 │ 0  │ N/A     │ fork │ 10391 │ online │ 1073    │ 0s     │ 0%  │ 2.2 MB   │ pi   │ disabled │
        
        ps -eaf | grep omxplayer | grep -v grep
        
        pi@raspberrypi:~ $ ps -eaf | grep omxplayer | grep -v grep
        pi        1770   820  0 18:17 ?        00:00:04 leafpad /home/pi/omxplayer.log
        pi       13794   781  1 20:05 ?        00:00:00 bash /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25 rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803
        pi       13823 13794  0 20:05 ?        00:00:00 /usr/bin/omxplayer.bin --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25 rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803
        pi@raspberrypi:~ $
        

        tried to use

        pstree -ap < pid >
        

        but the PID is constantly changing; therefore no output

        E 1 Reply Last reply Jul 13, 2019, 6:33 PM Reply Quote 0
        • E Offline
          evroom @bill22
          last edited by Jul 13, 2019, 6:33 PM

          @bill22
          To be honest, I am lost, out of ideas.
          I tried to get the module running myself again, but I cannot even get Bucks Bunny to eat his carrot.
          I would need to setup MM completely new for it to work I guess.
          At the moment you are left with the option of running it stand-alone using avm_stream, like I do

          How where you thinking of using the module should it work?
          Changing channels would still be a challenge, right?

          MagicMirror version: 2.30.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.30.0
          Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          1 Reply Last reply Reply Quote 0
          • B Offline
            bill22
            last edited by Jul 13, 2019, 6:41 PM

            @evroom

            seems to be quite tricky with that stream…

            But thank you for all your efforts so far and again great that we did it at least to run stand alone…!

            You are right, channel changing options seems to be a limitation using avm_stream. I wonder if there is a way of “operating” the avm_stream, at least to switch one particular channel/stream on and off without using the terminal…?

            E 2 Replies Last reply Jul 13, 2019, 6:43 PM Reply Quote 0
            • E Offline
              evroom @bill22
              last edited by Jul 13, 2019, 6:43 PM

              @bill22

              I will look if there is a module that can trigger linux commands at will.
              Would be interested in that myself.

              MagicMirror version: 2.30.0
              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              Test environment:
              MagicMirror version: v2.30.0
              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              1 Reply Last reply Reply Quote 0
              • B Offline
                bill22
                last edited by Jul 13, 2019, 6:45 PM

                @evroom

                if we could find one, it could be probably used to start/stop the stream. On the other hand it could be an option to define several “stand alone streams” and call those individually. Position of the streams could be even offset to each other…Just a thought…

                1 Reply Last reply Reply Quote 0
                • E Offline
                  evroom @bill22
                  last edited by Jul 13, 2019, 6:46 PM

                  @bill22

                  Btw, do you “fancy” stuff like Voice Control or Alexa ?
                  I don’t, but those would be modules that could trigger something.

                  MagicMirror version: 2.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bill22
                    last edited by Jul 13, 2019, 7:19 PM

                    @evroom
                    me neither

                    E 1 Reply Last reply Jul 14, 2019, 2:52 PM Reply Quote 0
                    • E Offline
                      evroom @bill22
                      last edited by Jul 14, 2019, 2:52 PM

                      @bill22

                      Hi,

                      I used this Sunday to setup a second Pi, whilst watching F1.
                      Used a new SD, installed Debian Buster and Magic Mirror v2.8.0.

                      After I made sure I did not have any errors after rebooting, restarting MM, etc, I setup MMM-RTSPStream.
                      It now works for Bucks Bunny, my IP cam and my SAT receiver.
                      I can even rotate 2 SAT channels.

                      I also tested the little fix with --audio_queue 4and that works to (although I cannot check audio, as I have no speaker).

                      It does not say that this method will work for you (my RTSP was dead as a dodo), but it could be something to consider.
                      I will play a bit with single quotes, double quotes, etc, as that is a potential problem in your URL.

                      And it still leaves the issue with selecting a channel at will, through a trigger.

                      MagicMirror version: 2.30.0
                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      Test environment:
                      MagicMirror version: v2.30.0
                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 33
                      • 34
                      • 35
                      • 36
                      • 37
                      • 60
                      • 61
                      • 35 / 61
                      35 / 61
                      • First post
                        344/602
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy