Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Resizing on render alters colors

  • Resizing on render alters colors

    Posted by Adam Sandler on March 2, 2017 at 3:20 pm

    Hello, guys.
    I noticed that if I render clip in it’s original size – it comes out exactly as source, but if I change resolution in becomes more redish.
    Here is specs:
    Source file:
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom/iso2/avc1/mp41)
    File size : 9.06 GiB
    Duration : 1 h 53 min
    Overall bit rate : 11.4 Mb/s
    Writing application : Lavf56.30.100

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 9 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1 h 53 min
    Bit rate : 11.3 Mb/s
    Width : 1 280 pixels
    Height : 694 pixels
    Display aspect ratio : 1.85:1
    Frame rate mode : Variable
    Frame rate : 23.976 (24000/1001) FPS
    Minimum frame rate : 23.810 FPS
    Maximum frame rate : 24.390 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.530
    Stream size : 8.95 GiB (99%)
    Writing library : x264 core 142 r2431+42 c69a006 tMod [8-bit@all X86_64]
    Encoding settings : cabac=1 / ref=9 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=0.80:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=18.0000 / qcomp=0.60 / qpmin=0:0:0 / qpmax=69:69:69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=4:0.75 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0

    Render settings:
    Sony AVC internet template
    Profile: High
    Frame rate: 23.9
    Bitrate: 25mbs
    Field order: none (progressive)
    pixel aspect: 1
    Frame size: 1280:694 (original)

    Project properties pixel format has to be 32bit to get original sized video to be exactly as source.

    But if I change render Frame size to any other(correct 720p or 1080 or even 1920×1041) colors become more red or something. It is the same clip, same properties, same codec – everything is the same except frame size. I tried to play with levels, curves, and other color corrections – but still I can’t get exact colors.

    What am I doing wrong?

    Dan Harlow replied 9 years, 2 months ago 6 Members · 23 Replies
  • 23 Replies
  • Graham Bernard

    March 2, 2017 at 4:16 pm

    For The purposes of comparisons, show us the MediaInfo for the non-red good media.

    * Grazie

    Video Content Creator and Potter
    PC 7 64-bit 16gb * Intel® Core™i7-2600k Quad Core 3.40GHz * 2GB NVIDIA GEFORCE GTX 560 Ti
    Cameras: Canon XF300 + PowerShot SX50HS Bridge

  • Adam Sandler

    March 2, 2017 at 4:53 pm

    I have added image with color comparsion to first post but it did not come up. Here it is https://prnt.sc/ef4wvn

    Here is data of correct video
    Format profile : Base Media / Version 2
    Codec ID : mp42 (mp42/isom)
    File size : 2.82 MiB
    Duration : 901 ms
    Overall bit rate mode : Variable
    Overall bit rate : 26.3 Mb/s
    Encoded date : UTC 2017-03-02 13:42:59
    Tagged date : UTC 2017-03-02 13:42:59

    Video
    ID : 2
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.2
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Muxing mode : Container profile=High@4.0
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 901 ms
    Bit rate mode : Variable
    Bit rate : 26.0 Mb/s
    Width : 1 280 pixels
    Height : 694 pixels
    Display aspect ratio : 1.85:1
    Frame rate mode : Constant
    Frame rate : 29.970 (30000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.977
    Stream size : 2.81 MiB (99%)
    Language : English
    Encoded date : UTC 2017-03-02 13:42:59
    Tagged date : UTC 2017-03-02 13:42:59

    here is resized video(it just added black bars)

    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42 (mp42/isom)
    File size : 2.82 MiB
    Duration : 901 ms
    Overall bit rate mode : Variable
    Overall bit rate : 26.2 Mb/s
    Encoded date : UTC 2017-03-02 13:43:26
    Tagged date : UTC 2017-03-02 13:43:26

    Video
    ID : 2
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.2
    Format settings, CABAC : Yes
    Format settings, ReFrames : 2 frames
    Muxing mode : Container profile=High@4.0
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 901 ms
    Bit rate mode : Variable
    Bit rate : 26.0 Mb/s
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 (30000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.941
    Stream size : 2.80 MiB (99%)
    Language : English
    Encoded date : UTC 2017-03-02 13:43:26
    Tagged date : UTC 2017-03-02 13:43:26

    Tried the same thing in Adobe Premier with H264 codec and there is not color change during resizing.
    And here is specs of AP video file
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42 (mp42/mp41)
    File size : 106 MiB
    Duration : 1 min 23 s
    Overall bit rate mode : Variable
    Overall bit rate : 10.7 Mb/s
    Encoded date : UTC 2017-03-02 16:45:48
    Tagged date : UTC 2017-03-02 16:45:49
    ©TIM : 01:41:54:16
    ©TSC : 24000
    ©TSZ : 1001

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 3 frames
    Format settings, GOP : M=4, N=23
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1 min 23 s
    Bit rate : 10.4 Mb/s
    Width : 1 280 pixels
    Height : 694 pixels
    Display aspect ratio : 1.85:1
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.487
    Stream size : 103 MiB (97%)
    Language : English
    Encoded date : UTC 2017-03-02 16:45:48
    Tagged date : UTC 2017-03-02 16:45:48
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

  • Adam Sandler

    March 2, 2017 at 4:55 pm

    Video details provided my Media Player Classic HC
    I use clean install of k-lite mega codec pack

  • Richard Jones

    March 2, 2017 at 6:25 pm

    The k-lite package might be the source of the problem! Many, many people have complained about the conflicts it creates and is difficult to uninstall.

    Richard

  • Adam Sandler

    March 2, 2017 at 8:55 pm

    I don’t see how that urban legend can affect all codecs my Vegas 13 using. Moreover there are tons of threads where Vegas alters colors, and probably zero threads where k-lite pack was proven guilty on something.

  • Marco Baer

    March 2, 2017 at 10:24 pm

    You should try disabling GPU support in both Options/Preferences/Video and in your render settings. GPU boost could cause strange trouble (though I wouldn’t get too far from K-Lite as troublemaker).

  • Adam Sandler

    March 2, 2017 at 11:13 pm

    [Marco Baer] “You should try disabling GPU support in both Options/Preferences/Video”

    Well, that did not fix color issue, but surprisingly it fixed other non related issue, where .avi Lagarith encoded clip that was above some other clip suffered from strange 10px wide vertical transparent line flicking every few frames. https://prntscr.com/efbfye

    I found almost optimal Level FX values(1.050 green gamma 0.900 green input end and 1.050 red gamma) that almost matches source, but still looking for proper fix for color issue.

  • Marco Baer

    March 2, 2017 at 11:41 pm

    That color drift is really strange.

    Do you see same drift if using a technical color bar (like the ones provided in the Vegas Media Generators) if using same size and applying same resizing?

    Or could you offer a sample project with an small media file which for download for testing purpose?

  • Adam Sandler

    March 3, 2017 at 12:08 am

    I just used virtual windows 7 machine, no codecs whatsoever installed. Installed vegas 13. Imported mp4 file that vegas did on his own(with it’s own codecs), rendered 1280×694 file which is correct copy of source file.
    Rendered with sony avc internet template as
    1280×694 – no color change
    1280×720 vegas cropped and zoomed image (adjust source media to project settings) – colors shifted
    1280×720 with black bars ( unchecked adjust smtps) – colors shifted
    1280×720 with black bars and 32bit pixel format ( unchecked adjust smtps) – colors shifted.

    It is not K-lite codec pack.

    here is sample video I try to resize
    https://www.sendspace.com/file/2xflqm

  • Adam Sandler

    March 3, 2017 at 2:02 am

    I run few test with SMPTE ntsc color bars
    On new project with default settings 1920×1080. GPU acceleration off.
    sony avc codec internet preset.
    Final .mp4 opened MPC-HC and I saved screenshot from player into .bmp file and used photoshop pipette tool to check color numbers.

    All standard HD frame sizes 720 1440 1920 – all look good. Red is 190 0 0, green is 0 190 0. All looks good.

    Standard Non HD resolutions(like 640×480) have minimal fluctuations like red 190 1 0 or green 0 188 0 – seems okayish

    Non standard resolution like 1280×694 – red 206 17 0 green 0 160 0 blue 0 11 197
    or 1564×694 red 206 17 0 green 0 160 0 blue 0 11 197
    random 888×666 red 206 17 0 green 0 160 0 blue 0 11 197

    however another random 1256×576 gives proper colors with minimal fluctuations like red 190 1 0 or green 0 188 0 – seems okayish
    and 888×720 gives 190 0 0 – clean rgb.

    So it is something with how codec works with non standard Height size.

Page 1 of 3

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy