GithubHelp home page GithubHelp logo

hydra's Introduction

hydra

Linux-based OpenGL Sony Action Cam HDR-AS30 viewer and recorder (tested on HX50 too)

usage

Hydra uses libcurl to connect and download image data over Wi-Fi from a Sony Action Cam. Just connect to the Action Cam over Wi-Fi and launch Hydra.

usage:
hydra [options]

Cam options:
  --cam [type]                     provide cam type (currently only hx50 and as30 (default))
  --cam-link [link]                overrides the cam type and sets the remote location directly
                                   use without http://, eg. --cam-link 10.0.0.1:60152

Display options:
  --primary-fs                     create a fullscreen window on primary monitor
  --primary-res [WidthxHeight]     create a width x height window on primary monitor (default: 800x600)
  --secondary-fs                   create a fullscreen window on secondary monitor
  --secondary-res [WidthxHeight]   create a width x height window on secondary monitor

Saving options:
  --save-dir [dir]                 directory where to save frames
  --save-file [filename]           filename to save frames in the form: name_%0Nd.jpeg
                                   %0Nd stands for number of digits, eg. my_%06d.jpeg
                                   will be saved as my_000001.jpeg, my_000002.jpeg, etc..

You can use these commands during runtime:

  spacebar              freeze frame (broken)
  c                     sony on/off
  s                     save jpeg on/off
  t                     FPS printing
  q, ctrl+c, esc,       exit

installation

apt-get install libjpeg-dev libcurl4-openssl-dev libglfw3-dev libxi-dev
git clone https://github.com/gnd/hydra.git
cd hydra
make

Inspired by https://github.com/erik-smit/sony-camera-api/blob/master/liveView.py

hydra's People

Contributors

cryptofuture avatar gnd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cryptofuture

hydra's Issues

Memory leak

First of all I running with --primary-res 640x480 and turns out hydra memory leaking (tested with threaded version update) for like 40-50mb of memory every second. Overall with my 16Gb of memory (21 including swap) I couldn't survive more than 30 minutes, without oom-killer. I think it would be easy to reproduce, and just to launch and check process manager would be enough.

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.