WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

339

I uploaded an MP3 audio file and titled it:

  • Saga - Ode to a Dying People (Live in London 2009, with White Nationalists) (Rahowa cover)

It uploaded properly:

I just went to upload the MP4 video file that the MP3 audio file was saved from and tried to give it the same title, but it is a completely different file - larger size and an MP4 video file.

After going through slowly uploading it (slow net), it hit 92% and went into upload finalization. It then gave me an error saying that the file I just uploaded has already been uploaded to vid8 and it sent me back to the upload page.

As this video did not already exist on vid8, I guessed that it was just that the title of this MP4 upload matched the title of the MP3 upload.

I dropped the MP4 file back on and dropped the "(Rahowa cover)" portion of the title so it would be a different title:

  • Saga - Ode to a Dying People (Live in London 2009, with White Nationalists)

I expected it to resume the upload and finalize now that I had altered the title to being unique. It did go back to the processing page and showed 92% progress on the upload, but it then reset to 0% after a few seconds and proceeded to reupload the video again from the start.

If possible, could a check be made upon hitting to upload a file, but prior to initiating the upload, to see if the chosen title for the upload already matches an existing upload so that we can have a chance to alter the title before uploading and avoid needing to reupload the file all over again please?

EDIT: Or perhaps instead of sending back to the upload page after it detects the duplicate title, allow the chosen title to be altered right there from the processing page so that the uploaded file can be finalized without needing to start all over again?

I uploaded an MP3 audio file and titled it: - Saga - Ode to a Dying People (Live in London 2009, with White Nationalists) (Rahowa cover) It uploaded properly: - https://vid8.poal.co/user/Khro_/5oSpVwg I just went to upload the MP4 video file that the MP3 audio file was saved from and tried to give it the same title, but it is a completely different file - larger size and an MP4 video file. After going through slowly uploading it (slow net), it hit 92% and went into upload finalization. It then gave me an error saying that the file I just uploaded has already been uploaded to vid8 and it sent me back to the upload page. As this video did not already exist on vid8, I guessed that it was just that the title of this MP4 upload matched the title of the MP3 upload. I dropped the MP4 file back on and dropped the "(Rahowa cover)" portion of the title so it would be a different title: - Saga - Ode to a Dying People (Live in London 2009, with White Nationalists) I expected it to resume the upload and finalize now that I had altered the title to being unique. It did go back to the processing page and showed 92% progress on the upload, but it then reset to 0% after a few seconds and proceeded to reupload the video again from the start. - https://vid8.poal.co/user/Khro_/CXRMJxK If possible, could a check be made upon hitting to upload a file, but prior to initiating the upload, to see if the chosen title for the upload already matches an existing upload so that we can have a chance to alter the title before uploading and avoid needing to reupload the file all over again please? EDIT: Or perhaps instead of sending back to the upload page after it detects the duplicate title, allow the chosen title to be altered right there from the processing page so that the uploaded file can be finalized without needing to start all over again?

(post is archived)

[–] 1 pt

Let me check the logs, because it doesn't matter if titles are identical, checking for duplicates uses file hashes/signatures, which means two different files and formats shouldn't end up with the same hash.

[–] 1 pt (edited )

Another thought.

I had uploaded the full 3-song video prior to cropping the 2nd song to its own mp4. https://vid8.poal.co/user/Khro_/GyJAvhN

If the mp4 for the cropped 2nd song somehow maintained the hash of the full video, perhaps that was the video vid8 thought already existed. If that is the case, it should've given me the same 'already exists' error when I tried to upload it again with a different title, but it uploaded successfully with only the title for the upload being changed.

Perhaps it was just some odd set of circumstances with the upload that caused the upload to be detected as already existing.

[–] 1 pt

Ah. That was the only thing I could think of that might've caused the issue, especially as it allowed it to upload after making the titles no longer match.

Yeah, it wasn't like I cropped the video first and then converted the mp4 to mp3. They were done at separate times with the mp3 done first from the longer video with one program, and I even re-encoded that, and then cut the mp4 from the long video.

Perhaps it was due to taking me like a half an hour to upload the 20mb video very slowly.

Much earlier I had uploaded the mp3 for the first song from the 3-song set. After I uploaded that I saw that it had the wrong duration and still said it was the full 13min+ of the full 3-song video. I deleted that upload, re-encoded the mp3 for that song and re-uploaded that song now that it had the proper duration.

Just noting that so you see what happened with me deleting an upload prior to doing this mp4 upload later on.

[–] 1 pt

Alright, I found the culprit.

Upload code is checking for duplicate titles first, even if the files are different, then it compares hashes. But since it uses an async function, a race condition can occur (though it is very rare).

I'll update/fix that code later.

Thanks for the report!

[–] 1 pt (edited )

I'm very, very relieved! I was starting to fear that I was wasting your time with a false report and that it was due to me making an error and misremembering what I uploaded and that I did try to upload the wrong file the first time with one that actually did already exist.

Thank you very much for looking at that and finding that there was a cause for what I experienced!