kyriesent/node-rtsp-stream

you should add some ffmpeg's params like this

kingyazh opened this issue · 2 comments

this.spawnOptions = [ ...this.frontFlags, "-i", this.url, ...this.midFlags, '-f', 'mpegts', '-codec:v', 'mpeg1video', // additional ffmpeg options go here ...this.additionalFlags, '-' ]

let me check that with the library but if it doesn't work I recommend dividing it into microservices

@kingyazh I might add an option to do something like:

ffmpegOptionsOverride: [ whatever you want ]
}

and just drop it straight in. Thoughts?