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. Streaming from a security enabled webcam on home LAN
(Dougie Nisbet)
2. Re: Streaming from a security enabled webcam on home LAN
(David Powell)
3. Grainy video only with motion (David Powell)
----------------------------------------------------------------------
Message: 1
Date: Tue, 11 Apr 2023 20:59:53 +0100
From: Dougie Nisbet <[email protected]>
To: Motion discussion list <[email protected]>
Subject: [Motion-user] Streaming from a security enabled webcam on
home LAN
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
I was interested to discover I could stream webcam images from my rpi's
directly using ffplay as explained in
https://motion-project.github.io/motion_config.html#OptDetail_Stream
however after setting up password protection with the view of being able
to access externally, and exploring secure options as explained in
https://www.youtube.com/watch?v=bnpvLHr8cY8
I find I can only stream if I disable any authentication.
I've had a search and all the various vlc/mpv/mplayer/ffplay examples
I've found fail one way or another on authentication errors.
Is it possible to display a live stream from the linux command line from
a rpi on the local LAN that has some sort of security enabled?
------------------------------
Message: 2
Date: Tue, 11 Apr 2023 16:35:49 -0500
From: David Powell <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Streaming from a security enabled webcam on
home LAN
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Did you try the form ffplay rtsp://userid:password@rpiserveraddress/etc?
David
On April 11, 2023 3:02:47 PM Dougie Nisbet <[email protected]> wrote:
> I was interested to discover I could stream webcam images from my rpi's
> directly using ffplay as explained in
> https://motion-project.github.io/motion_config.html#OptDetail_Stream
>
> however after setting up password protection with the view of being able
> to access externally, and exploring secure options as explained in
> https://www.youtube.com/watch?v=bnpvLHr8cY8
>
> I find I can only stream if I disable any authentication.
>
> I've had a search and all the various vlc/mpv/mplayer/ffplay examples
> I've found fail one way or another on authentication errors.
>
> Is it possible to display a live stream from the linux command line from
> a rpi on the local LAN that has some sort of security enabled?
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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...
------------------------------
Message: 3
Date: Tue, 11 Apr 2023 20:12:37 -0500
From: David Powell <[email protected]>
To: Motion discussion list <[email protected]>
Subject: [Motion-user] Grainy video only with motion
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
I have a fairly expensive (~$250) network camera that I'm using with
MotionPlus.? The video directly from the camera is great. However, when
I play back a video (.mp4) that was recorded by MotionPlus, it's very
grainy.? I don't know if I can attach a sample to this email, but I'll try:
(apparently images are not allowed, the whole post got binned)
The associated .jpg image ("best") does not have this graininess
problem.? I'm sure it's caused by something I've configured incorrectly,
but I don't know what it is.
The log shows this when MotionPlus starts:
*[NTC][NET][14:nc14:gate] netcam_connect: Norm: Camera (gate) connected**
**[NTC][NET][14:nc14:gate] netcam_connect: Norm: Netcam capture FPS is 15.**
**[NTC][NET][14:nc14:gate] netcam_connect: Norm: Unable to determine the
camera source FPS.**
**[NTC][NET][06:ml06:gate] netcam_ntc: **
**[NTC][NET][06:ml06:gate] netcam_ntc:
********************************************************
**[NTC][NET][06:ml06:gate] netcam_ntc: The network camera is sending
pictures at 0x0**
**[NTC][NET][06:ml06:gate] netcam_ntc: resolution but config is
2560x1920. If possible change**
**[NTC][NET][06:ml06:gate] netcam_ntc: the netcam or config so that the
image height and**
**[NTC][NET][06:ml06:gate] netcam_ntc: width are the same to lower the
CPU usage.**
**[NTC][NET][06:ml06:gate] netcam_ntc:
********************************************************
**[NTC][NET][06:ml06:gate] netcam_ntc: **
**[NTC][NET][06:ml06:gate] mlp_check_szimg: Substream not available.?
Image sizes not modulo 16.**
**[NTC][NET][15:nc15:gate] netcam_handler: High: Camera handler thread
[15] started**
**[NTC][ALL][06:ml06:gate] mlp_ring_resize: Resizing buffer to 16 items*
The low-res stream from the camera is 800x600, and I have it configured
as such.? The high-res stream is 2560x1920, which is the value showing
in the log excerpt above.? I don't see a way to specify that in the
configuration.? I don't know where MP is getting the resolution to print
in the log entry.
I have several other cameras that MP is also using, and each one has its
own configuration file, with the common parameters in the main
configuration file. Only one other camera shows this graininess problem,
and it has a similar message in the log file. One other camera has the
log message but does not have the graininess. This one is the only one
that has the /*I*//*mage sizes not modulo 16*/ entry, however (but the
image size _/is/_ mod 16).
Here is the configuration file for this camera:
*# User defined name for the camera.**
**device_name gate**
**
**# Target directory for pictures, snapshots and movies**
**target_dir /var/www/html/cams/gate**
**
**# The full URL of the network camera stream.**
**netcam_url rtsp://xxxx:[email protected]:554/12**
**
**#width 2560**
**#height 1920**
**width 800**
**height 600**
**
**# Optional high resolution URL for rtsp/rtmp cameras only.**
**netcam_high_url rtsp://xxxxxx:[email protected]:554/21**
**netcam_high_params capture_rate=pts**
**
**
**# Maximum number of frames to be captured per second.**
**framerate 15**
**
**# Frames per second for the webcontrol camera stream.**
**stream_maxrate 3**
**
**# Text to be overlayed in the lower left corner of images**
**text_left The Amazing GateCam!**
**
**# Threshold for number of changed pixels that triggers motion.**
**threshold 1000**
**
**# Enable tuning of the threshold down if possible.**
**threshold_tune on*
Does anyone know what may be causing the graininess in the movies?
Thanks
-------------- 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 200, Issue 4
*******************************************