fosdem-recorder.cr/README.md
2023-02-05 19:46:11 +01:00

2.3 KiB

Build Status License Donate on patreon

FOSDEM Recorder

A tool to schedule FOSDEM recordings and help you record the 5+ talks you wanted to attend at the same time.

Only for the impatient who can't wait for the official videos to be made available (usually this happens a few days after the event).

Installation

If you have Crystal 1.7+ installed on your system:

shards install
shards build
sudo cp bin/fosdem-recorder /usr/local/bin/fosdem-recorder

If you don't have crystal, you can also build it with docker:

docker run --name fosdem-recorder \
    -v $(pwd):/app crystallang/crystal:1.7.1 \
    sh -c "cd /app && shards install && shards build"
docker cp fosdem-recorder:/app/bin/fosdem-recorder fosdem-recorder
docker rm fosdem-recorder
mv fosdem-recorder /usr/local/bin/fosdem-recorder

Usage

Get information about given URL

Syntax:

$ fosdem-recorder info EVENT_URL

Real example:

$ fosdem-recorder info https://fosdem.org/2023/schedule/event/nasa/
Loading data from https://fosdem.org/2023/schedule/event/nasa/
FOSDEM 2023 - Open Source Software at NASA
* event start  = 2023-02-05 17:00:00 +01:00
* event stop   = 2023-02-05 17:50:00 +01:00
* event length = 00:51:00 (from now: 01:20:00)
* stream url   = https://stream.fosdem.org/janson.m3u8

Schedule video download for given URL

Syntax:

$ fosdem-recorder download EVENT_URL

Real example:

$ fosdem-recorder download https://fosdem.org/2023/schedule/event/nasa/
Loading data from https://fosdem.org/2023/schedule/event/nasa/
Command: echo ffmpeg -i https://stream.fosdem.org/janson.m3u8 -c copy -bsf:a aac_adtstoasc -movflags frag_keyframe+empty_moov+default_base_moof+faststart -t 01:19:00 "FOSDEM-2023-Open-Source-Software-at-NASA.mp4" | at 17:00 2023-02-05
warning: commands will be executed using /bin/sh
job 635 at Sun Feb  5 17:00:00 2023

Contributing

Send bug reports and patches by email to opensource@glenux.net