No description
Find a file
2024-05-22 10:46:26 +02:00
edits add render_public_edits 2024-04-18 11:17:30 +02:00
edit.py remove unused keys 2024-04-19 09:24:51 +02:00
ffmpeg.py fix subtitle rendering 2024-05-22 10:46:26 +02:00
README.md cleanup osx install notes 2021-08-10 09:48:00 +02:00
render_public_edits.py add render_public_edits 2024-04-18 11:17:30 +02:00

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

macOS

  • install brew (https://brew.sh/)

  • install dependencies

      brew install python3 git ffmpeg
      pip3 install ox
    
  • install pandora_render

      git clone https://code.0x2620.org/0x2620/pandora_render.git
    

Linux

  • install dependencies

      sudo apt install python3 python3-pip git ffmpeg
      sudo pip3 install ox
    
  • install pandora_render

      git clone https://code.0x2620.org/0x2620/pandora_render.git