vrobot's People
vrobot's Issues
Change config to YAML
Change to YAML for config file
Only look at videos
Directories may have .scn or .THM files. Only look at valid videos like .mov, .mp4 etc.
Allow changing genres
Make the genre option work for multiple genres
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.
Create upload and/or sftp interface
Create a web service to upload files and get video back
Run the melt command
Current vrobot only outputs the melt command. Figure out best way to spawn this process
Text Overlay
Melt can overlay text but seems it adds more dependencies like having QT/KDE environment setup?
-attach dynamictext:"Some text I want to show" bgcolour=0x00000000 in=50 out=100
Research this or possible other methods to overlay text in the video. This is for testing the GPS and gyro data.
https://stackoverflow.com/questions/17623676/text-on-video-ffmpeg
Generating an SRT file is probably a good method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.