일단은 임시저장, 스트리밍의 실마리를 잡았다

This commit is contained in:
2025-01-30 22:57:01 +09:00
parent 3186561818
commit c2cb16c6d7
19 changed files with 368 additions and 81 deletions

8
streamAndDownload.sh Executable file
View 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 -