toolforge / video2commons

Transfer video and audio from external sites to Commons.
https://video2commons.toolforge.org/
GNU General Public License v3.0
43 stars 24 forks source link

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

Open OpenGreenStreet opened 4 months ago

OpenGreenStreet commented 4 months ago

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 commented 4 months ago

video2commons

devsikander commented 4 months ago

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

OpenGreenStreet commented 4 months ago

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 commented 3 months ago

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 commented 3 months ago

@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 commented 3 months ago

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 commented 3 months ago

@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 commented 3 months ago

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 commented 3 months ago

@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 commented 2 months ago

New code deployed, can you please try again?

OpenGreenStreet commented 2 months ago

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

OpenGreenStreet commented 2 months ago

@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 commented 2 months ago

@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)