Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monking/transcode-web-video
Quickly transcode a source video to MP4, OGV, and WebM, with scale, bitrate, and screengrab options.
https://github.com/monking/transcode-web-video
Last synced: 26 days ago
JSON representation
Quickly transcode a source video to MP4, OGV, and WebM, with scale, bitrate, and screengrab options.
- Host: GitHub
- URL: https://github.com/monking/transcode-web-video
- Owner: monking
- Created: 2014-02-13T00:44:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-18T19:46:56.000Z (over 10 years ago)
- Last Synced: 2024-08-03T16:09:45.760Z (4 months ago)
- Language: Shell
- Size: 203 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-video - monking/transcode-web-video - Quickly transcode a source video to MP4, OGV, and WebM, with scale, bitrate, and screengrab options. - monking/transcode-web-video (Encoding / Talks Presentations Podcasts)
README
Vid2Web
=======Transcode videos of any format into MP4, OGV, and WebM.
Installation
------------On Mac, use [homebrew](http://brew.sh/) to install ffmpeg and mplayer with the
necessary codecs:brew uninstall ffmpeg
brew install --with-theora --with-libvorbis --with-libvpx --with-webm ffmpeg
brew install mplayerMove the this folder to someplace permanent, such as your Documents folder.
Open Terminal and do:mkdir -p ~/bin
ln -s ~/Documents/transcode-web-video/vid2web ~/bin/
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrcUsage
-----vid2web -i source.mov -o outputdir/ -s 720x480 -g 30
will give you the following files, in a new folder called `compressed`:
compressed/
| output.mp4
| output.ogv
| output.webm
| output.jpgEscape wildcards in `-i`, like `\*.mp4`.
### Options
`-i` Path to source video files.
`-o` Path to output directory. By default videos are put in a directory next to
the input called `vid2web`.`-s` Size of the output video (like `1920x720`) -- default `640x360`.
`-b` Bitrate of the output video, in kbps -- default `1500k`. A 30-second video
at 1500 kbps will create a 6MB video.`-g` Time at which to grab a still image, as seconds -- default `0`. Use the
format `x5` to capture 5 images, equally spaced. Use the format `+5` to
capture an image every 5 seconds. Use `-G` to capture only images, and skip
transcoding videos.