jrudess / streamdvr

DVR for streaming entertainment
GNU General Public License v3.0
65 stars 16 forks source link

Broken recording with ffmpeg #137

Closed purrsevere closed 5 years ago

purrsevere commented 5 years ago

With all debugging options enabled, the error message I get is simply "-c: No such file or directory" in the $streamer.log output file. The terminal output repeats the same "not found in capturing directory, cannot convert to mp4" error message every second.

Streamlink records fine.

Versions: streamdvr: 0.13.0 node: v12.1.0 ffmpeg: 4.1.3 streamlink: 1.1.1 youtube-dl: 2019.05.11

jrudess commented 5 years ago

I'm not able to replicate yet. Can you post a sanitized config.yml and site.yml?

jrudess commented 5 years ago

I've pushed all my latest mods into master branch, just in case one of them happened to fix this without me realizing it. Some of those mods do affect how 'paths' are built up as strings, and this error does seem path/file related.

purrsevere commented 5 years ago

The latest commit did not fix this. I have tried on MacOS, Debian and even my docker container. Non of them work with the ffmpeg recording option.

All I'm doing is downloading the latest source code, running npm install, adding a streamer that's online to test and then node streamdvr.

From what I can tell, it looks like the URL is not being passed correctly to the script. If you manually type in the ffmpeg script and leave out the URL you can see that same error.

purrsevere commented 5 years ago

I just pushed a new build of the container with today's changes in a new branch for testing. You can run it with docker run purrsevere/streamdvr-docker:typescript. (Once it's done building on Docker Hub)

Maybe that will help figure out what's going on.

jrudess commented 5 years ago

I'm still on node v11.15.0. Will test with v12 releases.

jrudess commented 5 years ago

Have reproduced the problem, looking into it.

jrudess commented 5 years ago

Does 38d3c896e5597edc31b78936b1c7591d0b0d5595 resolve it for you?

purrsevere commented 5 years ago

That did it! Thanks!