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. 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 15:41:05 -0400
From: Sriram Chadalavada <[email protected]>
To: <[email protected]>
Subject: [Motion-user] RTSP camera NOT streaming on a webpage
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

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

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion.conf
Type: application/octet-stream
Size: 5170 bytes
Desc: not available

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

Message: 2
Date: Tue, 19 Mar 2019 16:23:04 -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:
        <CAAVeUCopOLT9Ngned-PdhR=5ps19mrd5avdyrj3n9bvurae...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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
-------------- 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 10
********************************************

Reply via email to