Skip to content
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

Is there an upper limit for the size of files to be converted? #195

Open
OpenGreenStreet opened this issue May 27, 2024 · 13 comments
Open

Comments

@OpenGreenStreet
Copy link

I've been waiting 24 hours for two movies (2.5 and 3.5 GB) to be finished that won't finish...
I seem to remember that 2GB is somehow a limit, but it is not mentioned?

See also:
https://commons.wikimedia.org/wiki/Commons_talk:Hochladen#%22Auf_diesem_Wiki_sind_Dateien_mit_der_Endung_%E2%80%9E.MP4%E2%80%9C_nicht_zul%C3%A4ssig.%22

@OpenGreenStreet
Copy link
Author

video2commons

@sikanderiqbal
Copy link

Also have two items stuck at a "Your task is being aborted..." message

@OpenGreenStreet
Copy link
Author

In principle, my experience has been good. But there seems to be a size limit. If so, where is the limit and why is it not indicated?

@Yannf
Copy link
Collaborator

Yannf commented Jul 4, 2024

Actually it depends on the bitrate. With the current setting (crf=20), it tends to create files with a high Mbps (megabit/s) quality. So if the original file is already of a high quality, it won't increase the file size, but it will if the file is of a low quality.

@OpenGreenStreet
Copy link
Author

@Yannf Okay, thanks for the feedback. How long (minutes) or large (Mbyte) can an MP4 be if the bit rate is 20000 kBit/s?

@Yannf
Copy link
Collaborator

Yannf commented Jul 6, 2024

The bitrate is an information about the quality. The size of the video will mainly depend on the length. Example: VP9, length 1 h 18 min 6 s, 1,424 × 1,080 pixels, 4.74 Mbps overall, file size: 2.58 GB, or AV1, length 24 min 18 s, 1,440 × 1,072 pixels, 2.26 Mbps overall, file size: 393.09 MB.

@OpenGreenStreet
Copy link
Author

@Yannf thanks, the real question that interests me is: where is the limit at which a video is too large for reliable conversion?

In my opinion, it would be important to specify this limit or to cancel the upload if the limit is exceeded. (This way, the user would not have to start a pointless attempt and wait uselessly/endlessly).

@Yannf
Copy link
Collaborator

Yannf commented Jul 7, 2024

There is no fixed limit, but in my experience, the resulting videos are 2 to 3 times the size of the MP4 original ones. So videos smaller than 1 GB are always OK, and I could not upload videos bigger than 1.7 GB. In between, it depends. I managed to upload one 1.6 GB video, while several 1.3 GB videos failed. Once the 4 GB limit is removed (hopefully soon, replaced by a 5 GB one), bigger videos could be uploaded.

@OpenGreenStreet
Copy link
Author

@Yannf : Thank you again for your feedback. Exactly, that's what I mean. I would very much like these experiences to be displayed as a note when uploading.

@don-vip
Copy link
Collaborator

don-vip commented Jul 25, 2024

New code deployed, can you please try again?

@OpenGreenStreet
Copy link
Author

First attempt. I am just about to start a second attempt

@OpenGreenStreet
Copy link
Author

@don-vip
Thank you very much for your effort. I would be very happy if it were now possible to convert large videos.
The conversion is now running: 20180404 xl P1000739-Spaziergang-durchs-Annatal-oben-von-Alte Schlagmühle-zum-Schwanenteich-April-2018.convert.test
Best regards

@OpenGreenStreet
Copy link
Author

@don-vip
Unfortunately, the conversion failed. I have tried to document this with screenshots (see here: https://commons.wikimedia.org/wiki/Category:Commons.toolforge.org.error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants