Send Motion-user mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: RTSP camera NOT streaming on a webpage (Sriram Chadalavada)
   2. Re: RTSP camera NOT streaming on a webpage (Mike Wilson)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Mar 2019 16:42:41 -0400
From: Sriram Chadalavada <[email protected]>
To: 'Motion discussion list' <[email protected]>
Subject: Re: [Motion-user] RTSP camera NOT streaming on a webpage
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Thanks Mike. Here you go:

netstat -planet

(Not all processes could be identified, non-owned process info

will not be shown, you would have to be root to see it all.)

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       
User       Inode      PID/Program name

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
0          12427      -

tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      
0          13778      -

tcp        0      0 127.0.0.1:46767         127.0.0.1:43208         ESTABLISHED 
1000       15402      685/vncserverui

tcp        0      0 192.168.15.103:22       192.168.15.100:50243    ESTABLISHED 
0          13007      -

tcp        0      0 192.168.15.103:40060    172.217.165.14:443      ESTABLISHED 
1000       33827      1085/libpepflashpla

tcp        0    164 192.168.15.103:22       192.168.15.100:56792    ESTABLISHED 
0          17480      -

tcp      336      0 192.168.15.103:33078    192.168.17.37:9554      ESTABLISHED 
1000       30312      2396/omxplayer.bin

tcp        0      0 192.168.15.103:51116    35.166.163.11:443       ESTABLISHED 
1000       23182      1085/libpepflashpla

tcp        0      0 192.168.15.103:22       192.168.15.100:50245    ESTABLISHED 
0          13015      -

tcp        0      0 127.0.0.1:43208         127.0.0.1:46767         ESTABLISHED 
0          15401      -

tcp6       0      0 :::22                   :::*                    LISTEN      
0          12429      -

tcp6       0      0 :::5900                 :::*                    LISTEN      
0          13777      -

 

From: Mike Wilson <[email protected]> 
Sent: Tuesday, March 19, 2019 4:23 PM
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] RTSP camera NOT streaming on a webpage

 

8081 will be the camera stream, but my first thought is firewall. Do you have 
something blocking that port? What is the output of `netstat -planet`?

 

On Tue, Mar 19, 2019 at 3:57 PM Sriram Chadalavada <[email protected] 
<mailto:[email protected]> > wrote:

All I?m trying to do is setup motion for an RTSP camera and stream that on a 
web browser on a rp3. It appears that the camera is detected accurately at the 
correct resolution 1080p. Attached is the configuration file.

 

But when I open a browser to stream either localhost:8080 or its IP 
address:8080, the webpage doesn?t connect. Omxplayer displayed the streaming 
video. What am I missing?

`               `               

INFORMATION FROM /var/log/messages

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup: 
Logging to syslog

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup: 
Motion 4.2.2 Started

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup: 
Using default log type (ALL)

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup: 
Using log type (ALL) log level (NTC)

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] become_daemon: 
Motion going to daemon mode

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup: 
Motion running as daemon process

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR] webu_start_strm: 
Starting all camera streams on port 8081

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR] webu_strm_ntc: 
Started camera 0 stream on port 8081

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR] webu_start_ctrl: 
Starting webcontrol on port 8080

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR] webu_start_ctrl: 
Started webcontrol on port 8080

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ENC] ffmpeg_global_init: 
ffmpeg libavcodec version 57.64.101 libavformat version 57.56.101

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] translate_init: 
Language: English

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_start_thread: 
Camera ID: 0 is from /home/pi/.motion/motion.conf

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_start_thread: 
Camera ID: 0 Camera Name: (null) Service: rtsp:

Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] main: Waiting for 
threads to finish, pid: 19399

Mar 18 18:26:59 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_init: Camera 0 
started: motion detection Enabled

Mar 18 18:26:59 raspberrypi motion: [1:ml1] [NTC] [VID] vid_start: Opening 
Netcam RTSP

Mar 18 18:27:04 raspberrypi motion: [1:ml1] [NTC] [NET] netcam_rtsp_connect: 
Normal resolution: Camera ((null)) connected

Mar 18 18:27:04 raspberrypi motion: [1:ml1] [NTC] [ALL] image_ring_resize: 
Resizing pre_capture buffer to 1 items

Mar 18 18:27:04 raspberrypi motion: [2:nc2] [NTC] [NET] netcam_rtsp_handler: 
Normal resolution: Camera handler thread [2] started

Mar 18 18:27:08 raspberrypi motion: [1:ml1] [NTC] [ALL] image_ring_resize: 
Resizing pre_capture buffer to 4 items

Mar 18 18:27:08 raspberrypi motion: [2:nc2] [NTC] [NET] netcam_rtsp_connect: 
Normal resolution: Camera ((null)) connected

Mar 18 18:27:10 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected: Motion 
detected - starting event 1

Mar 18 18:27:28 raspberrypi motion: [2:nc2] [NTC] [NET] netcam_rtsp_connect: 
Normal resolution: Camera ((null)) connected

Mar 18 18:27:47 raspberrypi motion: [2:nc2] [NTC] [NET] netcam_rtsp_connect: 
Normal resolution: Camera ((null)) connected

Mar 18 18:28:02 raspberrypi motion: [2:nc2] [NTC] [NET] netcam_rtsp_connect: 
Normal resolution: Camera ((null)) connected

Mar 18 18:28:10 raspberrypi motion: [1:ml1] [NTC] [ALL] mlp_actions: End of 
event 1

Mar 18 18:28:10 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected: Motion 
detected - starting event 2

Mar 18 18:29:10 raspberrypi motion: [1:ml1] [NTC] [ALL] mlp_actions: End of 
event 2

Mar 18 18:29:40 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected: Motion 
detected - starting event 3

Mar 18 18:30:40 raspberrypi motion: [1:ml1] [NTC] [ALL] mlp_actions: End of 
event 3

Mar 18 18:31:02 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected: Motion 
detected - starting event 4

_______________________________________________
Motion-user mailing list
[email protected] <mailto:[email protected]> 
https://lists.sourceforge.net/lists/listinfo/motion-user
https://motion-project.github.io/

Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Tue, 19 Mar 2019 16:53:26 -0400
From: Mike Wilson <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] RTSP camera NOT streaming on a webpage
Message-ID:
        <caaveucpcybeypkpimqthc66z_yexp+uthdwwgpaujvkrc9w...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I don't see motion in that list or port 8080 or 8081 available. Are you
running motion in a container or is it crashing?

On Tue, Mar 19, 2019 at 4:43 PM Sriram Chadalavada <[email protected]>
wrote:

> Thanks Mike. Here you go:
>
> netstat -planet
>
> (Not all processes could be identified, non-owned process info
>
> will not be shown, you would have to be root to see it all.)
>
> Active Internet connections (servers and established)
>
> Proto Recv-Q Send-Q Local Address           Foreign Address
> State       User       Inode      PID/Program name
>
> tcp        0      0 0.0.0.0:22              0.0.0.0:*
> LISTEN      0          12427      -
>
> tcp        0      0 0.0.0.0:5900            0.0.0.0:*
> LISTEN      0          13778      -
>
> tcp        0      0 127.0.0.1:46767         127.0.0.1:43208
> ESTABLISHED 1000       15402      685/vncserverui
>
> tcp        0      0 192.168.15.103:22       192.168.15.100:50243
> ESTABLISHED 0          13007      -
>
> tcp        0      0 192.168.15.103:40060    172.217.165.14:443
> ESTABLISHED 1000       33827      1085/libpepflashpla
>
> tcp        0    164 192.168.15.103:22       192.168.15.100:56792
> ESTABLISHED 0          17480      -
>
> tcp      336      0 192.168.15.103:33078    192.168.17.37:9554
> ESTABLISHED 1000       30312      2396/omxplayer.bin
>
> tcp        0      0 192.168.15.103:51116    35.166.163.11:443
> ESTABLISHED 1000       23182      1085/libpepflashpla
>
> tcp        0      0 192.168.15.103:22       192.168.15.100:50245
> ESTABLISHED 0          13015      -
>
> tcp        0      0 127.0.0.1:43208         127.0.0.1:46767
> ESTABLISHED 0          15401      -
>
> tcp6       0      0 :::22                   :::*
> LISTEN      0          12429      -
>
> tcp6       0      0 :::5900                 :::*
> LISTEN      0          13777      -
>
>
>
> *From:* Mike Wilson <[email protected]>
> *Sent:* Tuesday, March 19, 2019 4:23 PM
> *To:* Motion discussion list <[email protected]>
> *Subject:* Re: [Motion-user] RTSP camera NOT streaming on a webpage
>
>
>
> 8081 will be the camera stream, but my first thought is firewall. Do you
> have something blocking that port? What is the output of `netstat -planet`?
>
>
>
> On Tue, Mar 19, 2019 at 3:57 PM Sriram Chadalavada <[email protected]>
> wrote:
>
> All I?m trying to do is setup motion for an RTSP camera and stream that on
> a web browser on a rp3. It appears that the camera is detected accurately
> at the correct resolution 1080p. Attached is the configuration file.
>
>
>
> But when I open a browser to stream either localhost:8080 or its IP
> address:8080, the webpage doesn?t connect. Omxplayer displayed the
> streaming video. What am I missing?
>
> `               `
>
> INFORMATION FROM /var/log/messages
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
> Logging to syslog
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
> Motion 4.2.2 Started
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
> Using default log type (ALL)
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
> Using log type (ALL) log level (NTC)
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] become_daemon:
> Motion going to daemon mode
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
> Motion running as daemon process
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR]
> webu_start_strm: Starting all camera streams on port 8081
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR] webu_strm_ntc:
> Started camera 0 stream on port 8081
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR]
> webu_start_ctrl: Starting webcontrol on port 8080
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [STR]
> webu_start_ctrl: Started webcontrol on port 8080
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ENC]
> ffmpeg_global_init: ffmpeg libavcodec version 57.64.101 libavformat version
> 57.56.101
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] translate_init:
> Language: English
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL]
> motion_start_thread: Camera ID: 0 is from /home/pi/.motion/motion.conf
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL]
> motion_start_thread: Camera ID: 0 Camera Name: (null) Service: rtsp:
>
> Mar 18 18:26:59 raspberrypi motion: [0:motion] [NTC] [ALL] main: Waiting
> for threads to finish, pid: 19399
>
> Mar 18 18:26:59 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_init:
> Camera 0 started: motion detection Enabled
>
> Mar 18 18:26:59 raspberrypi motion: [1:ml1] [NTC] [VID] vid_start: Opening
> Netcam RTSP
>
> Mar 18 18:27:04 raspberrypi motion: [1:ml1] [NTC] [NET]
> netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
>
> Mar 18 18:27:04 raspberrypi motion: [1:ml1] [NTC] [ALL] image_ring_resize:
> Resizing pre_capture buffer to 1 items
>
> Mar 18 18:27:04 raspberrypi motion: [2:nc2] [NTC] [NET]
> netcam_rtsp_handler: Normal resolution: Camera handler thread [2] started
>
> Mar 18 18:27:08 raspberrypi motion: [1:ml1] [NTC] [ALL] image_ring_resize:
> Resizing pre_capture buffer to 4 items
>
> Mar 18 18:27:08 raspberrypi motion: [2:nc2] [NTC] [NET]
> netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
>
> Mar 18 18:27:10 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected:
> Motion detected - starting event 1
>
> Mar 18 18:27:28 raspberrypi motion: [2:nc2] [NTC] [NET]
> netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
>
> Mar 18 18:27:47 raspberrypi motion: [2:nc2] [NTC] [NET]
> netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
>
> Mar 18 18:28:02 raspberrypi motion: [2:nc2] [NTC] [NET]
> netcam_rtsp_connect: Normal resolution: Camera ((null)) connected
>
> Mar 18 18:28:10 raspberrypi motion: [1:ml1] [NTC] [ALL] mlp_actions: End
> of event 1
>
> Mar 18 18:28:10 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected:
> Motion detected - starting event 2
>
> Mar 18 18:29:10 raspberrypi motion: [1:ml1] [NTC] [ALL] mlp_actions: End
> of event 2
>
> Mar 18 18:29:40 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected:
> Motion detected - starting event 3
>
> Mar 18 18:30:40 raspberrypi motion: [1:ml1] [NTC] [ALL] mlp_actions: End
> of event 3
>
> Mar 18 18:31:02 raspberrypi motion: [1:ml1] [NTC] [ALL] motion_detected:
> Motion detected - starting event 4
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 153, Issue 11
********************************************

Reply via email to