-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Failed pre-check for video info error #449
Comments
Personally I prefer to stay on the OG myself (personal preference and a reluctance to be skippy with forks in general with software), but if you're willing to switch forks that's no problem. :) Just follow along: Settings > Advanced > "Select a downloader" Nothing Docker specific, you can all do it from within the app itself. :) Hope it helps. Let me know if you need anything else :) |
Oh, thanks. I thought it was very hard to change. Log : |
Yeah I thought that is strange but I already pressed Save button. |
Keep us updated, if it fails again maybe @Tzahi12345 can figure it out better than I could. Just in case you might want to trail the log as it loads up and share a snippet of that. Can't really help with Synology specifically here, but the log will be in the appdata folder (the path defined as |
I reinstalled many times and also downgraded but the problem occured again. 2021-09-16T06:13:03.942Z INFO: Cannot find config file. Creating one with default values... |
You can also try yt-dlp if you're on the latest nightly. Someone else did see the exact same error, and it looks like their solution worked. Check it out and let me know how it goes! |
Depending on what kinds of arguments you use you might want to find out if the fork you switch to uses them differently or dropped support for them. For example I know that youtube-dlp (I think) uses a light version of the info json. There is a flag to write the classic format to disk though. Just as a little explanation why specifically with youtube-dl I'm extremely conservative. |
I actually specifically asked the dev to add an argument to keep more info in the JSON, otherwise it would be impossible for us to use. But yeah definitely something to keep in mind! |
Thank you for your effort, and I solved it by unlocking all firewall settings for private ip.
However, I installed the nightly version to use dlp, but it was not executed due to the following error. Now, there is no reason for me to install the nightly version since I have solved my problem, but I'm simply informing you for bug report.
2021-09-17 00:18:48 stdout internal/modules/cjs/loader.js:818
2021-09-17 00:18:46 stdout error: Script restart attempt #1
2021-09-17 00:18:46 stdout error: Forever detected script exited with code: 1
2021-09-17 00:18:46 stdout }
2021-09-17 00:18:46 stdout requireStack: [ '/app/db.js', '/app/app.js' ]
2021-09-17 00:18:46 stdout code: 'MODULE_NOT_FOUND',
2021-09-17 00:18:46 stdout at Function.Module._load (internal/modules/cjs/loader.js:708:14) {
2021-09-17 00:18:46 stdout at Module.load (internal/modules/cjs/loader.js:863:32)
2021-09-17 00:18:46 stdout at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
2021-09-17 00:18:46 stdout at Module._compile (internal/modules/cjs/loader.js:999:30)
2021-09-17 00:18:46 stdout at Object.<anonymous> (/app/app.js:13:16)
2021-09-17 00:18:46 stdout at require (internal/modules/cjs/helpers.js:74:18)
2021-09-17 00:18:46 stdout at Module.require (internal/modules/cjs/loader.js:887:19)
2021-09-17 00:18:46 stdout at Function.Module._load (internal/modules/cjs/loader.js:708:14)
2021-09-17 00:18:46 stdout at Module.load (internal/modules/cjs/loader.js:863:32)
2021-09-17 00:18:46 stdout at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
2021-09-17 00:18:46 stdout at Module._compile (internal/modules/cjs/loader.js:999:30)
2021-09-17 00:18:46 stdout at Object.<anonymous> (/app/db.js:12:29)
2021-09-17 00:18:46 stdout at require (internal/modules/cjs/helpers.js:74:18)
2021-09-17 00:18:46 stdout at Module.require (internal/modules/cjs/loader.js:887:19)
2021-09-17 00:18:46 stdout at Function.Module._load (internal/modules/cjs/loader.js:667:27)
2021-09-17 00:18:46 stdout at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
2021-09-17 00:18:46 stdout - /app/app.js
2021-09-17 00:18:46 stdout - /app/db.js
2021-09-17 00:18:46 stdout Require stack:
2021-09-17 00:18:46 stdout Error: Cannot find module 'rxjs'
2021-09-17 00:18:46 stdout
2021-09-17 00:18:46 stdout ^
2021-09-17 00:18:46 stdout throw err;
2021-09-17 00:18:46 stdout internal/modules/cjs/loader.js:818
2021-09-17 00:18:42 stdout [33mwarn[39m: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
2021-09-17 00:18:42 stdout [33mwarn[39m: --minUptime not set. Defaulting to: 1000ms
[ And repeat ]
|
And I'm now curious is there any way to encode video file to h264 in ytdl-material?
Since I'm using mac and ios, I cannot play vp9 and opus(not sure) codec not using third-party player. So I'd like to change it to h264 and aac, or anything else.
I found there is --encoding option, but I couldn't find how to use it.
If you don't mind, can you tell me how to use it?
|
Running into the same error:
etc etc... This is on the latest nightly after the first try to start it up. This is with the downloader fork set to regular youtube-dl. So it's not because of that I think. |
You can look up the documentation for youtube-dl here: https://github.com/ytdl-org/youtube-dl/blob/master/README.md#workarounds I linked you right to the relevant part. Unfortunately the documentation doesn't get much more specific than that. Maybe if you just pass HEVC (that should be hardware-decoded on basically anything modern these days, in Apple land as well) it SHOULD work I guess? Not sure if it would also be advisable to force a container along with that, shouldn't be necessary though. Not sure anymore, haven't checked that in a while. Cheers and hope this is somewhat helpful. |
Oops missed an import! Should be fixed now. |
If anyone who uses synology or anything else suffers from the same problem as me, it would be nice to guide them to turn off the firewall. Really thanks for your help and I'll close this issue. |
Nice! Just gonna wait for DockerHub to catch up to the latest commit then and then it's party time! Can't wait to see the new download backend in action! :D |
We'll bring it to anyone's attention if raised directly again to us, additionally I created a notice page for Synology in the Wiki. :) https://github.com/Tzahi12345/YoutubeDL-Material/wiki/Synology |
Thanks :) |
works again |
Can confirm, seems pretty good so far, let's see how this one handles busy sub peaks :) |
Hi, I'm using YoutubeDL-Material with Synology Docker, and there is a problem with download.
When I enter youtube link to download the video, it fails.
Failed pre-check for video info: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json -o video/%(title)s.mp4 --write-info-json --print-json -f bestvideo+bestaudio --merge-output-format mp4 --write-thumbnail http://www.youtube.com/watch?v=qo7ae99w1IQ
And I attached a photo too.
I searched some issues and Tzahi said them to configure with Youtube DLC, not DL. But since I'm not familiar with docker environment, I don't know how to change to DLC.
Can you give me how to do it or is there something more great way to fix this problem?
Thanks.
The text was updated successfully, but these errors were encountered: