sofiactl icon indicating copy to clipboard operation
sofiactl copied to clipboard

ConfigSet Updated but XMeye app not apply new config

Open lehoangthanh opened this issue 3 years ago • 1 comments

I run this command. I see video setting updated new config. But cammera not apply that config. Cammera apply new config When i change some thing config on my phone and click save button. Please help me. Thank you. ./sofiactl.pl -u admin -p xxx -host xxx -port 8000 --c ConfigSet --co AVEnc.Encode[0] --if ./channel01.json --jp --d

And my content channel01.json { "ExtraFormat": [ { "Audio": { "BitRate": 0, "MaxVolume": 0, "SampleRate": 0 }, "AudioEnable": false, "Video": { "BitRate": 954, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 21, "GOP": 2, "Quality": 4, "Resolution": "D1" }, "VideoEnable": true }, { "Audio": { "BitRate": 10, "MaxVolume": 10, "SampleRate": 10 }, "AudioEnable": false, "Video": { "BitRate": 384, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 21, "GOP": 2, "Quality": 4, "Resolution": "D1" }, "VideoEnable": true }, { "Audio": { "BitRate": 10, "MaxVolume": 10, "SampleRate": 10 }, "AudioEnable": false, "Video": { "BitRate": 384, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 21, "GOP": 2, "Quality": 4, "Resolution": "D1" }, "VideoEnable": true } ], "MainFormat": [ { "Audio": { "BitRate": 0, "MaxVolume": 0, "SampleRate": 0 }, "AudioEnable": false, "Video": { "BitRate": 2560, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 25, "GOP": 2, "Quality": 4, "Resolution": "720P" }, "VideoEnable": true }, { "Audio": { "BitRate": 0, "MaxVolume": 0, "SampleRate": 0 }, "AudioEnable": false, "Video": { "BitRate": 2560, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 25, "GOP": 2, "Quality": 4, "Resolution": "720P" }, "VideoEnable": false }, { "Audio": { "BitRate": 0, "MaxVolume": 0, "SampleRate": 0 }, "AudioEnable": false, "Video": { "BitRate": 2560, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 25, "GOP": 2, "Quality": 4, "Resolution": "720P" }, "VideoEnable": false } ], "SnapFormat": [ { "Audio": { "BitRate": 10, "MaxVolume": 10, "SampleRate": 10 }, "AudioEnable": false, "Video": { "BitRate": 512, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 21, "GOP": 2, "Quality": 4, "Resolution": "D1" }, "VideoEnable": true }, { "Audio": { "BitRate": 10, "MaxVolume": 10, "SampleRate": 10 }, "AudioEnable": false, "Video": { "BitRate": 512, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 21, "GOP": 2, "Quality": 4, "Resolution": "D1" }, "VideoEnable": false }, { "Audio": { "BitRate": 10, "MaxVolume": 10, "SampleRate": 10 }, "AudioEnable": false, "Video": { "BitRate": 512, "BitRateControl": "VBR", "Compression": "H.264", "FPS": 21, "GOP": 2, "Quality": 4, "Resolution": "D1" }, "VideoEnable": false } ] }

lehoangthanh avatar Mar 16 '21 09:03 lehoangthanh

Try to use latest version from Jul 3. There is a fix of JSON parsing exceptions on new devices that could cause command execution failures.

667bdrm avatar Jul 03 '21 18:07 667bdrm