Code Monkey home page Code Monkey logo

avermedia-game-capture-hd-ii-reverse-engineering's Introduction

AVerMedia Game Capture HD II - The RESTful web interface

Documentation and code storage for the reverse engeneering of the AVerMedia Game Capture HD II. In particular this is a documentation of the RESTful web interface.

Initial Request:

% curl 'http://131.173.172.118:24170/eos/query/device_name_get'
{"response":{"result":"C285%09Game%20Capture%20HD%20II%09MyGameCaptureBox%095.0.0"}}%

Pairing (just ignore that. Things work without this):

% curl 'http://131.173.172.118:24170/eos/method/pairing' \
    --data 'your_id=08:d8:33:01:3c:ff&your_name=yanbochuangQ102&your_ip=131.173.196.2&your_sys=4.4.2'

end commands to the device (e.g. start capture):

% curl 'http://131.173.172.118:24170/eos/method/irkey_send' --data 'key_id=12'
ir key sned command send

Key id 12 is the capture button on the remote control. Here are some codes for other buttons:

ID Key
1 power
3 menu
5 up
6 down
7 left or right
8 left or right
9 ok
12 capture

list files:

% curl 'http://131.173.172.118:24170/eos/method/get_files_infos' \
   --data 'file_name_path=/media/sda1/&start_index=0&end_index=5'
get files infos command send

% curl 'http://131.173.172.118:24170/eos/query/files_infos_get'
{
   "files_infos" : [
      {
         "parent_path" : "/media/sda1/"
      },
      {
         "thumb_size" : "8.9 KB",
         "file_type" : "1",
         "file_name" : "141111-1854.mp4",
         "date" : "2014/11/11 18:58:13",
         "file_length" : "239",
         "file_size" : "359.2 MB",
         "thumb_position" : "/media/sda1/.thumb/.141111-1854_thumb.jpg"
      }
   ]
}

count files by path:

% curl 'http://131.173.172.118:24170/eos/method/get_file_counts_by_path' \
   --data 'file_name_path=/media/sda1/'
get file counts by path command send

% curl 'http://131.173.172.118:24170/eos/query/file_counts_get_by_path'
{
   "response" : {
      "result" : "1"
   }
}

avermedia-game-capture-hd-ii-reverse-engineering's People

Contributors

lkiesow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

avermedia-game-capture-hd-ii-reverse-engineering's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.