Post subject: wtf is youtube doing?
Joined: 3/18/2006
Posts: 971
Location: Great Britain
Why is this video being stretched to fill the player? http://www.youtube.com/watch?v=hOXYj00f88M It was uploaded in 320x240 like the video below. http://www.youtube.com/watch?v=hl7JY1sOjzE Is there any way to stop this? It has only just started happening on my account for newly uploaded videos.
Editor, Expert player (2330)
Joined: 5/15/2007
Posts: 3934
Location: Germany
Things I'd try > Reupload it and see if it gets fixed > Re-encode with a different setting (trim the video differently by 1 frame or something) and reupload > Add borders to make it 16:9 by default. So add 53 black pixels left and 53 black pixels right.
Language: Avisynth

avisource("your video.avi") addborders(53,0,53,0) #pointresize(last.width*3,last.height*3) # would make it 720p if you want
EDIT: Probably, instead of adding borders it is a better idea to lay the video on a 16:9 blankclip. That should prevent any unwanted stretching and if you use the script below, it will make your video 720p in the process.
Language: Avisynth

vid = avisource("your video.avi") vid.pointresize(vid.width*3, vid.height*3) overlay(blankclip(vid, width=1280, height=720),last, x=159)
If you try, please tell me if it works. ----- I had a different problem yesterday. I uploaded an MP4 of 13 minutes length and when I opened the page it would tell 13 minutes but immediately change to 6 minutes and only show half the video. I fixed it by encoding differently (different --crf in x264).
Publisher
Joined: 4/23/2009
Posts: 1283
In fullscreen, it's 4:3 for me, though I'm on a 4:3 display... Edit: You can use the yt:stretch=4:3 tag to fix it. More info here: http://support.google.com/youtube/bin/answer.py?hl=en&answer=146402
Publisher
Joined: 4/23/2009
Posts: 1283
MUGG wrote:
I had a different problem yesterday. I uploaded an MP4 of 13 minutes length and when I opened the page it would tell 13 minutes but immediately change to 6 minutes and only show half the video. I fixed it by encoding differently (different --crf in x264).
YouTube doesn't like MP4s, try remuxing in MKV instead next time.
Guga
He/Him
Joined: 1/17/2012
Posts: 838
Location: Chile
And not using FLAC.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11486
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
And brushing your teeth.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
And use Layer() for videos in RGB colorspace.
Post subject: This problem stopped by itself on next videos uploaded.
Joined: 3/18/2006
Posts: 971
Location: Great Britain
Btw, this problem fixed itself. Or.... The next video I uploaded didn't get screwed. Btw, even the 4:3 resize tag didn't work! Thanks for the scripts, MUGG. But luckily the video that I uploaded wasn't important, so I didn't try. And my FF7 videos follow the same process: Dump with camstudio lossless Upload to YouTube if filesize is acceptable If big size, compress with x264 placebo preset, crf 0 Always PCM uncompressed audio.