View Full Version : Youtube Upload Error - 10 min Video Labeled as 23 min
Shinji-kun
17th October 2010, 18:26
I have recently been having a problem with a video I have uploaded to youtube several failed times.
The video is 10:50 minutes and 108.81 MB. However when the video finishes processing on youtube, it always says "error video length" and the video length displays as 23:24.
I know that the video absolutely is NOT 23 minutes long yet it constantly gives this error. And this error only occurs with this video; others did not have this problem. Does anyone know what the problem is, or a list of uploading software that could avoid this?
Shinji-kun
17th October 2010, 22:47
Hm. No replies.
yetanotherid
18th October 2010, 06:35
Hm. No replies.
I know nothing about YouTube uploading but it sounds like you have one particular video file that's corrupted in some way.
What format are you uploading in? Can you convert it to a YouTube friendly format yourself so it won't have to be converted when you upload it?
Lighto
18th October 2010, 09:19
Read somewhere that youtube have issues with VBR.
Does your upload happen to be encoded with VBR?
Dark Shikari
18th October 2010, 09:27
Read somewhere that youtube have issues with VBR.
Does your upload happen to be encoded with VBR?All video is VBR.
Youtube has an incredibly broken backend which is among the worst in the world. Re-encode your file to something simple like MPEG-4 SP in AVI and hope it works.
Ghitulescu
18th October 2010, 09:33
Isn't there the 10 minutes limit and/or 100MB limit? If so, then you have 50 seconds more and/or 8 extra MB ...
Lighto
18th October 2010, 10:51
Isn't there the 10 minutes limit and/or 100MB limit? If so, then you have 50 seconds more and/or 8 extra MB ...
The new java uploader for youtube has a 15 minutes limit and didn't state any file size limit.
http://www.google.com/support/forum/p/youtube/thread?tid=0c841f1f87d1a9f4&hl=en
Guess the VBR I read about was regarding the audio sync.:o
Shinji-kun
18th October 2010, 15:29
The upload limit for all youtube users increased to 15 min. Every single other MKV file I have uploaded to YT has had no issues. Another clip from the same exact video file uploaded fine as well.
That only leaves hacking. It is quite obvious that some control freak loser is hacking my youtube account and making certain videos have errors. It is also clear that such a person would be able to view this thread. So if said loser is looking at this thread, CONTROL YOURSELF, DOUCHE.
mike20021969
18th October 2010, 15:39
Isn't there the 10 minutes limit and/or 100MB limit? If so, then you have 50 seconds more and/or 8 extra MB ...
15 minutes and no bigger than 2GB - yes, 2GB - for ordinary users.
Videos can be...
High Definition
Up to 2 GB in size.
Up to 15 minutes in length.
A wide variety of formats
However when the video finishes processing on youtube, it always says "error video length" and the video length displays as 23:24.
After processing, is the video available to watch?
Lighto
18th October 2010, 16:08
To be honest, I would avoid uploading video content in .mkv container.
I had successfully uploaded .mkv video files to youtube and megavideo before but some times it just pisses me off when they tell me that there is a conversion error.
I am not sure if this is related to your problem though as I did not encounter the video length error before.
mike20021969
18th October 2010, 16:18
Although you mentioned successfully uploading MKV files, it isn't on the list of formats accepted. Strange.
Here's the list of some well-known formats which YouTube supports:
WebM files (Vp8 video codec and Vorbis Audio codec)
.MPEG4, 3GPP and MOV files - (typically supporting h264 and mpeg4 video codecs and AAC audio codec)
.AVI (Many cameras output this format - typically the video codec is MJPEG and audio is PCM)
.MPEGPS (Typically supporting MPEG2 video codec and MP2 audio)
.WMV
.FLV (Adobe - FLV1 video codec, MP3 audio)
http://www.google.com/support/youtube/bin/answer.py?answer=55744
Shinji-kun
18th October 2010, 17:42
^ Matroska falls under the MPEG4 (H264) category.
The video is still not successfully uploading. It uploads completely, gets to 99% processed and then it gives the error: "Rejected (length of video is too long)" even though the file is in fact 10:50 min. long and 108 MB.
I re-cut the 10 min. clip and tried uploading again and the same error/bug occurred. The argument that the entire file must be corrupt doesn't hold up because if that were the case, the other clip from the same file should also receive this error but it doesn't.
I will repeat my question: why is this error occurring and is there any uploading software that could perhaps fix the issue?
And ghitulescu I thought this site wasn't for "feeding" answers to people; why are you posting here? :eek: I find your posting to be rude and at best completely unhelpful. Frankly don't bother posting in my threads from now on.
Lighto
18th October 2010, 17:49
^ Matroska falls under the MPEG4 (H264) category.
The video is still not successfully uploading. It uploads completely, gets to 99% processed and then it gives the error: "Rejected (length of video is too long)" even though the file is in fact 10:50 min. long and 108 MB.
I re-cut the 10 min. clip and tried uploading again and the same error/bug occurred. The argument that the entire file must be corrupt doesn't hold up because if that were the case, the other clip from the same file should also receive this error but it doesn't.
I will repeat my question: why is this error occurring and is there any uploading software that could perhaps fix the issue?
And ghitulescu I thought this site wasn't for "feeding" answers to people; why are you posting here? :eek: I find your posting to be rude and at best completely unhelpful. Frankly don't bother posting in my threads from now on.
The only other youtube uploader I know apart from their own basic uploader would be their newer java uploader.
Shinji-kun
18th October 2010, 17:58
The only other youtube uploader I know apart from their own basic uploader would be their newer java uploader.
I tried uploading that way and the same error occurred.
EDIT: This thread (http://www.google.com/support/forum/p/youtube/thread?tid=11d5d76fd3b95b26&hl=en) was somewhat helpful but from what I read so far there is no resolution to the problem. The gist is that the Youtube encoder detects the video length from the audio length. Although I don't see how my audio could be being misread as 23 min and doubling video length. Besides, all the other videos I uploaded had the same exact specs (other than duration) as the video that is receiving the error, however only that 1 video is having the error. This makes me very suspicious.
yetanotherid
18th October 2010, 18:13
Try opening the MKV with either MKVToolnix or YAMB. Both are free and you'll find them with Google.
Using MKVToolnix check the compression setting for the audio and video stream and set them both to none. If it's the compression causing the problem then maybe when you re-save the video to a new MKV using MKVToolnix that'll fix it.
If not open the MKV with YAMB and re-save it as an MP4, then try to upload the MP4 instead.
I still think maybe the file is corrupt in some way.
Shinji-kun
18th October 2010, 18:45
I still think maybe the file is corrupt in some way.
If that is true then why wouldn't the second clip cut from the same file give this error?
yetanotherid
18th October 2010, 19:50
If that is true then why wouldn't the second clip cut from the same file give this error?
It could be a problem with the way the video and audio is muxed in the original file. I don't understand the workings of it but I've seen plenty of files which according to my media player will run (as an example) for 30 minutes, but at the 22 minute mark the video ends where it should and the player stops. That sort of thing.
If simply remuxing it doesn't fix a problem (it sometimes doesn't) then using YAMB or MKVCleaver to extract the raw video and audio streams from the original file, then creating a new MKV or MP4 using the raw streams often will.
Plus there's the MKV compression thing I mentioned. The video conversion program I use either freezes or spits out an error if I try to convert an MKV which uses compression. If I remux the MKV and disable the compression it converts the MKV without a problem.
And so far there seems not to be a more likely solution on offer. ;)
yetanotherid
18th October 2010, 20:02
Sorry I see earlier you said you recut the clip and it still failed. Does recut mean re-encoded or did you just edit out the same section again which could be corrupted?
If it's failing while a similar video is uploading maybe there's something odd going on such as the video and audio streams not being the same length which is confusing the YouTube converter. Maybe if you uploaded it as an MP4 instead of an MKV it'd cope. Maybe you could try extracting the audio from the file and playing it separately to make sure it's not longer than the video for some reason or not corrupted. Maybe remux the file while chopping a second off the end to make sure the audio and video end together.
It's all just guesswork as I don't know what the cause is but at least it's not a hacker theory. ;)
Shinji-kun
19th October 2010, 14:42
I remuxed the video to an mp4 and reuploaded it but the same error occurred.
Lighto
22nd October 2010, 13:39
Not sure if this is related to your problem, I was splitting up videos recently and I found out the video split by mkvmerge double in length after uploading to youtube as well.
I managed to overcome this problem by splitting the file using file size instead.
Shinji-kun
22nd October 2010, 17:32
I cannot use file size mode as I need to cut at specific times. Also I do have MKVMerge GUI v4.2. I even remuxed the file with the original AC3 audio from the DVD, as the youtube thread said the AAC audio might have caused a doubled duration but that didn't work either.
To be blunt, I think my youtube account is merely being hacked. I have NEVER had any other problems with video durations doubling after uploading, using the same exact software and settings. I even cut a clip from the same video file that I cut the one giving me the error from and guess what, no error for that video. So I don't believe the "maybe the video file is corrupt" theory for a second. I have never throughout all my encoding, seen only part of a video be corrupt.
Lighto
22nd October 2010, 17:45
I cannot use file size mode as I need to cut at specific times. Also I do have MKVMerge GUI v4.2. I even remuxed the file with the original AC3 audio from the DVD, as the youtube thread said the AAC audio might have caused a doubled duration but that didn't work either.
To be blunt, I think my youtube account is merely being hacked. I have NEVER had any other problems with video durations doubling after uploading, using the same exact software and settings. I even cut a clip from the same video file that I cut the one giving me the error from and guess what, no error for that video. So I don't believe the "maybe the video file is corrupt" theory for a second. I have never throughout all my encoding, seen only part of a video be corrupt.
You can test out your theory by creating a test youtube account to upload your video.
If your theory is proven wrong then the next thing you can try will be to cut/trim the clip using avisynth script with MeGUI or StaxRip.
yetanotherid
22nd October 2010, 19:16
I cannot use file size mode as I need to cut at specific times.
Well it's a bit of extra work but if you cut at specific times, then work out how big each junk is, you can the re-split the file using those size pieces.
Keep in mind when you simply cut a video file it has to be cut on a key frame. Whether one occurs right where you want to cut is luck, otherwise your cut could be many seconds off your desired point anyway.
When you say you re-muxed the file, did you open the MKV and re-save it as MP4 or did you start from scratch?
I'd be opening the file with YAMB or MKVCleaver and extracting the raw audio and video from the file, then use the raw streams to create a new file. I'm not sure how likely it'd be, but at least then you'd know you're not re-muxing existing corruption.
To be blunt, I think my youtube account is merely being hacked. I have NEVER had any other problems with video durations doubling after uploading, using the same exact software and settings. I even cut a clip from the same video file that I cut the one giving me the error from and guess what, no error for that video. So I don't believe the "maybe the video file is corrupt" theory for a second. I have never throughout all my encoding, seen only part of a video be corrupt.
It doesn't sound likely. Your account being hacked and the end result is you can keep uploading all video, except for one??
And how does it follow that for a file to be corrupt it all has to be corrupt?
I've had a situation.... and I can't for the life of me remember the exact circumstances.... but I've converted video which has possibly contained blank frames and when the audio and video is muxed together, the player skips over the blank frames to continue playing the audio. Maybe that's not what was actually happening but I do remember the encode was taken from a double sided DVD and things went haywire when I joined them together. I distinctly remember watching the player count off the seconds till it got to the join, which might have been 45 minutes in (2700 seconds) and then the player instantly went from 2700 seconds to 2790 seconds and kept going. To fix it I had to save the video, split it in half, delete the problem frames, resync the audio in each half and then join it all back together.
While that example is probably completely unrelated to your problem there's probably also about 1000 other ways a video file can have "errors" as such that you' or I have never seen.
What about the audio headers? I've seen dozens of audio files where they're simply wrong. The player may open the audio file, it'll state it has a duration of "x" but it's just reading the header and in reality the audio ends long before "x". I assume the header/tag information is retained in the audio stream after it's muxed into a video file, but I'm not sure. However if the YouTube uploader is simply reading the duration information in the header....
If it were me, I'd extract the audio and video to raw files, if the AC3 audio is known to cause problem open it in a player and check the duration information is the same as it's actual length (and the same as the video) and if all looks okay mux them into a new file, if not, fix it first.
I even cut a clip from the same video file that I cut the one giving me the error from and guess what, no error for that video.
Well I'd be header towards the exact opposite conclusion which you've come to under those circumstances. Couldn't you have cut a clip from a part of the video which has no errors? Or if you for example cut the clip in half and each half uploaded without error, could it be the process of splitting the file fixed a problem which simply remuxing the whole file didn't?
Ghitulescu
22nd October 2010, 19:41
Try repacking your movie into another container, like WMV or AVI.
Yoshiyuki Blade
24th October 2010, 10:45
I've run into this double-length problem recently and I can't pinpoint the problem as of yet. I've transcoded and uploaded 2 videos pretty much exactly the same way in the same container. They are different from each other, but were from a single segment that was split and transcoded separately. The 1st one works fine while the 2nd one consistently screws up. Both were in MP4. Tried remuxing the 2nd clip to MKV and the upload didn't fail from double-length problem. However, everything was gray with a glitchy green artifact.
It could possibly have something to do with the audio and video not being perfectly aligned, but I'm not too sure yet. The only thing suspiciously different about the 2nd clip is that there's 1-2 seconds of pitch blackness before the video fades in. However, I've also added dim, grayscale logos on the borders of the video (it's 4:3) and the problem persists. Is there anything exotic that x264 does under this condition that would screw up youtube's decoder? Or perhaps youtube itself has trouble coping with this particular condition? I dunno.
SeeMoreDigital
24th October 2010, 13:31
As a matter of interest...
At what point are YouTube videos muxed into the .MP4 container and not the .FLV container? And what .MP4 muxing application do they use?
I'm interested because has anybody else noticed that all Windows versions of QuickTime Pro after v7.62.14.0 "duplicates" the video element when saving/re-muxing MPEG-4 AVC+AAC in .MP4 sources to the .MOV container?
I wonder if there may be some correlation?
trolltuning
24th October 2010, 17:51
I think you get a 20 gig limit if you use the Java uploader. However I tried to upload a 5 gig file and it projected an 8 hour upload. Also the resume broken upload ability seems to be mostly a future capability.
Motenai Yoda
24th October 2010, 21:52
maybe the audio or other track than video is 23min length?
Zarxrax
26th October 2010, 00:53
Use xvid with avi container and CBR mp3 audio, and it will work.
AlekseiV
26th October 2010, 11:10
This is a rare-but-definitely-happens-too-much issue with YouTube. I've seen a few people get it. Your video isn't corrupt and your account isn't hacked; it's YouTube's fault. It's very hard to reproduce on purpose without using the exact same input you had and encoding to the same settings with the same x264 version.
I remuxed the video to an mp4 and reuploaded it but the same error occurred. Try running 'my' MP4 fixer on it: http://sovietpride.su/lp/GNF_MP4_fixer.zip
Drag and drop the MP4 onto FIXMP4.cmd.
Made it a bit over a month ago while I was trying to debug this same problem; it has about a 50% success rate from what I've seen (not just my own files).
As for what it does:
// oldffmpeg.exe is an FFmpeg build from March; it works extremely faster than September's doing this.
> MP4box.exe -raw 1 file.mp4 //dump raw video
> MP4box.exe -single 2 file.mp4 //remux audio to own MP4
> oldffmpeg.exe -i file_track1.h264 -i file_track2.mp4 -vcodec copy -acodec copy file.NEW.mp4
// ^^ put these back into an MP4, doing it directly on the original MP4 does NOT work
// then tests the .NEW file's filesize to make sure it worked, deletes temp files, renames it to file_FIXED.mp4
I have no clue why this works at all but on my admittedly small number of samples (~4, only 1 being mine) it's fixed 50%. Note that it expects H.264/AAC in MP4, feeding it anything else will probably break horribly.
If it doesn't work, re-encode your source with x264 over and over using different settings. I recommend just using --preset fast --crf 18 or similar. Try using Main or Baseline, too.
God, YouTube sucks sometimes.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.