fosdem-recorder.cr/README.md

76 lines
2.3 KiB
Markdown
Raw Permalink Normal View History

2021-02-07 13:40:32 +00:00
2023-02-05 18:46:11 +00:00
[![Build Status](https://cicd.apps.glenux.net/api/badges/glenux/fosdem-recorder.cr/status.svg)](https://cicd.apps.glenux.net/glenux/fosdem-recorder.cr)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Donate on patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://patreon.com/glenux)
2021-02-07 13:40:32 +00:00
# FOSDEM Recorder
2022-08-21 13:47:55 +00:00
A tool to schedule FOSDEM recordings and help you record the 5+ talks you
2023-02-05 15:35:35 +00:00
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).
2021-02-07 20:45:08 +00:00
2021-02-07 13:40:32 +00:00
## Installation
2023-02-05 15:35:35 +00:00
If you have Crystal 1.7+ installed on your system:
shards install
shards build
sudo cp bin/fosdem-recorder /usr/local/bin/fosdem-recorder
2021-02-07 13:40:32 +00:00
2023-02-05 15:35:35 +00:00
If you don't have crystal, you can also build it with docker:
2021-02-07 13:40:32 +00:00
2023-02-05 15:35:35 +00:00
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
2021-02-07 20:45:08 +00:00
2021-02-07 13:40:32 +00:00
## Usage
2023-02-05 15:35:35 +00:00
### Get information about given URL
2021-02-07 13:40:32 +00:00
2023-02-05 15:35:35 +00:00
Syntax:
2021-02-07 20:45:08 +00:00
2023-02-05 15:35:35 +00:00
```shell-session
$ fosdem-recorder info EVENT_URL
```
2021-02-07 13:40:32 +00:00
2023-02-05 15:35:35 +00:00
Real example:
2021-02-07 13:40:32 +00:00
2023-02-05 15:35:35 +00:00
```shell-session
$ 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
```
2021-02-07 20:45:08 +00:00
2023-02-05 15:35:35 +00:00
### Schedule video download for given URL
2021-02-07 13:40:32 +00:00
2023-02-05 15:35:35 +00:00
Syntax:
2021-02-07 13:40:32 +00:00
```shell-session
2023-02-05 15:35:35 +00:00
$ fosdem-recorder download EVENT_URL
2021-02-07 13:40:32 +00:00
```
2023-02-05 15:35:35 +00:00
Real example:
2021-02-07 20:41:13 +00:00
2023-02-05 15:35:35 +00:00
```shell-session
$ 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
```
2021-02-07 20:41:13 +00:00
## Contributing
2023-02-05 15:35:35 +00:00
Send bug reports and patches by email to <opensource@glenux.net>
2021-02-07 20:45:08 +00:00