VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Hi So I want to remove black borders from video (Top And Bottom)

    I am encoding a .mp4 720p movie video file to .avi Using MEGUI

    I Want to crop or remove the black borders while maintaining the quality

    how can i do it??? and if i do crop/Remove it,,,will i be able to play it on ps3 xbox and other players without problems??
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Why do you want to crop? Is it wrong aspect ratio?

    2.35:1 movies should contain black borders at top and bottom when you view it at a 16:9 display. Or else just zoom on your tv to get rid of them.
    Quote Quote  
  3. Originally Posted by Baldrick View Post
    Why do you want to crop? Is it wrong aspect ratio?

    2.35:1 movies should contain black borders at top and bottom when you view it at a 16:9 display. Or else just zoom on your tv to get rid of them.
    No Sir i dont want to Zoom

    Here is The File INFO

    Code:
    General
    
    Format                                   : Matroska
    Format version                           : Version 4 / Version 2
    File size                                : 3.28 GiB
    Duration                                 : 1h 23mn
    Overall bit rate                         : 5 593 Kbps
    Encoded date                             : UTC 2015-01-01 19:55:09
    Writing application                      : mkvmerge v7.2.0 ('On Every Street') 64bit built on Sep 13 2014 15:52:10
    Writing library                          : libebml v1.3.0 + libmatroska v1.4.1
    DURATION                                 : 01:09:05.749000000
    NUMBER_OF_FRAMES                         : 17
    NUMBER_OF_BYTES                          : 695
    _STATISTICS_WRITING_APP                  : mkvmerge v7.2.0 ('On Every Street') 64bit built on Sep 13 2014 15:52:10
    _STATISTICS_WRITING_DATE_UTC             : 2015-01-01 19:55:09
    _STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    
    Video
    
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 5 frames
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 1h 23mn
    Bit rate                                 : 4 083 Kbps
    Width                                    : 1 280 pixels
    Height                                   : 544 pixels
    Display aspect ratio                     : 2.35:1
    Frame rate mode                          : Constant
    Frame rate                               : 24.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.244
    Stream size                              : 2.33 GiB (71%)
    Title                                    : ZEST - Colt 45 - 720p
    Writing library                          : x264 core 144 r2525 40bb568
    Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=8 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4083 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    
    Audio
    
    ID                                       : 2
    Format                                   : DTS
    Format/Info                              : Digital Theater Systems
    Mode                                     : 16
    Format settings, Endianness              : Big
    Codec ID                                 : A_DTS
    Duration                                 : 1h 23mn
    Bit rate mode                            : Constant
    Bit rate                                 : 1 509 Kbps
    Channel(s)                               : 6 channels
    Channel positions                        : Front: L C R, Side: L R, LFE
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 24 bits
    Compression mode                         : Lossy
    Stream size                              : 905 MiB (27%)
    Title                                    : FR-DTS
    Language                                 : French
    Default                                  : Yes
    Forced                                   : No
    
    Text
    ID                                       : 3
    Format                                   : UTF-8
    Codec ID                                 : S_TEXT/UTF8
    Codec ID/Info                            : UTF-8 Plain Text
    Title                                    : FR forced subs
    Language                                 : French
    Default                                  : Yes
    Forced                                   : No
    
    Menu
    00:00:00.000                             : en:00:00:00.000
    00:06:49.208                             : en:00:06:49.208
    00:15:34.333                             : en:00:15:34.333
    00:22:36.458                             : en:00:22:36.458
    00:30:00.125                             : en:00:30:00.125
    00:37:18.708                             : en:00:37:18.708
    00:45:33.667                             : en:00:45:33.667
    00:52:20.542                             : en:00:52:20.542
    00:59:26.792                             : en:00:59:26.792
    01:04:43.625                             : en:01:04:43.625
    01:10:33.500                             : en:01:10:33.500
    01:14:52.500                             : en:01:14:52.500
    Quote Quote  
  4. Member
    Join Date
    Aug 2006
    Location
    United States
    Search Comp PM
    720p is 1280x720 and 16:9 aspect ratio. According to the MediaInfo report your movie is 1280x544 and 2.35:1 aspect ratio, which means somebody already removed the black bars from the picture, and your TV is putting them back.

    To get rid of the black bars that the TV adds, you will need to crop 156 pixels worth of picture from both the right and left side of the movie, plus maybe resize from 968x544 to 1280x720. Alternately you could keep the whole picture by simply resizing from 1280x544 to 1280x720, assuming you don't mind the resulting distortion.

    However, if you want to avoid any quality loss, you will need to learn to live with the black bars or zoom in using the TV. Cropping or re-sizing requires re-encoding and will reduce the quality a little. Also, since someone had to re-encode to remove the black bars, there has already been some quality loss.
    Quote Quote  
  5. Originally Posted by usually_quiet View Post
    720p is 1280x720 and 16:9 aspect ratio. According to the MediaInfo report your movie is 1280x544 and 2.35:1 aspect ratio, which means somebody already removed the black bars from the picture, and your TV is putting them back.

    To get rid of the black bars that the TV adds, you will need to crop 156 pixels worth of picture from both the right and left side of the movie, plus maybe resize from 968x544 to 1280x720. Alternately you could keep the whole picture by simply resizing from 1280x544 to 1280x720, assuming you don't mind the resulting distortion.

    However, if you want to avoid any quality loss, you will need to learn to live with the black bars or zoom in using the TV. Cropping or re-sizing requires re-encoding and will reduce the quality a little. Also, since someone had to re-encode to remove the black bars, there has already been some quality loss.
    I will re encode it again so in megui when i create the avs script

    there is an option for resize so what dimensions should i put there to remove the black bars???
    Quote Quote  
  6. Originally Posted by anime12345 View Post
    so what dimensions should i put there to remove the black bars???
    usually_quiet told you:

    Originally Posted by usually_quiet View Post
    To get rid of the black bars that the TV adds, you will need to crop 156 pixels worth of picture from both the right and left side of the movie, plus maybe resize from 968x544 to 1280x720. Alternately you could keep the whole picture by simply resizing from 1280x544 to 1280x720, assuming you don't mind the resulting distortion..
    What was unclear?
    Quote Quote  
  7. Originally Posted by smrpix View Post
    Originally Posted by anime12345 View Post
    so what dimensions should i put there to remove the black bars???
    usually_quiet told you:

    Originally Posted by usually_quiet View Post
    To get rid of the black bars that the TV adds, you will need to crop 156 pixels worth of picture from both the right and left side of the movie, plus maybe resize from 968x544 to 1280x720. Alternately you could keep the whole picture by simply resizing from 1280x544 to 1280x720, assuming you don't mind the resulting distortion..
    What was unclear?
    can u plz tell me what all should i fill in resize and crop option

    really sorry i am a noob

    Quote Quote  
  8. Here's both:
    Click image for larger version

Name:	opt2.png
Views:	1800
Size:	109.4 KB
ID:	29929Click image for larger version

Name:	opt1.png
Views:	1790
Size:	112.8 KB
ID:	29928
    Quote Quote  
  9. Member
    Join Date
    Aug 2006
    Location
    United States
    Search Comp PM
    Never mind. My morning coffee has not yet taken effect.
    Quote Quote  
  10. Originally Posted by anime12345 View Post
    Originally Posted by Baldrick View Post
    Why do you want to crop? Is it wrong aspect ratio?

    2.35:1 movies should contain black borders at top and bottom when you view it at a 16:9 display. Or else just zoom on your tv to get rid of them.
    No Sir i dont want to Zoom
    There's only two options. Resize to 1280x720 (16:9), which will stretch the picture and it'll look silly, or zoom in until the black bars are gone. The latter means you'll lose some of the picture from each side. If your player can't zoom the alternative is to use the crop funtion to remove 156 pixels from each side as usually_quiet suggested and re-encode. There's no need to resize (you could also resize back up to 1280x720 but I don't think there's much point). What's left will be 16:9 and it'll fill your screen. The end result will be exactly the same as using a player to zoom in, only you've removed some video from the sides permanently, and re-encoded it, but other than that, it's the same.

    Stretching is ugly. Everything's stretched if all you do is resize. Zooming is better. I do it all the time on playback but my PC is my media player. I don't know if the average hardware player can zoom like that, but if you crop and re-encode as suggested the end result will be something like this.
    Quote Quote  
  11. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by anime12345 View Post
    Hi So I want to remove black borders from video (Top And Bottom)
    They are already removed!

    Obviously you do not have a 2.35:1 sized screen, your screen is simply too narrow for that video, so it must be scaled down to fit.

    You could butcher the film to make it fit by cutting off the sides as was suggested above:

    Last edited by Baldrick; 6th Jan 2019 at 11:59.
    Quote Quote  
  12. Originally Posted by anime12345 View Post
    Hi So I want to remove black borders from video (Top And Bottom)

    I am encoding a .mp4 720p movie video file to .avi Using MEGUI

    I Want to crop or remove the black borders while maintaining the quality

    More likely the original mp4 was a 1080p.
    Then:
    If you remove the bars again: you will end up with a 480p video file. that can be playback "anywhere".

    In another words:
    The black bars "around" a video: called "Frame" include the 1080p or the 720p or 480p or 360p, etc.

    If I was you:
    I will try to get the 1080p version of it and learn to "live life" with the black bars.

    Just saying.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!