https://github.com/shadowjack/video_converter_sinatra
Video converter (from flv into mp4) implementation with ruby and sinatra
https://github.com/shadowjack/video_converter_sinatra
Last synced: about 1 year ago
JSON representation
Video converter (from flv into mp4) implementation with ruby and sinatra
- Host: GitHub
- URL: https://github.com/shadowjack/video_converter_sinatra
- Owner: ShadowJack
- Created: 2014-10-06T13:12:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-14T10:16:05.000Z (over 11 years ago)
- Last Synced: 2025-01-22T19:36:44.905Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Video converter sinatra
=======================
Info
----
Simple sinatra app that allowes user to upload flv video,
than converts it in background into mp4. After that user can download both
flv and mp4 videos and get meta information about these files such as
resolution, video bitrate and audio bitrate.
Dependencies
------------
* Sinatra
* DataMapper
* MySQL and dm-mysql-adapter
* FFMpeg
* Redis
Install
-------
To run it on your server:
1. Change DataMapper.setup line in models/video.rb file to your MySQL db.
2. Install redis to use [sidekiq](https://github.com/mperham/sidekiq)
3. Install ffmpeg in your system, be shure to add folder with your ffmpeg binary into PATH variable
3. In project folder run `sidekiq -C config/sidekiq.yml -r ./app.rb`
4. Run `ruby app.rb`