live-stream-radio icon indicating copy to clipboard operation
live-stream-radio copied to clipboard

Keep Getting this Error When starting my Stream

Open DoctorVonnegut141 opened this issue 4 years ago • 5 comments

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?

DoctorVonnegut141 avatar Apr 29 '21 20:04 DoctorVonnegut141

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:

torch2424 avatar May 01 '21 01:05 torch2424

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 🤔

DoctorVonnegut141 avatar May 01 '21 01:05 DoctorVonnegut141

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!

andresceron avatar May 01 '21 23:05 andresceron

@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: )

torch2424 avatar May 04 '21 00:05 torch2424

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 💪

andresceron avatar May 05 '21 11:05 andresceron