Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| c3tracker:setup [2022/09/04 17:44] – kunsi | c3tracker:setup [2026/08/19 14:36] (current) – commanderred | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | == Project setup | + | ## Project setup |
| * Create tracker project (you can also clone a matching project to have prefilled properties) | * Create tracker project (you can also clone a matching project to have prefilled properties) | ||
| Line 7: | Line 7: | ||
| * Compare project properties with previous instalment of the same event | * Compare project properties with previous instalment of the same event | ||
| - | optimal properties from current project | ||
| - | ``` | + | #### optimal properties from current project |
| - | Project | + | |
| - | Project.Slug eh19 | + | |
| - | Processing | + | |
| - | Processing.Loudnorm.Enable yes | + | |
| - | Processing.BasePath / | + | |
| - | Processing.Path.Intros / | + | |
| - | Processing.Path.Outro / | + | |
| - | Publishing | + | |
| - | Publishing.Path / | + | |
| - | Publishing.Upload.SkipSlaves speedy, | + | |
| - | Publishing.UploadOptions -i / | + | |
| - | Publishing.UploadTarget upload@releasing.c3voc.de:/ | + | |
| - | Publishing.Voctoweb.Enable yes | + | |
| - | Publishing.Voctoweb.Path / | + | |
| - | Publishing.Voctoweb.Thumbpath / | + | |
| - | Publishing.Voctoweb.Slug eh19 | + | |
| - | Publishing.Voctoweb.Tags easterhegg, | + | |
| - | Publishing.Voctoweb.Url https:// | + | |
| - | Publishing.YouTube.Category 27 | + | |
| - | Publishing.YouTube.Enable yes | + | |
| - | Publishing.YouTube.Privacy public | + | |
| - | Publishing.YouTube.Tags easterhegg, | + | |
| - | Publishing.YouTube.TitlePrefix Easterhegg 2019 - | + | |
| - | Publishing.YouTube.Token 1/ | + | |
| - | Publishing.Mastodon.Enable yes | + | |
| - | Publishing.Twitter.Enable yes | + | |
| - | Record | + | |
| - | Record.Container TS | + | |
| - | Record.Slides yes | + | |
| - | ``` | + | |
| - | === Worker Filter Examples | + | Replace `camp2023` with your chosen tracker project slug. |
| ``` | ``` | ||
| - | EncodingProfile.IsMaster=no | + | Meta.Acronym |
| - | EncodingProfile.IsMaster=yes | + | Meta.Album |
| - | EncodingProfile.IsMaster= | + | Meta.License |
| - | Fahrplan.Room=Servus.at Lab | + | Meta.Year |
| + | |||
| + | Processing.Auphonic.Enable | ||
| + | Processing.BasePath | ||
| + | Processing.MasterMe.Enable | ||
| + | Processing.Path.Intros | ||
| + | Processing.Path.Outro | ||
| + | |||
| + | Publishing.UploadTarget | ||
| + | Publishing.Tags | ||
| + | Publishing.Voctoweb.Enable | ||
| + | Publishing.Voctoweb.Path | ||
| + | Publishing.Voctoweb.Slug | ||
| + | Publishing.Voctoweb.Thumbpath | ||
| + | Publishing.YouTube.Category | ||
| + | Publishing.YouTube.Enable | ||
| + | Publishing.YouTube.Playlists | ||
| + | Publishing.YouTube.Privacy | ||
| + | Publishing.YouTube.Token | ||
| + | |||
| + | Record.Container | ||
| + | Record.EndPadding | ||
| + | Record.Slides | ||
| + | Record.StartPadding | ||
| ``` | ``` | ||
| + | ### Worker Filter Examples | ||
| - | == Pipeline setup during event | + | |
| + | # get all non-master tickets | ||
| + | EncodingProfile.IsMaster=no | ||
| + | |||
| + | # get all master tickets | ||
| + | EncodingProfile.IsMaster=yes | ||
| + | |||
| + | # get all recording tickets | ||
| + | EncodingProfile.IsMaster= | ||
| + | |||
| + | # get all tickets in this room. | ||
| + | Fahrplan.Room=Servus.at Lab | ||
| + | |||
| + | |||
| + | Please note that the conditions in the " | ||
| + | |||
| + | Specifying a property with an empty value, which is often done for `EncodingProfile.IsMaster`, | ||
| + | |||
| + | |||
| + | {{.: | ||
| + | ## Pipeline setup during event | ||
| During event setup of the pipeline, you have to decide if you want leave the MPEG TS snippets only on the [[hardware: | During event setup of the pipeline, you have to decide if you want leave the MPEG TS snippets only on the [[hardware: | ||
| - | === centralised storage (rsync) | + | ### Simple: single-room setup (Variant |
| - | The first variant is typically used for events with more than one room. For bigger events we use the dedicated [[hardware:event-storage|storage]] server in the event server rack, for smaller events a USB connected hard drive to one of the minions might be sufficient. Each recording cube exposes the files via rsyncd, which are pulled by an rsync process running inside a screen on the storage pc. | + | {{drawio> |
| - | For each encoderX start rsync on the central storage: `sudo systemctl start rsync-from-encoder@encoderX.lan.c3voc.de` | ||
| - | Then, start tracker workers on storage: `sudo systemctl start crs-worker.target` | + | This variant is practical if you have only one room, or at least one release encoder (aka [[hardware:Minion]]) for each recording encoder PC. |
| + | When using this variant with multiple rooms in one Tracker project (like at JEV22), you also have to set room filters in the tracker | ||
| - | ==== Minion setup | + | For every worker: |
| + | * set `EncodingProfile.IsMaster | ||
| + | * (set room filters in tracker e.g. `Fahrplan.Room | ||
| - | To allow the encoding workers to do their job, they need to mount the storage first: `sudo crs-mount <storage location> | + | For every recoding cube: |
| + | * start tracker worker: `sudo systemctl start crs-worker.target` | ||
| - | After mounting, you can start the tracker encoding | + | For each minion: |
| + | * mount filesystems from encoder cube: `sudo crs-mount <storage location> | ||
| + | * start tracker | ||
| + | |||
| + | |||
| + | <panel type=" | ||
| + | |||
| + | ### centralised storage (rsync) (Variant B) | ||
| + | |||
| + | {{drawio> | ||
| + | |||
| + | |||
| + | This variant is typically used for events with more than one room. | ||
| + | |||
| + | For bigger events we use the dedicated [[hardware: | ||
| + | |||
| + | sudo ip a add dev br0 10.73.200.24/ | ||
| + | |||
| + | |||
| + | Each recording encoder exposes the files via rsyncd, which are pulled by an rsync process running on this storage machine. | ||
| + | |||
| + | |||
| + | For each encoderX start rsync on the storage machine: | ||
| + | |||
| + | sudo systemctl start rsync-from-encoder@encoderX.lan.c3voc.de | ||
| + | |||
| + | If you use a minion as storage machine, you have start the tracker manually (on storage.lan.c3voc.de they are started by default): | ||
| + | |||
| + | sudo systemctl start crs-worker.target | ||
| | | ||
| - | ==== Cube as worker | + | which starts |
| + | |||
| + | - crs-recording-scheduler (A) | ||
| + | - crs-mount4cut.service | ||
| + | - crs-cut-postprocessor | ||
| + | - crs-encoding0, | ||
| + | - crs-postencoding | ||
| + | - crs-postprocessing | ||
| + | |||
| + | |||
| + | |||
| + | #### Minion | ||
| + | |||
| + | To allow get additional release encoding workers on the (other) minions, you need to connect to these an mount the storage machine first: | ||
| + | |||
| + | ssh minionX.lan.c3voc.de | ||
| + | sudo crs-mount <storage location> | ||
| + | |||
| + | After mounting, you can start the tracker encoding workers: | ||
| + | |||
| + | sudo systemctl start crs-encoding0.service | ||
| + | |||
| + | The virtual minion' | ||
| + | |||
| + | |||
| + | #### Encoder PCs as release encoding workers | ||
| + | |||
| + | At small events, when all talks are finished for today, you can use the recording encoder PCs to encode master MP4 files. | ||
| + | |||
| + | First – stop voctocore: | ||
| - | At small events, when the talks are finished for today, you can use the recording cubes to encode master MP4 files. | + | sudo systemctl stop voctomix2-voctocore |
| - | First: Stop voctocore. | ||
| The rest is very similar to above, but with different mounts so `/ | The rest is very similar to above, but with different mounts so `/ | ||
| - | ```bash | + | |
| - | sudo mount -t cifs -o uid=voc, | + | sudo mount -t cifs -o uid=voc, |
| - | sudo mount -t cifs -o uid=voc, | + | sudo mount -t cifs -o uid=voc, |
| - | sudo mount -t cifs -o uid=voc, | + | sudo mount -t cifs -o uid=voc, |
| - | sudo mount -t cifs -o uid=voc, | + | sudo mount -t cifs -o uid=voc, |
| - | ``` | + | |
| | | ||
| - | === decentralised classic (Variant 2) | ||
| - | The second variant is only practical if you have at least one release encoder (aka [[hardware: | + | ### decentralised pipeline |
| - | For every worker: | + | <panel type=" |
| - | * set room filters in tracker | + | |
| - | For every recoding cube: | + | Similar to variant B, but extended to work with multiple rooms. Instead of using rsync, recorded snippets remain on the encoding cubes and ''/ |
| - | * start tracker | + | |
| - | For each minion: | + | Tracker filters have to be set only for the recording cubes, minions do not require any filters (but on smaller events without many minions, a '' |
| - | * mount filesystems from encoder cube: `sudo crs-mount <storage location> | + | |
| - | * start tracker scripts | + | |
| - | === decentralised pipeline (Variant 3) | + | On recording encoder PCs start the following systemd units: |
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| - | <panel type=" | + | On all minions, including |
| - | Similar to variant 2, but the release encoder (minion) only mounts the / | + | mkdir -p / |
| + | | ||
| + | mount.cifs -o uid=voc, | ||
| + | ... | ||
| - | You have to set the room filters only for the recording cubes, the minions can process talks independently. | + | On all minions except |
| - | Modify '' | + | mount.cifs -o uid=voc, |
| - | * On recording cubes: comment out steps '' | + | |
| - | * On release encoders: comment out steps '' | + | |
| - | After modification, start the workers via the main screenrc on both recording cubes and release encoders: | + | Finally on all minions, including the one acting as storage, start the following systemd units: |
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| - | sudo ./start screenrc-pipeline | ||
| + | #### Old example with systemd units and case 1 and 5, which was used during jev22 in Munich: | ||
| - | ==== Example with case 5 and 6: | + | {{drawio> |
| - | on recording cube, without intros either copy or mount the intros from their source | + | optional: configure `10.73.0.2` (aka `storage.lan.c3voc.de`) on the master minion as secondary ip |
| + | |||
| + | sudo ip a add dev br0 10.73.200.24/ | ||
| + | |||
| + | on recording cubes, mount or copy the intros from their source – here `storage.lan.c3voc.de` | ||
| + | |||
| + | sudo mount -t cifs -o password= {// | ||
| + | sudo systemctl start crs-recording-scheduler | ||
| + | sudo systemctl start crs-mount4cut | ||
| + | sudo systemctl start crs-cut-postprocessor | ||
| + | |||
| + | # check if everything is running as expected – you might have to disable/ | ||
| + | sudo systemctl status -n 0 crs-* | ||
| + | |||
| + | |||
| + | on master minion (in this example `storage.lan.c3voc.de`) | ||
| + | |||
| + | |||
| + | mkdir -p / | ||
| + | mount -t cifs -o password= {// | ||
| + | mount -t cifs -o password= {// | ||
| + | |||
| + | sudo systemctl start crs-encoding | ||
| + | sudo systemctl start crs-postencoding | ||
| + | sudo systemctl start crs-postprocessing | ||
| + | |||
| + | # check if everything is running as expected – you might have to disable/ | ||
| + | sudo systemctl status -n 0 crs-* | ||
| + | |||
| + | |||
| + | //(ensure that samba is installed on this master minion aka storage)// | ||
| + | |||
| + | |||
| + | on other minions | ||
| + | |||
| + | mkdir -p / | ||
| + | mount -t cifs -o uid=voc, | ||
| + | mount -t cifs -o uid=voc, | ||
| + | mount -t cifs // | ||
| + | mount -t cifs -o password= // | ||
| + | mount -t cifs -o password= // | ||
| + | mount -t cifs -o password= {// | ||
| + | |||
| + | |||
| + | |||
| + | #### Old example with custom screenrc and case 5 and 6: | ||
| + | |||
| + | on recording cube, without intros either copy or mount the intros from their source | ||
| sudo mount -t cifs -o password= {// | sudo mount -t cifs -o password= {// | ||
| Line 126: | Line 249: | ||
| on master minion (in this example minion5) | on master minion (in this example minion5) | ||
| - | ``` | ||
| - | mount -t cifs -o password= // | ||
| - | mount -t cifs -o password= // | ||
| - | mount -t cifs -o password= // | ||
| - | cd / | ||
| - | sudo ./start screenrc-pipeline # with steps D, E, F | ||
| - | ``` | + | mount -t cifs -o password= // |
| + | mount -t cifs -o password= // | ||
| + | mount -t cifs -o password= // | ||
| + | cd / | ||
| + | sudo ./start screenrc-pipeline # with steps D, E, F | ||
| //(ensure that samba is installed on this master minion)// | //(ensure that samba is installed on this master minion)// | ||
| on other minions | on other minions | ||
| - | ``` | ||
| - | mount -t cifs -o password= {// | ||
| - | mount -t cifs -o password= {// | ||
| - | mount -t cifs // | ||
| - | mount -t cifs -o password= // | ||
| - | mount -t cifs -o password= // | ||
| - | mount -t cifs -o password= {// | ||
| - | cd / | ||
| - | sudo ./start screenrc-encoding-only # only step E | ||
| - | ``` | ||
| + | mount -t cifs -o password= {// | ||
| + | mount -t cifs -o password= {// | ||
| + | mount -t cifs // | ||
| + | mount -t cifs -o password= // | ||
| + | mount -t cifs -o password= // | ||
| + | mount -t cifs -o password= {// | ||
| + | cd / | ||
| + | sudo ./start screenrc-encoding-only # only step E | ||