Spark-NF / hls-downloader

Download HLS streams in NodeJS
Apache License 2.0
73 stars 32 forks source link

ffmpeg error: Unsafe file name #23

Open midzdotdev opened 2 years ago

midzdotdev commented 2 years ago

With the mergeUsingFfmpeg flag as true, I'm greeted with this error from ffmpeg which causes the concat to fail.

[Received: ...]

All segments received, stopping
Spawning FFMPEG ffmpeg -y -loglevel warning -f concat -i ffmpeg-input.txt -c copy /var/folders/34/hd4djspn12l773v88w8h7slh0000gn/T/hls-downloader/1667897884655.ts
ffmpeg stderr: [concat @ 0x7fe494305b80] Unsafe file name '/var/folders/34/hd4djspn12l773v88w8h7slh0000gn/T/hls-downloader/1667897884655/seg-1-v1-a1.ts'

ffmpeg stderr: ffmpeg-input.txt: Operation not permitted

ffmpeg closed with status 1

I'm on macOS Ventura, and I'm not sure what's up.