Can't Set Dahua Cam to 30FPS @ 4k Resolution

Wargasms

n3wb
Joined
Oct 13, 2023
Messages
1
Reaction score
0
Location
Saint Louis
This is my first post on this forum so I'd like to start by saying hello, thank you for having me and that this forum has already been of great help to me. Thank you!:)


Background Info:

I have 6 Lorex LNE9292B cameras which I understand is the same as the Dahua N85FJ6Z. I have upgraded all the firmware on my LNE9292B's to the most recent firmware (IPC-HX5XXX-Volt_MultiLang_NP_Stream3-USA_V2.840.18LK005.0.R.230526) on Dahua's site for the N85FJ6Z.

I have followed this thread to set up automatic control of black and white and IR.


Issue:

Of the six cameras ALL of them state compatibility of 4k@30FPS and ALL of them had initial maximum settings of 4K@20FPS. The drop down for FPS only went up to 20 when 4k is selected. I have been able to get 5 of them to show 30 FPS and select it while at 4K. I don't know how. Just playing around with the settings and it just showed up on the five cameras. The sixth camera I'm having a hard time getting this setting.


Steps I've Taken:

Import Backups from other cameras. The import fails.


Tried using this API http://172.28.16.8/cgi-bin/configManager.cgi?action=setConfig&Encode[0].MainFormat[0].Video.FPS=30 to set the FPS. "Error. Bad Request!"


Additional Information:

Running this API http://<IP ADDRESS>/cgi-bin/encode.cgi?action=getConfigCaps&Encode[1].MainFormat[0].Video.Width=1920&Encode[0].MainFormat[0].Video.Height=1080 the results, shown below, seems to tell me that there are three MainFormats; MainFormat[0], MainFormat[1], MainFormat[2]. MainFormat[0] supports 4k@30FPS, the others support 4k@20FPS.


Code:
caps[0].BitRateRange[0]=3

caps[0].BitRateRange[1]=8192

caps[0].ExtraFormat[0].Audio.CompressionTypes=PCM,G.711A,G.711Mu,G.726,AAC

caps[0].ExtraFormat[0].Video.resolution=0x0

caps[0].ExtraFormat[0].Video.BitRateOptions=64,512

caps[0].ExtraFormat[0].Video.BitRateSuggested=256

caps[0].ExtraFormat[0].Video.CompressionTypes=H.264,MJPG,H.265

caps[0].ExtraFormat[0].Video.FPSMax=20

caps[0].ExtraFormat[0].Video.H264Profile[0]=Main

caps[0].ExtraFormat[0].Video.H264Profile[1]=Baseline

caps[0].ExtraFormat[0].Video.H264Profile[2]=High

caps[0].ExtraFormat[0].Video.MaxROICount=4

caps[0].ExtraFormat[0].Video.ResolutionTypes=D1,VGA,CIF

caps[0].ExtraFormat[1].Audio.CompressionTypes=PCM,G.711A,G.711Mu,G.726,AAC

caps[0].ExtraFormat[1].Video.resolution=0x0

caps[0].ExtraFormat[1].Video.BitRateOptions=1536,8192

caps[0].ExtraFormat[1].Video.BitRateSuggested=3072

caps[0].ExtraFormat[1].Video.CompressionTypes=H.264,H.265

caps[0].ExtraFormat[1].Video.FPSMax=20

caps[0].ExtraFormat[1].Video.H264Profile[0]=Main

caps[0].ExtraFormat[1].Video.H264Profile[1]=Baseline

caps[0].ExtraFormat[1].Video.H264Profile[2]=High

caps[0].ExtraFormat[1].Video.MaxROICount=4

caps[0].ExtraFormat[1].Video.ResolutionTypes=1080P,720P,D1,VGA

caps[0].MainFormat[0].Audio.CompressionTypes=PCM,G.711A,G.711Mu,G.726,AAC

caps[0].MainFormat[0].Video.resolution=0x0

caps[0].MainFormat[0].Video.BitRateOptions=512,5120

caps[0].MainFormat[0].Video.BitRateSuggested=1536

caps[0].MainFormat[0].Video.CompressionTypes=H.264,H.265

caps[0].MainFormat[0].Video.FPSMax=30

caps[0].MainFormat[0].Video.H264Profile[0]=Main

caps[0].MainFormat[0].Video.H264Profile[1]=Baseline

caps[0].MainFormat[0].Video.H264Profile[2]=High

caps[0].MainFormat[0].Video.MaxROICount=4

caps[0].MainFormat[0].Video.ResolutionTypes=3840x2160,3072x2048,3072x1728,2592x1944,2688x1520,2048x1536,2304x1296,1080P,1280x960,720P

caps[0].MainFormat[1].Audio.CompressionTypes=PCM,G.711A,G.711Mu,G.726,AAC

caps[0].MainFormat[1].Video.resolution=0x0

caps[0].MainFormat[1].Video.BitRateOptions=1441,8192

caps[0].MainFormat[1].Video.BitRateSuggested=4683

caps[0].MainFormat[1].Video.CompressionTypes=H.264,H.265

caps[0].MainFormat[1].Video.FPSMax=20

caps[0].MainFormat[1].Video.H264Profile[0]=Main

caps[0].MainFormat[1].Video.H264Profile[1]=Baseline

caps[0].MainFormat[1].Video.H264Profile[2]=High

caps[0].MainFormat[1].Video.MaxROICount=4

caps[0].MainFormat[1].Video.ResolutionTypes=3840x2160,3072x2048,3072x1728,2592x1944,2688x1520,2048x1536,2304x1296,1080P,1280x960,720P

caps[0].MainFormat[2].Audio.CompressionTypes=PCM,G.711A,G.711Mu,G.726,AAC

caps[0].MainFormat[2].Video.resolution=0x0

caps[0].MainFormat[2].Video.BitRateOptions=1441,8192

caps[0].MainFormat[2].Video.BitRateSuggested=4683

caps[0].MainFormat[2].Video.CompressionTypes=H.264,H.265

caps[0].MainFormat[2].Video.FPSMax=20

caps[0].MainFormat[2].Video.H264Profile[0]=Main

caps[0].MainFormat[2].Video.H264Profile[1]=Baseline

caps[0].MainFormat[2].Video.H264Profile[2]=High

caps[0].MainFormat[2].Video.MaxROICount=4

caps[0].MainFormat[2].Video.ResolutionTypes=3840x2160,3072x2048,3072x1728,2592x1944,2688x1520,2048x1536,2304x1296,1080P,1280x960,720P

caps[0].SnapFormat[0].SupportIndividualResolution=false

caps[0].SnapFormat[0].Video.resolution=0x0

caps[0].SnapFormat[0].Video.CompressionTypes=MJPG

caps[0].SnapFormat[0].Video.ResolutionTypes=3840x2160,3072x2048,3072x1728,2592x1944,2688x1520,2048x1536,2304x1296,1080P,1280x960,720P,D1,VGA,CIF

caps[0].SnapFormat[1].SupportIndividualResolution=false

caps[0].SnapFormat[1].Video.resolution=0x0

caps[0].SnapFormat[1].Video.CompressionTypes=MJPG

caps[0].SnapFormat[1].Video.ResolutionTypes=3840x2160,3072x2048,3072x1728,2592x1944,2688x1520,2048x1536,2304x1296,1080P,1280x960,720P,D1,VGA,CIF

caps[0].SnapFormat[2].SupportIndividualResolution=false

caps[0].SnapFormat[2].Video.resolution=0x0

caps[0].SnapFormat[2].Video.CompressionTypes=MJPG

caps[0].SnapFormat[2].Video.ResolutionTypes=3840x2160,3072x2048,3072x1728,2592x1944,2688x1520,2048x1536,2304x1296,1080P,1280x960,720P,D1,VGA,CIF

What I'd like to do is find anyway to get this setting changed. I'm not sure if my understanding of the getConfigCaps API is correct or if I can even change the MainFormat to one that supports the settings I want.


Any help greatly appreciated by this n00b.
 
Last edited:

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,478
Reaction score
49,665
Location
USA
Welcome.

No reason to run 30FPS, but if you think you need it, switch to NTSC and if the camera is "capable" it will then run 30FPS, but we don't advise it.
 
Top