Code Monkey home page Code Monkey logo

vrobot's People

Contributors

dustinb avatar

Watchers

 avatar  avatar

vrobot's Issues

Only look at videos

Directories may have .scn or .THM files. Only look at valid videos like .mov, .mp4 etc.

Pull Videos From Remote Location

Ability to specify sftp:// URL instead of a directory. Sync the files down, possibly including a configuration file itself. Once files are sync run the video creation.

Sample Won't Run

dustin@vultr:~/vrobot$ node index.js 
/home/dustin/vrobot/index.js:4
await concat({
^^^^^

SyntaxError: await is only valid in async function
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3
dustin@vultr:~/vrobot$ vi index.js 
dustin@vultr:~/vrobot$ node index.js 
{ cmd: 'ffmpeg -i cut1.mp4 -y -pix_fmt rgba -start_number 0 /tmp/4a1e082289b9aa5e6b06d0f4119a8131/scene-0-%012d.raw' }
{ cmd: 'ffmpeg -i cut2.mp4 -y -pix_fmt rgba -start_number 0 /tmp/4a1e082289b9aa5e6b06d0f4119a8131/scene-1-%012d.raw' }
init-frames: 33818.075ms
(node:6314) UnhandledPromiseRejectionWarning: Error: failed to create OpenGL context
    at module.exports (/home/dustin/vrobot/node_modules/ffmpeg-concat/lib/context.js:22:11)
    at module.exports (/home/dustin/vrobot/node_modules/ffmpeg-concat/lib/render-frames.js:19:21)
    at module.exports (/home/dustin/vrobot/node_modules/ffmpeg-concat/lib/index.js:44:30)
    at <anonymous>
(node:6314) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:6314) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Run the melt command

Current vrobot only outputs the melt command. Figure out best way to spawn this process

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.