I can't upload a 3.47 GB video, converted from mp4 to mpg using ffmpeg 7.1.1, using UploadWizard: file uploads completely (it takes 2 hours), and there is an error: Некорректное смещение фрагмента (translation from Russian: Incorrect fragment shifting). @Scott_French could you see? I could upload this file to Google Drive, so you could download it and try to reproduce the problem from yours PC.
Description
Related Objects
Event Timeline
@MBH - Thanks for the report. Let me see if I can find the right folks to investigate this further.
In the meantime, could you confirm the specific error message you encountered? Specifically, I'm wondering if it could have been "Недопустимое смещение фрагмента" which is used as the Russian translation for the invalid-chunk-offset error status.
Adding UploadWizard as well, given that the extension was in use here and (from a cursory glance at the relevant code path), this could be consistent with an incorrect offset provided by the client.
Edit: I forgot to add when posting this, that this logstash entry for a 3.47 GiB file upload failing with invalid-chunk-offset around 11:05 UTC today may be the specific case here (relevant callsite is here). Querying for that filekey, we can also see when the uploadstash table is updated following the previous chunk upload (index 613), and confirm that the offset matches that reported during the subsequent invalid-chunk-offset failure. That suggests that the offset provided by UploadWizard - which, alas, does not appear to be logged - may be incorrect.
Yes, you found my error. After second try a file was uploaded successfully, but it still can't be played in browser due to "Совместимые источники для этого видео отсутствуют" error: https://commons.wikimedia.org/wiki/File:Bobrovy_Log_rodelbahn.mpg Looks like we need to wait to encoding processes to be completed, but one of them (144p) is completed and a problem persists. (Why not to allow to upload to Commons in original mp4 format? I need to re-encode file on my PC locally (mp4 -> mpg), and after that file still needs to be re-encoded on Commons). Also Commons says that video's length is 0,2 s (really - 7 min), and has bitrate 3 kb/s (obviously wrong value too).
you really shouldn't be going from mp4 to mpeg. MPEG 1/2 is very old. You should be converting to VP9 or AV1 webm, that is the primary high quality format that we support.
With regard to mp4, see: T329258 (traditional reason, because mp4 is not a free format).
@TheDJ As far as I remebmer, I tried to convert my video to webm (using the same ffmpeg 7.1.1) before I converted it to mpg, but convertation to webm was extremely slow - several frames per second. Because video was 120fps and has length 7 minutes, it will take weeks to convert all of it to webm. Maybe there are settings to more fast convertation, but I don't know them, I just say "convert 1.mp4 -o 1.webm". Convertation to mpg was really fast.