GalaxyRG tech blog

GalaxyRG:_trusted_uploader::_sun:Posted at 2024-02-19 13:27:36(43Wks ago) Report Permalink URL 
Reppoints: 260
Posts: 3
Uploads: 23755

A place to talk shop and smoke pot.
NO UPLOAD REQUESTS
NO IDIOTS

Links to important posts:
  • :_boom How to make GalaxyRG265 rips.


    Last edited by GalaxyRG on 2024-02-19 13:55:52


  •  
    Post liked by - FlyinLion:_trusted_user::_male::_kitty::_sun::_turtle:, honey01:_trusted_user::_sitelover::_junkie::_sun:, Dronska:_trusted_user::_sitefriend::_sitelover::_junkie::_kitty::_sun::_turtle:, miok:_super_admin:, EVILTEEN777:_trusted_user::_male::_sitelover::_junkie::_kitty::_sun::_turtle:, sherb:_trusted_uploader::_sitefriend::_sitelover::_junkie::_kitty::_sun::_turtle:, DinoFlicks:_trusted_user::_male::_kitty::_turtle:
    GalaxyRG:_trusted_uploader::_sun:Posted at 2024-02-19 13:54:23(43Wks ago) Report Permalink URL 
    Reppoints: 260
    Posts: 3
    Uploads: 23755

    :_boom How to make GalaxyRG265 rips.

    We took the RARBG x265 as a base and modified it to our liking.
    Biggest difference is DDP audio instead of AAC and CRF encoding instead of target bitrate.

    GalaxyRG265 rips greatly vary in size as CRF encoding targets a desired visual quality and only uses the bitrate required for that.
    This results in movies with unsophisticated and little motion to be small and complex high motion movies to be big while both visually the same quality. We set a 4500K max bitrate cap to prevent overly complex video from bubbling to ridiculous sizes.

    We use ffmpeg https://www.ffmpeg.org/download.html but other x265 encoders are fine.
    ffmpeg parameters

    Quote:

    ffmpeg -i INPUTMOVIE.mkv -map 0:V:0 -map 0:m:language:eng -map 0:s? -disposition:s:0 default -c:a eac3 -ac 6 -b:a 384k -c:s copy -c:v libx265 -pix_fmt yuv420p10le -preset slow -crf 22 -maxrate 4500K -bufsize 9M -x265-params "max-merge=5:limit-refs=3:rd=4:rc-lookahead=48:bframes=8:aq-mode=3" -vf "scale='trunc(min(1920/iw,1080/ih)*iw/2)*2':'trunc(min(1920/iw,1080/ih)*ih/2)*2':flags=lanczos" OUTPUTMOVIE.mkv

    Quote:

    -map 0:V:0 -map 0:m:language:eng -map 0:s? -disposition:s:0 default
    Selects first video stream, ditches any image/cover stream.
    Selects English audio stream (use -map 0:a? to select all audio streams).
    Selects all subtitle streams and sets first subtitle stream as default.

    Quote:

    -c:s copy -c:a eac3 -ac 6 -b:a 384k -c:v libx265 -pix_fmt yuv420p10le -preset slow -crf 22 -maxrate 4500K -bufsize 9M
    Copy any subtitles from selected source. Encode audio to DDP5.1 at 384K bitrate.
    Encode video using the x265 encoder at 10bit with slow encoding preset set to CRF 22 and 4500K bitrate cap.

    Quote:

    -x265-params "max-merge=5:limit-refs=3:rd=4:rc-lookahead=48:bframes=8:aq-mode=3"
    Couple x265 tweaks. Some will argue against them. It's safe to leave this part out and stick to the default x265 parameters.

    Quote:

    -vf "scale='trunc(min(1920/iw,1080/ih)*iw/2)*2':'trunc(min(1920/iw,1080/ih)*ih/2)*2':flags=lanczos"
    This scales any input video to 1080p while retaining the proper aspect ratio. For quality encodes only use 1080p or higher input resolutions.
    Don't be a douche and use this to upscale videos.


    Link to more info on ffmpeg parameters https://ffmpeg.org/ffmpeg.html

     
    Post liked by - FlyinLion:_trusted_user::_male::_kitty::_sun::_turtle:, ZarkBit:_male:, boimeiji, ROBBREDD:_moderator::_male::_sitelover::_junkie::_sun:, Dronska:_trusted_user::_sitefriend::_sitelover::_junkie::_kitty::_sun::_turtle:, miok:_super_admin:, EVILTEEN777:_trusted_user::_male::_sitelover::_junkie::_kitty::_sun::_turtle:, sherb:_trusted_uploader::_sitefriend::_sitelover::_junkie::_kitty::_sun::_turtle:, DinoFlicks:_trusted_user::_male::_kitty::_turtle:, B4ND1T69:_trusted_uploader::_sitefriend::_sitelover::_junkie::_kitty::_sun::_turtle:, homer:_trusted_user::_sitefriend::_sitelover::_junkie::_kitty::_sun: