Spark-NF / hls-downloader

Download HLS streams in NodeJS
Apache License 2.0
71 stars 31 forks source link

Error Converting #19

Open Boa-Thomas opened 2 years ago

Boa-Thomas commented 2 years ago

This is what I get when trying to download a video, even the .ts file(in the temp folder) doesnt open `All segments received, stopping Spawning FFMPEG ffmpeg -y -loglevel warning -i C:\Users\aless\AppData\Local\Temp/hls-downloader/1640816067608.ts -c copy -bsf:a aac_adtstoasc video.mp4 ffmpeg stderr: C:\Users\aless\AppData\Local\Temp/hls-downloader/1640816067608.ts: Invalid data found when processing input

ffmpeg closed with status 1 node:internal/process/promises:246 triggerUncaughtException(err, true / fromPromise /); ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "ffmpeg closed with status 1".] { code: 'ERR_UNHANDLED_REJECTION' }`

AFwcxx commented 2 years ago

I've got similar error as well:

All segments received, stopping
Spawning FFMPEG ffmpeg -y -loglevel warning -i /tmp/hls-downloader/1661524758019.ts -c copy -bsf:a aac_adtstoasc video.mp4
ffmpeg stderr: /tmp/hls-downloader/1661524758019.ts: Invalid data found when processing input

ffmpeg closed with status 1
err ffmpeg closed with status 1