https://github.com/exasky/TranscoderScript
https://github.com/exasky/TranscoderScript
apple-tv audio ffmpeg plex transcode video
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/exasky/TranscoderScript
- Owner: exasky
- License: mit
- Created: 2017-11-30T12:31:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T11:16:46.000Z (almost 8 years ago)
- Last Synced: 2024-11-25T17:46:11.530Z (about 1 year ago)
- Topics: apple-tv, audio, ffmpeg, plex, transcode, video
- Language: Shell
- Size: 9.77 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TranscoderScript
The aim of this script is to provide a simple way to transcode audio/video files into a defined-by-variables format
## Usage
transcode [ in out ] [ -l in [ in [...]]
## Description
This script transcode audio/video file(s) with ffmpeg into files compliant with ${OUTFILE_EXTENSION} type:
- If the video codecs of in file(s) is not one of ${SUPPORTED_VIDEO_FORMAT}, the output video will be transcoded with ${DEFAULT_VIDEO_LIB} lib
- If the audio codecs of in file(s) is not one of ${SUPPORTED_AUDIO_FORMAT}, the output audio will be transcoded with ${DEFAULT_AUDIO_LIB} lib
- If the subtitles codecs of in file(s) is not one of ${SUPPORTED_SUB_FORMAT}, the output subtitle will be transcoded with ${DEFAULT_SUB_LIB} lib
## Parameters
transcode in out: Transcode in file
in : Path to the file to transcode
out: The output file name
transcode -l in [ in [...]]
in [ in .. ]: Transcode in file(s) with the same name into ${DEFAULT_OUT_BASE_PATH}
Spaces will be replaced by a dot
Extension will be replaced by ${OUTFILE_EXTENSION}
transcode -s: Stop transcode processes
## Configuration
There are global variables at the beginning of this script, such as:
- the path of ffmpeg (${FFMPEG_PATH})
- the output file extension (${OUTFILE_EXTENSION})
- supported video formats (${SUPPORTED_VIDEO_FORMAT})
- etc...
If you want to configure this script with your need, please update these variables