add readme
This commit is contained in:
parent
0268220853
commit
4b51e44fa7
1 changed files with 39 additions and 0 deletions
39
README.md
Normal file
39
README.md
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Render pan.do/ra edit into mp4
|
||||||
|
|
||||||
|
process currently consists of 2 stages:
|
||||||
|
|
||||||
|
- create a json edl for the edit
|
||||||
|
- extract clips and encode to a single mp4
|
||||||
|
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
# OS X
|
||||||
|
|
||||||
|
- install brew (https://brew.sh/)
|
||||||
|
- install dependencies
|
||||||
|
|
||||||
|
brew instlal python3
|
||||||
|
brew instlal git
|
||||||
|
brew install libvpx libvorbis libopus
|
||||||
|
brew install ffmpeg --with-libvpx --with-libvorbis --with-libopus
|
||||||
|
|
||||||
|
pip3 install ox
|
||||||
|
|
||||||
|
- install pandora_render
|
||||||
|
|
||||||
|
git clone https://code.0x2620.org/0x2620/pandora_render.git
|
||||||
|
|
Loading…
Reference in a new issue