Alright, code updated.
Duplicates are now properly detected.
You won't be able to accidentally upload an identical file twice (no matter the name/title).
Alright, code updated.
Duplicates are now properly detected.
You won't be able to accidentally upload an identical file twice (no matter the name/title).
Did you extract the audio from the video and upload it yourself to Vid8?
The video was of a 3-song set. I cropped the audio from the portion for the 2nd song and saved it as an MP3, re-encoded it and uploaded that successfully.
(*After a while when I got time to do it) I then cropped the portion of the 3-song video for just the second song and saved it as an MP4 file. It had a slightly different start and end length to the MP3 as I cropped the video using a different program than I did for the audio and tried to upload that. The file sizes and formats were different for both the MP4 and the MP3.
The only thing that was the same between the two uploads was that the title I was attempting to give to the MP4 matched the MP3 that I already uploaded.
I believe it gave me the error of the video already existing as I was giving the MP4 upload the same title as the MP3 I had already uploaded.
It allowed me to upload the MP4 successfully once I altered the title for it so that it no longer matched the existing MP3 upload and tried again.
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.
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.
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.
(post is archived)