VideoHelp Forum




+ Reply to Thread
Results 1 to 27 of 27
  1. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    (I hope this is the right place to post this)
    I have a video that is 1280x720. I have resized it to that as it used to be 1280x832 via VirtualDubMod. It appears that it has been cropped down to size, then streached back to 832 height. It has run through twice, the first time compressing it to XViD (and null transform) and the second time using direct stream copy and changing the audio track. Here are a few suspicious lines of MediaInfo:

    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 3:2
    Original display aspect ratio : 16:9

    Any idea what's wrong?



    FULL MEDIA INFO:
    General
    Complete name : F:\Videos\MC Automated\1 - Eggs!!!\COMPLETE 2.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    Format profile : OpenDML
    File size : 2.31 GiB
    Duration : 33mn 13s
    Overall bit rate : 9 949 Kbps
    Writing application : VirtualDubMod 1.5.10.2 (build 2542/release)
    Writing library : VirtualDubMod build 2542/release

    Video
    ID : 0
    Format : MPEG-4 Visual
    Format profile : Advanced Simple@L5
    Format settings, BVOP : 2
    Format settings, QPel : No
    Format settings, GMC : No warppoints
    Format settings, Matrix : Default (H.263)
    Muxing mode : Packed bitstream
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 33mn 13s
    Bit rate : 8 524 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 3:2
    Original display aspect ratio : 16:9
    Frame rate : 30.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.308
    Stream size : 1.98 GiB (86%)
    Writing library : XviD 1.0.1 (UTC 2004-06-05)

    Audio
    ID : 1
    Format : PCM
    Format settings, Endianness : Little
    Format settings, Sign : Signed
    Codec ID : 1
    Duration : 33mn 13s
    Bit rate mode : Constant
    Bit rate : 1 411.2 Kbps
    Channel(s) : 2 channels
    Sampling rate : 44.1 KHz
    Bit depth : 16 bits
    Stream size : 335 MiB (14%)
    Alignment : Aligned on interleaves
    Interleave, duration : 33 ms (1.00 video frame)
    Interleave, preload duration : 500 ms
    Quote Quote  
  2. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    unless you cropped off the 112 pixels top/bottom and cut off everyone's head and feet, yes it will look squished now. you changed the aspect ratio.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  
  3. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Somebody junked up the source, and now in thinking that you are going to "restore" it, you are junking it even further. Why? Why not just leave it somewhat junked as it already is?

    Scott
    Quote Quote  
  4. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    For further info on the video file I am working with:
    https://forum.videohelp.com/threads/356860-Good-Codec-for-Minecraft-YouTube-videos
    https://forum.videohelp.com/threads/356623-What-free-editing-program-can-_____

    Basically, I captured my screen, recorded a bit of extra height so I could crop off Bandicam logo at top, which I did so, but it appears to have stretched itself back to 832 height, despite the fact that in the properties window it says it's 1280x720. BTW, the videos are in XViD on YouTube when I look at them. WMP doesn't comprehend XViD, so I have to do my testing there.
    Quote Quote  
  5. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Just looked at YouTube's "Stats for nerds" (lol) and it said my video was 1100x720. If I PrtScr and paste it into paint and crop it down to size, I get 1280x832 (my moniter is 1280x1024). Interesting...
    Quote Quote  
  6. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    bump (Is it to early to bump? I'm new to videohelp...)
    Quote Quote  
  7. aBigMeanie aedipuss's Avatar
    Join Date
    Oct 2005
    Location
    666th portal
    Search Comp PM
    on youtube they'd be encoded to h264 as mp4 or flv.

    not sure what the question is? either upload the source to youtube or learn how to encode. youtube prefers h264 uploads over xvid. use square pixel 1:1 to stop the par/dar/sar aspect ratio problems.
    --
    "a lot of people are better dead" - prisoner KSC2-303
    Quote Quote  
  8. Originally Posted by quadrplax View Post
    BTW, the videos are in XViD on YouTube when I look at them.
    No they're not. You may have encoded it as an XviD, but YouTube reencodes everything and XviD isn't one of the video codecs they use. If you were to download the various versions available, you'd see.
    WMP doesn't comprehend XViD...
    Mine does, not that I ever use it. Did you install the XviD Codec?
    it said my video was 1100x720. If I PrtScr and paste it into paint and crop it down to size, I get 1280x832 (my moniter is 1280x1024).
    832p isn't one of the resolutions they use. It's going to be reencoded as 720p, scaling down the width in the process. You could download the video and check for yourself, but I don't think YouTube really reencoded it to 1280x832.
    Last edited by manono; 30th Jun 2013 at 17:11.
    Quote Quote  
  9. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    People don't seem to understand the problem. My original screen captured video is 832 pixels tall. I used the null transfrom feature to crop the video down to 720 pixels tall, without modifying the video. If I right click-properities on the final video, it claims it is 1280x720, as it should be, after I upload it to YouTube, it says my video is 1100x720. When I open it in full screen and take a screenshot, the size of what I am seeing is the original 1280x832, before using null transform. The video's aspect ratio, according to MediaInfo:

    Display aspect ratio : 3:2
    Original display aspect ratio : 16:9

    1100 by 720 simplifies to 55 by 36, not 3:2 or 16:9. My ultimate goal is to upload a widescreen, 16:9, 1280x720 video. Youtube appears to be stretching my video, not cropping it.

    Does that clear things up?
    Quote Quote  
  10. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Originally Posted by manono View Post
    Originally Posted by quadrplax View Post
    BTW, the videos are in XViD on YouTube when I look at them.
    No they're not. You may have encoded it as an XviD, but YouTube reencodes everything and XviD isn't one of the video codecs they use. If you were to download the various versions available, you'd see.
    WMP doesn't comprehend XViD...
    Mine does, not that I ever use it. Did you install the XviD Codec?
    it said my video was 1100x720. If I PrtScr and paste it into paint and crop it down to size, I get 1280x832 (my moniter is 1280x1024).
    832p isn't one of the resolutions they use. It's going to be reencoded as 720p, scaling down the width in the process. You could download the video and check for yourself, but I don't think YouTube really reencoded it to 1280x832.
    I have no idea how to install XViD into WMP. I installed it on my computer, as I can use it in VDM.

    I downloaded the file to my computer via clipconverter.cc in 720p mp4 mode
    1108x720
    277:180
    Completely nonstandard.
    Quote Quote  
  11. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by quadrplax View Post
    Does that clear things up?
    Yes$S Now check your current Xvid settings, and make sure your encodes are using *square pixels* (PAR = 1:1).
    If they are, then YouTube either doesn't like Xvid, or doesn't like YOU
    Seriously now, why use "packed bitstream" Considering YouTube is a #@!%&*, you really should avoid that. Set B-frames to zero, and see if it makes some difference to YouTube's recompressor

    I have no idea how to install XViD into WMP.
    Your beloved WMP by default prefers Media Foundation codecs, then it may use DMO decoders and normal DirectShow filters. Xvid, DivX, 3ivx, etc., are all the same thing, MPEG-4 Advanced Simple Profile. You can install ffdshow for DirectShow-based playback of Xvid, BUT under Windows 7, both WMP and Windows Media Center require some serious tweaks in the Registry, in order to use the DirectShow filters that YOU prefer:

    https://www.videohelp.com/tools/Preferred-Filter-Tweaker
    Quote Quote  
  12. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Originally Posted by El Heggunte View Post
    Originally Posted by quadrplax View Post
    Does that clear things up?
    Yes$S Now check your current Xvid settings, and make sure your encodes are using *square pixels* (PAR = 1:1).
    If they are, then YouTube either doesn't like Xvid, or doesn't like YOU
    Seriously now, why use "packed bitstream" Considering YouTube is a #@!%&*, you really should avoid that. Set B-frames to zero, and see if it makes some difference to YouTube's recompressor

    I have no idea how to install XViD into WMP.
    Your beloved WMP by default prefers Media Foundation codecs, then it may use DMO decoders and normal DirectShow filters. Xvid, DivX, 3ivx, etc., are all the same thing, MPEG-4 Advanced Simple Profile. You can install ffdshow for DirectShow-based playback of Xvid, BUT under Windows 7, both WMP and Windows Media Center require some serious tweaks in the Registry, in order to use the DirectShow filters that YOU prefer:

    https://www.videohelp.com/tools/Preferred-Filter-Tweaker
    It was set to square pixels, I'm trying to set the aspect ratio to 16:9 within the codec, see how that goes. I don't really care that I can't use XVid in Win7, espesially if it means messing around in the registery. I have no idea what you're talking about with the whole "packed bitstream" thing. I am using AS @ L5 (default), will try unrestricted if fails. What are you talking about by DirectShow? Sorry if I sound stupid...

    EDIT: about the b-frames thing, I found min and max b-frame quantizizer, set at 1 and 31 respectively. Should I make them both 1?
    Quote Quote  
  13. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    I did 16:9 instead of square pixels, uploaded it to YouTube, and again got 1108x720. Pls heelp!
    Quote Quote  
  14. When being viewed on YouTube, does it fill the entire player (not full-screened on your computer, but the initial 'normal' size)'? Or do you see little black 'pillarbars' on the sides?
    Quote Quote  
  15. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Originally Posted by manono View Post
    When being viewed on YouTube, does it fill the entire player (not full-screened on your computer, but the initial 'normal' size)'? Or do you see little black 'pillarbars' on the sides?
    I see little black 'pillarbars' on the sides. Do you want a link? It's unlisted.
    Quote Quote  
  16. No, I believe you. I have no idea why this happens to you, although someone else might. I don't know why a 1280x720 1:1 XviD would get its resolution/aspect ratio changed by YouTube. They've never changed any of mine.
    Quote Quote  
  17. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Originally Posted by manono View Post
    No, I believe you. I have no idea why this happens to you, although someone else might. I don't know why a 1280x720 1:1 XviD would get its resolution/aspect ratio changed by YouTube. They've never changed any of mine.
    Do you know of any way that I could view this on my computer? I'm wondering if it is YouTube or me that's doing it.

    EDIT: Found a way to watch XViD in WMP, turns out it is YouTube messing it up
    I wish I knew some way to stop that from happening, I don't like my videos stretched
    Oh well. If anyone comes up with a solution, I'm still open to suggestions.
    Last edited by quadrplax; 1st Jul 2013 at 19:20.
    Quote Quote  
  18. Originally Posted by quadrplax View Post
    EDIT: Found a way to watch XViD in WMP, turns out it is YouTube messing it up
    YouTube? I already told you YouTube doesn't use XviD. Yes, it's YouTube changing your resolution (if you're positive it's 1280x720 you're uploading there in the first place). Maybe if you cut a small piece out of the XviD and made it available here, someone can get to the bottom of this.

    And might I suggest you switch to using a real player? No, not RealPlayer. There are lots of good ones and you're using one of the worst. Some like GOM Player, KMPlayer, VLC, PotPlayer, SMPlayer and others. Me, I use MPC-HC. No more worries about codecs and something not playing.
    Quote Quote  
  19. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Originally Posted by manono View Post
    Originally Posted by quadrplax View Post
    EDIT: Found a way to watch XViD in WMP, turns out it is YouTube messing it up
    YouTube? I already told you YouTube doesn't use XviD. Yes, it's YouTube changing your resolution (if you're positive it's 1280x720 you're uploading there in the first place). Maybe if you cut a small piece out of the XviD and made it available here, someone can get to the bottom of this.

    And might I suggest you switch to using a real player? No, not RealPlayer. There are lots of good ones and you're using one of the worst. Some like GOM Player, KMPlayer, VLC, PotPlayer, SMPlayer and others. Me, I use MPC-HC. No more worries about codecs and something not playing.
    Um I *cough* don't know how to cut videos in vdm, but would you like media info of before and after?
    Quote Quote  
  20. Here's a guide to cutting:

    https://www.videohelp.com/oldguides/virtualdubedit

    10-15 seconds should be enough. You should be able to upload it here.

    Actually, I was planning on uploading to YouTube myself to see if it does the same thing. If it does, maybe the reason can be figured out.
    Quote Quote  
  21. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Thanks for the cutting guide. I could probably upload a few minutes if I wanted, the file sizes are great. My next post will have before and after clips.
    Quote Quote  
  22. Originally Posted by quadrplax View Post
    I could probably upload a few minutes if I wanted...
    Originally Posted by manono View Post
    10-15 seconds should be enough.
    ...
    Quote Quote  
  23. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Before:
    Image Attached Files
    Quote Quote  
  24. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Very interesting, I hadn't noticed you are using a VERY-OUTDATED build of Xvid

    Code:
    Writing library                          : XviD0035
    Writing library                          : XviD 1.0.1 (UTC 2004-06-05)
    Writing library/Name                 : XviD
    Writing library/Version               : 1.0.1
    Writing library/Date                   : UTC 2004-06-05
    Anyway, I removed the packed bitstream from your sample file, and voilą, an important difference, according to MediaInfo:

    for clip.avi:

    Muxing mode : Packed bitstream
    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 33s 633ms
    Bit rate : 620 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 3:2
    Original display aspect ratio : 16:9

    Frame rate : 30.000 fps
    for klip.avi (I unpacked the B-frames and emptied the User Data field with MPEG4Modifier):

    Codec ID : XVID
    Codec ID/Hint : XviD
    Duration : 33s 633ms
    Bit rate : 619 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 30.000 fps
    Color space : YUV
    Noticed the difference ?????
    And if it happens to MediaInfo, probably happens to YouTube as well
    Last edited by El Heggunte; 2nd Jul 2013 at 16:48. Reason: .....
    Quote Quote  
  25. Yeah, I got the same 1108x720 with pillarbars after uploading.

    You can fix that by adding this tag:

    yt:stretch=16:9

    Examples of formatting tags:
    • yt:quality=high: Defaults to a high quality stream (available based on the size of the viewer’s player and the size of the browser window)
    • yt:crop=16:9: Zooms in on the 16:9 area, removes windowboxing
    • yt:stretch=16:9: Fixes anamorphic content by scaling to 16:9
    • yt:stretch=4:3: Fixes 720x480 content that is the wrong aspect ratio by scaling to 4:3
    I uploaded the sample and added the tag and now it plays alright:


    http://www.youtube.com/watch?v=nLFCgSJgElE


    That may not be the ideal solution (it's not such a good idea to resize twice more from your 1280x720), but I think it works OK. Otherwise, figure where the DAR is getting set to 3:2 as El Heggunte shows, and fix it.


    To add a tag, go to your Video Manager, hit 'Edit', and add the new tag at the bottom.
    Quote Quote  
  26. Member
    Join Date
    Jun 2013
    Location
    North America
    Search Comp PM
    Thanks for the help! That yt streach thing worked fine manono. El Heggunte, I don't know what you mean by:
    (I unpacked the B-frames and emptied the User Data field with MPEG4Modifier)
    But the streach thing works fine, I have a list of tags I paste into all my videos, so I'll just add that to my list. Thanks guys!
    Quote Quote  
  27. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by quadrplax View Post
    El Heggunte, I don't know what you mean by:
    (I unpacked the B-frames and emptied the User Data field with MPEG4Modifier)
    Actually you mean,

    "quadrplax doesn't want to learn the A-B-C of video encoding,
    quadrplax wants to be spoonfed all the time."
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!