This commit is contained in:
Linrador 2025-10-24 13:05:38 +02:00
parent d97baf1a01
commit c5993a05e0
2 changed files with 5 additions and 0 deletions

View File

@ -438,8 +438,13 @@ func handleM3U8Mode(m3u8URL, outArg string) error {
fmt.Println("📦 Starte Download mit ffmpeg:", outFile)
cmd := exec.Command(
"ffmpeg",
"-nostdin", "-y",
"-fflags", "+genpts",
"-i", m3u8URL,
"-c", "copy",
"-bsf:a", "aac_adtstoasc",
"-movflags", "+frag_keyframe+empty_moov+default_base_moof",
"-f", "mp4",
outFile,
)
cmd.Stdin = os.Stdin

Binary file not shown.