mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 01:45:15 +00:00
일단은 임시저장, 스트리밍의 실마리를 잡았다
This commit is contained in:
8
streamAndDownload.sh
Executable file
8
streamAndDownload.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
YTDLP_CMD=$1
|
||||
DOWNLOAD_ID=$2
|
||||
FFMPEG_CMD=$3
|
||||
|
||||
$YTDLP_CMD -o - --quiet --ignore-errors -f bestaudio https://youtu.be/$DOWNLOAD_ID | \
|
||||
$FFMPEG_CMD -i - -hide_banner -ar 48000 -ac 2 -c:a libopus -f ogg -
|
||||
Reference in New Issue
Block a user