VideoHelp Forum




Closed Thread
Results 1 to 2 of 2
  1. Originally Posted by Warcraft3 View Post
    Originally Posted by jagabo View Post
    Originally Posted by Warcraft3 View Post
    When 407 and 709 are uploaded to Youtube they have the same (wrong) contrast.
    Download the videos from Youtube and play them locally. I think you'll find the contrast is fine.
    I check the contrast from the downloaded videos.

    Originally Posted by pandy View Post

    If your wish is to use a different color space for h.264 then x264 VUI need to be also modified - replace 709 by bt470bg i.e. colorprim=bt470bg:transfer=bt470bg:colormatrix=bt4 70bg , side to this you may wish to disable VUI signalization for full quantization range - currently this is: fullrange=on where it can be: fullrange=off for 16-235 luma sample values and 16 - 240 chroma sample values.
    This worked !

    Same contrast and colours when it's upload to Youtube !

    Code:
    @SET x264opts="deblock=2,3:bframes=2:bitrate=19000:vbv-maxrate=25000:vbv-bufsize=31250:colorprim=bt709:transfer=bt709:colormatrix=bt709:fullrange=off:level=5.1:keyint=151:keyint_min=150:scenecut=-1:nal-hrd=vbr:force-cfr=1:qpmin=4:cabac=1:nr=500:threads=auto:no-psnr:no-ssim"
    @ffmpeg -threads %NUMBER_OF_PROCESSORS%*1.5 -i %1 -c:a copy -c:v libx264 -preset veryfast -tune fastdecode -profile:v high -x264opts %x264opts% -x264-params %x264opts% -vf "xbr=4,scale=iw/2:-2:sws_flags=spline:sws_dither=a_dither,colormatrix=bt601:bt709,format='pix_fmts=yuv420p'" -movflags faststart -y -f mp4 %1_YTaa.mp4
    @pause
    How can use this code to encode video?

  2. Mod Neophyte redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    yasinaslan16, Do not post the same topic on several forums.
    Please do not cross post, once is enough.

    Continue in: https://forum.videohelp.com/threads/376428-How-can-encode-by-these-codes

    Moderator redwudz




Similar Threads

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