|
From: MrDave <mot...@gm...> - 2023-04-16 14:36:32
|
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
> Mot...@li...
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user |