Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

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
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

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


Today's Topics:

   1. Re: Grainy video only with motion (MrDave)
   2. Re: Grainy video only with motion (David Powell)


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

Message: 1
Date: Sun, 16 Apr 2023 08:36:22 -0600
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Grainy video only with motion
Message-ID: <1e8fbb8d-b65d-4f12-82bf-c7f17ea16...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Looks like something inconsistent possibly in the logs, config, 
MotionPlus and camera.? The config posted seems to request that the 
image be scaled down to 800x600

*?The full URL of the network camera stream.**
**netcam_url rtsp://xxxx:zzzzzzzz@10.10.6.23:554/12**
**
**#width 2560**
**#height 1920**
**width 800**
**height 600*


On 4/11/2023 7:12 PM, David Powell wrote:

> 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:zzzzzzzz@10.10.6.23:554/12**
> **
> **#width 2560**
> **#height 1920**
> **width 800**
> **height 600**
> **
> **# Optional high resolution URL for rtsp/rtmp cameras only.**
> **netcam_high_url rtsp://xxxxxx:zzzzzzzzz@10.10.6.23: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
>
>
>
>
>
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> 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: Sun, 16 Apr 2023 09:58:37 -0500
From: David Powell <da...@depowell.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Grainy video only with motion
Message-ID: <2760dbd3-631d-c38c-aea9-3661b963e...@depowell.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

The 2560x1920 dimensions are for the high-res stream. I commented them 
out when I switched to the low-res stream so I could remember the values 
when I figure out where they should go. The 800x600 resolution is the 
actual dimensions of the low-res stream coming from the camera.? Could 
MotionPlus possibly be still using the commented ones?? I would think 
that, even if that were the case, the later values would take 
precedence.? I can try removing them altogether.

On 4/16/23 9:36 AM, MrDave wrote:
>
> Looks like something inconsistent possibly in the logs, config, 
> MotionPlus and camera.? The config posted seems to request that the 
> image be scaled down to 800x600
>
> *?The full URL of the network camera stream.**
> **netcam_url rtsp://xxxx:zzzzzzzz@10.10.6.23:554/12**
> **
> **#width 2560**
> **#height 1920**
> **width 800**
> **height 600*
>
>
> On 4/11/2023 7:12 PM, David Powell wrote:
>
>> 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:zzzzzzzz@10.10.6.23:554/12**
>> **
>> **#width 2560**
>> **#height 1920**
>> **width 800**
>> **height 600**
>> **
>> **# Optional high resolution URL for rtsp/rtmp cameras only.**
>> **netcam_high_url rtsp://xxxxxx:zzzzzzzzz@10.10.6.23: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
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Motion-user mailing list
>> Motion-user@lists.sourceforge.net
>> 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
> Motion-user@lists.sourceforge.net
> 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
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 200, Issue 7
*******************************************

Reply via email to