youtube-dl into ffmpeg
This commit is contained in:
9
Snippets/Youtube-dl into ffmpeg.md
Normal file
9
Snippets/Youtube-dl into ffmpeg.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Benötigt `youtube-dl`, `parallel` und `ffmpeg`.
|
||||||
|
|
||||||
|
Holt sich die direkte Video-URL via youtube-dl und piped die Video und Sound-Url direkt in ffmpeg.
|
||||||
|
|
||||||
|
Ermöglicht alles was ffmpeg kann, z.B. herauschneiden eines Clips:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
youtube-dl -g [url] | parallel -ss [start] -N 2 ffmpeg -i {1} -i {2} -map 0:v -map 1:a -t [time] -c copy out.webm
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user