pandora_render/README.md

49 lines
1.2 KiB
Markdown
Raw Normal View History

2018-02-26 08:33:41 +00:00
# Render pan.do/ra edit into mp4
process currently consists of 2 stages:
2018-03-14 11:29:07 +00:00
- create a json edl for the edit
- extract clips and encode to a single mp4
2018-02-26 08:33:41 +00:00
# create json edit
$ python3 edit.py <edit url>
if the url to the edit includes the sort order, i.e. year, this will be used,
you will be asked to enter your username, password for the site.
There are 2 modes, by default the video is downloaded from the site, you can also use a local backend to use the source material, for that, pass -s local and possibly set a prefix -p /Cinema (otherwise the prefix will be taken from pandora_client configuration)
# encode video
$ python3 ffmpeg.py <playlist.json>
This will create playlist.mp4
2018-03-14 11:32:01 +00:00
# macOS
2018-02-26 08:33:41 +00:00
- install brew (https://brew.sh/)
- install dependencies
2018-03-14 11:25:41 +00:00
brew instlal python3
brew instlal git
2018-03-14 11:27:31 +00:00
brew install libvpx libvorbis
2018-03-14 11:25:41 +00:00
brew install ffmpeg --with-libvpx --with-libvorbis --with-libopus
pip3 install ox
2018-02-26 08:33:41 +00:00
- install pandora_render
2018-03-14 11:25:41 +00:00
git clone https://code.0x2620.org/0x2620/pandora_render.git
2018-03-14 11:31:09 +00:00
# Linux
- install dependencies
2018-09-12 10:17:38 +00:00
sudo apt install python3 python3-pip git ffmpeg
2018-03-14 11:31:09 +00:00
sudo pip3 install ox
- install pandora_render
git clone https://code.0x2620.org/0x2620/pandora_render.git