0.0.34 • Published 4 years ago

live-recorder v0.0.34

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Live Recorder

Live Recorder is a cli tool to record live stream

Features

  • prioritize recording integrity by using relatively aggresive strategy to make sure all chunks are downloaded

Installation

$ npm i -g live-recorder

Getting Started

Start recording with default configurations:

$ live-recorder https://showroom-live.com/nekojita

Specify output filename:

$ live-recorder -o my-nekojita https://showroom-live.com/nekojita

Make an appointment in future:

$ live-recorder --start-at '12:00 tomorrow' https://showroom-live.com/nekojita

Enable verbose mode:

$ live-recorder --verbose https://showroom-live.com/nekojita

More cli options can be found in sections of corresponding providers below

Supported Sites

SiteURL
SHOWROOMhttps://www.showroom-live.com/
AbemaTVhttps://abema.tv/
radikohttps://radiko.jp/
LineLivehttps://live.line.me/
Twitterhttps://twitter.com/
Instagramhttps://instagram.com/
M3U8-

Tools

Merge

This tool merges m2ts chunks into mp4 file

$ live-recorder tools merge /a/b/chunks /a/b/output.mp4

Filter files using glob:

$ live-recorder tools merge --filter '*.ts' /a/b/chunks /a/b/output.mp4

Specify starting chunk or ending chunk:

$ live-recorder tools merge --start 2.ts --end 893 /a/b/chunks /a/b/output.mp4

Confirm all inquiries:

$ live-recorder tools merge -y /a/b/chunks /a/b/output.mp4

dry run:

$ live-recorder tools merge --dry /a/b/chunks /a/b/output.mp4

Download

This tool downloads file

$ live-recorder tools download https://abc.com/example.ts

Specify output:

$ live-recorder tools download https://abc.com/example.ts -o test.ts

SHOWROOM

Record live chat:

$ live-recorder --type livechat https://showroom-live.com/nekojita

AbemaTV

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content video,chunks,m3u8,info https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Specify user token:

$ live-recorder --token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXYiOiJkZmE1ZWI1ZC0wMDM5LTQ1MzUtOTIwYi00N2RjMDVkODlkNWUiLCJleHAiOjIxNDc0ODM2NDcsImlzcyI6ImFiZW1hLmlvL3YxIiwic3ViIjoiNXZ2ekZDYVgzeGN3M3EifQ.woiwLthcwRCaLb0ppEbaqxuWq4PFMFs_3oUeM2lO40c https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Specify download concurrency:

$ live-recorder --concurrent 8 https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Disable hash in generated filename:

$ live-recorder --no-hash https://abema.tv/channels/special-plus/slots/CVRwLESD4GsvQw

Set token in configuration:

$ live-recorder abematv login --token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkZXYiOiJkZmE1ZWI1ZC0wMDM5LTQ1MzUtOTIwYi00N2RjMDVkODlkNWUiLCJleHAiOjIxNDc0ODM2NDcsImlzcyI6ImFiZW1hLmlvL3YxIiwic3ViIjoiNXZ2ekZDYVgzeGN3M3EifQ.woiwLthcwRCaLb0ppEbaqxuWq4PFMFs_3oUeM2lO40c

radiko

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content audio,cover,chunks,m3u8 'http://radiko.jp/#!/ts/LFR/20200702010000'

Specify login info:

$ live-recorder --mail test123@example.com --password password 'http://radiko.jp/#!/ts/LFR/20200702010000'

Specify download concurrency:

$ live-recorder --concurrent 8 'http://radiko.jp/#!/ts/LFR/20200702010000'

Disable hash in generated filename:

$ live-recorder --no-hash 'http://radiko.jp/#!/ts/LFR/20200702010000'

Set login info in configuration:

$ live-recorder radiko login --mail test123@example.com --password password

LineLive

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content video,chunks,m3u8 https://live.line.me/channels/12345/broadcast/12345678

Specify download concurrency:

$ live-recorder --concurrent 8 https://live.line.me/channels/12345/broadcast/12345678

Disable hash in generated filename:

$ live-recorder --no-hash https://live.line.me/channels/12345/broadcast/12345678

Twitter

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content merged,chunks,m3u8 https://twitter.com/abcde/status/1285960853611850000

Specify download concurrency:

$ live-recorder --concurrent 8 https://twitter.com/abcde/status/1285960853611850000

Disable hash in generated filename:

$ live-recorder --no-hash https://twitter.com/abcde/status/1285960853611850000

Instagram

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content video,chunks,mpd https://instagram.com/abcde

Specify download concurrency:

$ live-recorder --concurrent 8 https://instagram.com/abcde

Disable hash in generated filename:

$ live-recorder --no-hash https://instagram.com/abcde

Specify username:

$ live-recorder --username alice https://instagram.com/abcde

Logout:

$ live-recorder instagram logout

M3U8

Specify interval to refetch playlist for live stream.

$ live-recorder --interval 500 https://test.com/playlist.m3u8

Specify recording content, since you may want to have more information other than stream.

$ live-recorder --content merged,chunks,m3u8 https://test.com/playlist.m3u8

Specify download concurrency:

$ live-recorder --concurrent 8 https://test.com/playlist.m3u8

Disable hash in generated filename:

$ live-recorder --no-hash https://test.com/playlist.m3u8
0.0.33

4 years ago

0.0.34

4 years ago

0.0.32

4 years ago

0.0.30

4 years ago

0.0.29

4 years ago

0.0.27

4 years ago

0.0.28

4 years ago

0.0.26

4 years ago

0.0.24

4 years ago

0.0.25

4 years ago

0.0.22

4 years ago

0.0.23

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.6

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago