mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Allow specifying the output format
i.e. the output file extension passed to ffmpeg
This commit is contained in:
parent
46d2654cfa
commit
cbb0d6cfbd
@ -36,6 +36,18 @@ Download by ID:
|
||||
twitch-dl download 377220226
|
||||
```
|
||||
|
||||
Specify output format:
|
||||
|
||||
```
|
||||
twitch-dl download --format=avi 377220226
|
||||
```
|
||||
|
||||
Partial download by setting start and end time (hh:mm or hh:mm:ss):
|
||||
|
||||
```
|
||||
twitch-dl download --start=00:10 --end=02:15 377220226
|
||||
```
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
youtube-dl(1)
|
||||
|
@ -50,7 +50,8 @@ COMMANDS = [
|
||||
"type": str,
|
||||
}),
|
||||
(["-w", "--max_workers"], {
|
||||
"help": "maximal number of threads for downloading vods concurrently (default 5)",
|
||||
"help": "maximal number of threads for downloading vods "
|
||||
"concurrently (default 5)",
|
||||
"type": int,
|
||||
"default": 20,
|
||||
}),
|
||||
@ -64,6 +65,12 @@ COMMANDS = [
|
||||
"type": time,
|
||||
"default": None,
|
||||
}),
|
||||
(["-f", "--format"], {
|
||||
"help": "Video format to convert into, passed to ffmpeg as the "
|
||||
"target file extension (default: mkv)",
|
||||
"type": str,
|
||||
"default": "mkv",
|
||||
}),
|
||||
],
|
||||
),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user