-
Notifications
You must be signed in to change notification settings - Fork 6
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
Uploading of a video results in no cover/thumbnail — "Failed to Move Cover file" — "[Errno 2] No such file of directory" #214
Comments
@EMG70 can you include both?
Errors from pastebin Lines 1016-1290 below:
Related:
|
I've abbreviated @EMG70's answers above, to simplify testing:
|
Which other kinds of upload testing are most important? |
@EMG70, I successfully downloaded this video in my new VM. Does it work for you now? |
Ah I see. I will do upload check then, sorry. |
I reproduced the error. Working on it now... |
@deldesir can you please paste in FFmpeg's error, after running it on @EMG70's video at the command-line? Goal: Capture FFmpeg's error message and/or warning on this ticket, to illuminate very concrete details, Thanks! PS Use the exact same FFmpeg command-line flags/options/parameters as IIAB Calibre-Web's uploader.py below (if possible!) Lines 320 to 340 in 8b5ebff
|
Here it is:
Notice |
I'll address the deprecation messages and make the frame detection less strict. I need to make some research on this first. |
@deldesir thanks for both above:
|
A generic cover is already in use (https://github.com/iiab/calibre-web/blob/master/cps/static/generic_cover.jpg). Feel free to propose another one if necessary.
This error can be handled. I figured out it was because this specific video doesn't have a scene change significant enough to match the scene detection filter
I propose to add a failure detection to the subprocess and to rerun it without the scene detection filter when the initial run fails. |
Great, please make it failsafe (fault-tolerant) most important: Goal = Resilient + Reliable (NOT complexity!) Deluxe features (e.g. the "most elegant" possible thumbnail, ETC) can always be added at a later date. |
@EMG70 can you retry your 2-step process now, on a freshly installed or fully upgraded IIAB Calibre-Web?
Related: |
A new VM was created. The previously failed video yt-dlp https://youtu.be/RMM5N63d2DI with exclamation marks its title can now be uploaded successfully,downloading also tested OK. |
Short Notice from the maintainer
After 6 years of more or less intensive programming on Calibre-Web, I need a break.
The last few months, maintaining Calibre-Web has felt more like work than a hobby. I felt pressured and teased by people to solve "their" problems and merge PRs for "their" Calibre-Web.
I have turned off all notifications from Github/Discord and will now concentrate undisturbed on the development of “my” Calibre-Web over the next few weeks/months.
I will look into the issues and maybe also the PRs from time to time, but don't expect a quick response from me.
Please also have a look at our Contributing Guidelines
Describe the bug/problem
A clear and concise description of what the bug is. If you are asking for support, please check our Wiki if your question is already answered there.
To Reproduce
Steps to reproduce the behavior:
Go to ''https://www.youtube.com/watch?v=RMM5N63d2DI&list=PL2cADzwbKPk2JDfsxn6_-pDYfvCK9Fwfh&index=5"
Numbers in the Teens They start with a 1!!!! song clipnabber com RMM5N63d2DI.mp4
Click on "yt-dlp -S res,ext:mp4:m4a --recode mp4 https://www.youtube.com/watch?v=RMM5N63d2DI&list=PL2cADzwbKPk2JDfsxn6_-pDYfvCK9Fwfh&index=5"
Scroll down to '....'
See error
[1] 14573
[2] 14574
root@ThinkCentre:/home/edwin# [youtube] Extracting URL: https://www.youtube.com/watch?v=RMM5N63d2DI
[youtube] RMM5N63d2DI: Downloading webpage
[youtube] RMM5N63d2DI: Downloading ios player API JSON
[youtube] RMM5N63d2DI: Downloading android player API JSON
[youtube] RMM5N63d2DI: Downloading m3u8 information
[info] RMM5N63d2DI: Downloading 1 format(s): 135+140
[download] Numbers in the Teens They start with a 1!!!! song clipnabber com [RMM5N63d2DI].mp4 has already been downloaded
[VideoConvertor] Not converting media file "Numbers in the Teens They start with a 1!!!! song clipnabber com [RMM5N63d2DI].mp4"; already is in target format mp4
Logfile
https://dpaste.com/6ELYQTMWW
Add content of calibre-web.log file or the relevant error, try to reproduce your problem with "debug" log-level to get more output.
Expected behavior
Video's thumbnail is expected to upload successfully.
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
ubuntu@box:~$ hostnamectl
Static hostname: box
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: 79caaeb597524b9d96fd39c79a3cbb18
Boot ID: efc8827b49a847ec90822a9ffe062cd3
Virtualization: kvm
Operating System: Ubuntu Oracular Oriole (development branch)
Kernel: Linux 6.8.0-31-generic
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC Q35 + ICH9, 2009
Firmware Version: unknown
Firmware Date: Wed 2022-02-02
Firmware Age: 2y 5month 2d
Additional context
Add any other context about the problem here. [e.g. access via reverse proxy, database background sync, special database location]
The text was updated successfully, but these errors were encountered: