torch2424 / live-stream-radio

24/7 live stream video radio station CLI / API 📹 📻
https://torch2424.github.io/live-stream-radio/
240 stars 64 forks source link

Keep Getting this Error When starting my Stream #164

Open DoctorVonnegut141 opened 3 years ago

DoctorVonnegut141 commented 3 years ago

Error: ffmpeg exited with code 1: Output with label 'videooutput' does not exist in any defined filter graph, or was already used elsewhere.

at ChildProcess.<anonymous> (/home/pi/.config/nvm/versions/node/v16.0.0/lib/node_modules/live-stream-radio/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
at ChildProcess.emit (node:events:365:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

anything I can do to get it to keep running?

torch2424 commented 3 years ago

Oh I've yet to see someone have "Output with label 'videooutput' does not exist in any defined filter graph". I'd maybe ask, are all of your paths correct for your config / command? :thinking:

DoctorVonnegut141 commented 3 years ago

Paths are all correct, my ffmpeg libraries were giving me some problems so I referred to an earlier issue and downloaded ffmpeg with a h.264 library I also kept my ffmpeg path in the config.json file empty - I don’t know if I was supposed to put in a pathway there 🤔

andresceron commented 3 years ago

I got that too but on specific song earlier today, and it was due to the metadata of the artist/song that was using tilde. Hope this help you!

torch2424 commented 3 years ago

@andresceron Ahhhh! That would make sense.

Did you see the above @DoctorVonnegut141 ? I think that could totally cause an issue, because when I pass the song data to FFMPEG, or bash, it could be intepreted by their special syntax and cause issues :upside_down_face:

Let me know if that is the issue or not :smile: :+1:

(And again! Thank you @andresceron :pray: :smile: )

andresceron commented 3 years ago

No problem @torch2424 glad to help! And btw, I love your project, it is very nice and love how you have coded it, very clean and easy to understand and read 💪