Navigation

    Home
    All Categories
    • KEEN Trail Camera
    • Top #ReolinkCaptures Awards
    • Announcements and News
    • Wishlist
    • #ReolinkTrial
    • Discussion About Products
    • Reolink Captures
    • Reolink Client & APP
    #ReolinkTrial
    Reolink Captures
    Log in to post
    Guest
    • Guest
    • Register
    • Login

    Learn More

    Reolink updates Learn More

    Meet Reolink at IFA 2024! Learn More

    Reolink Q&A Learn More

    Switch resolution via API

    Reolink Client & APP
    resolution
    3
    16
    1323
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • das-dos_208145718501556
      das-dos last edited by

      Hi!
      I have a RLC-823A 16x and would like to change the resolution of the cam via API call (curl comand within linux script)
      The API I am already using for making snapshots, but I do not know the API command for a resolution change.
      Is this possible?


      Reply Quote
      Share
      • Share this Post
      • Facebook
      • Twitter
      • copy the link
        Copied!
      0
        • Reolink Lorenz
          Lorenz @das-dos last edited by

          @das-dos_208145718501556 Hello there, you can switch resolution via API command listed below. Note that with camera resolution changed, the camera will restart and work again after restart.

          [{
              "cmd": "SetEnc",
              "action": 0,
              "param": {
                  "Enc": {
                      "audio": 0,
                      "channel": 0,
                      "mainStream": {
                          "size": "2560*1920"
                      },
                      "subStream": {
                          "size": "640*480"
                      }
                  }
              }
          }]

          Reply Quote
          Share
          • Share this Post
          • Facebook
          • Twitter
          • copy the link
            Copied!
          0
          • joseph_1979
            Joseph Global Moderator @das-dos last edited by

            @das-dos_208145718501556 According the API v8 the following parameters are mandatory in command SetEnc.

            undefined


            And so the curl command should be as follows.

            curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd": \"SetEnc\",\"action\": 0,\"param\": {\"Enc\": {\"channel\": 0,\"audio\": 1,\"mainStream\": {\"size\": \"2560*1920\",\"frameRate\": 20,\"bitRate\": 4096,\"profile\": \"High\"},\"subStream\": {\"size\": \"640*480\",\"frameRate\": 10,\"bitRate\": 256,\"profile\": \"High\"}}}" "https://#IP#/cgi-bin/api.cgi?cmd=SetEnc&user=#username#&password=#passwd#"

            Please replace the IP with the cam IP and the username and passwd with your credentials.

            And if it doesn't reboot you can reboot it using

            curl -s -k -X POST -H "Content-Type : application/json" -d "[{\"cmd\":\"Reboot\",\"action\":0,\"param\":{}}]" "https://#IP#/cgi-bin/api.cgi?cmd=Reboot&user=#username#&password=#passwd#"

            Reply Quote
            Share
            • Share this Post
            • Facebook
            • Twitter
            • copy the link
              Copied!
            1
            View 13 replies
          • First post
            Last post
          All Categories
          Announcements and News Reolink Client & APP Discussion About Products #ReolinkTrial Reolink Captures Wishlist KEEN Trail Camera
          Never miss Reolink hot deals, news, and updates tailored for you.

          Thanks for your subscription!

          Please enter a valid email address.

          Oops… Something went wrong. Please try again later.

          You are already subscribed to this email list. :)

          Submission failed. Please try again later.

          Reolink Store|Support|About Us|Privacy Policy|Terms and Conditions

          Copyright 2025 © Reolink All Rights Reserved.

          Welcome Back!

          Hi there! Join the Commnunity to get all the latest news, tips and more!

          Join Now