Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcfedr/converter
https://github.com/mcfedr/converter
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcfedr/converter
- Owner: mcfedr
- License: mit
- Created: 2013-11-23T21:17:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-30T20:31:54.000Z (almost 9 years ago)
- Last Synced: 2024-12-04T06:47:05.896Z (25 days ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Converter
Convert videos using ffmpeg to either mp4 or webm (whichever your ffmpeg supports) that can be played with chromecast.
This script can be a tranmission script, so it will process files in TR_TORRENT_DIR## Config
Create a config as `~/converter.json`.
This is used when running as a transmission download script.
Sample config file:
{
"outputDir": "/Users/mcfedr/TV",
"ffmpeg": "/usr/local/bin/ffmpeg"
}## Formats
Converter will just move files that are already in mp4 or webm formats.
All other videos will be converted to mp4.
## Queue
Only one video is converted at a time. If you run a second copy of `converter` it will simple add the files to the queue
of the first.## ffmpeg
Sometimes you will need to set and environment variable `FFMPEG_PATH`
FFMPEG_PATH=/usr/local/bin/ffmpeg /usr/local/bin/cast-converter -i /Users/mcfedr/TV/file.mkv -d >> /Users/mcfedr/.flexget/convert.log &