Dahua Vari-focal Bullet timed jpeg upload has heavy jpeg artefacts

ipgem

n3wb
Oct 30, 2024
5
2
South Africa
Hello all

I have a Dahua IPC-HFW5241E (2MP IR Vari-focal Bullet WizMind Network Camera)

There is a setting on the interface called "picture", where we can set a timed snapshot image. It uploads a timed jpeg to my server, and despite setting the quality to 6 (highest) the image has heavy jpeg artefacts.

When i grab an image from the h265 stream, the jpeg is fantastic. When I SFTP upload a timed jpeg through the setting, it looks like it is saved at quality 50%, and the size of the image matches a quality 50% export. Is there any way I can improve this

Thank you in advance to anyone who can help
 
I seem to recall someone else saying similar a few months back. I'm thinking its pulling those snapshots from the substream...?
 
Hello, I'm posting the solution here in case it helps anyone else.

The snapshot is taken off the main stream. If you use h265, and you take a snapshot through any other method other than the built in function (for example using rtsp and ffmpeg), you get a perfect image. But for whatever reason the camera's snapshot function through the web interface compresses the jpeg heavily.

If you switch the stream to h264, the camera's snapshot function works perfectly. I increased the bitrate as well, but the main difference was simply switching to h264

it is some quirk (error IMO) with the camera. The h265 stream itself is perfect, but the snapshots are horrible
 
  • Like
Reactions: bigredfish