GithubHelp home page GithubHelp logo

wastyface / ffmpeg-x265 Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 2.0 2 KB

A shell command for converting videos from any codec to x265 with a bitrate of 2000kb/s for video and 224kb/s for AAC audio using ffmpeg. It considers 6 audio channels, 23.976 fps and hev1 tag. Recommended for 1080p or 4K videos with a bitrate larger than 5000 kb/s.

Shell 100.00%
ffmpeg conversion ffmpeg-script multimedia video x265

ffmpeg-x265's People

Contributors

wastyface avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

petecad taiga1010

ffmpeg-x265's Issues

Update to accept params

easier to use like this, then can just pass name of input/output file?

ffmpeg -i $1 $2 -vf fps=24/1.001 -c:v libx265 -tag:v hev1 -pix_fmt yuv420p10le
-x265-params "--interlace=0:—total-frames=0:--level-idc=0:--high-tier=1:--uhd-bd=0:--ref=4:--keyint=250:--gop-lookahead=0:--bframes=4:--b-adapt=2:
--rc-lookahead=25:--lookahead-slices=4:--scenecut=40:--hist-scenecut=0:--radl=0:--no-splice:--no-intra-refresh:--ctu=64:--min-cu-size=8:--rect:--no-amp:
--max-tu-size=32:--tu-inter-depth=1:--tu-intra-depth=1:--limit-tu=0:--rdoq-level=2:--dynamic-rd=0.00:--no-ssim-rd:--signhide:--no-tskip:--nr-intra=0:
--nr-inter=0:--no-constrained-intra:--strong-intra-smoothing:--max-merge=3:--limit-refs=3:--limit-modes:--me=3:--subme=3:--merange=57:--temporal-mvp:
--no-frame-dup:--no-hme:--weightp:--no-weightb:--no-analyze-src-pics:--deblock=0:0:--no-sao:--no-sao-non-deblock:--rd=4:--selective-sao=0:--no-early-skip:
--rskip:--no-fast-intra:--no-tskip-fast:--no-cu-lossless:--no-b-intra:--no-splitrd-skip:--rdpenalty=0:--psy-rd=2.00:--psy-rdoq=1.00:--no-rd-refine:--no-lossless:
--cbqpoffs=0:--crqpoffs=0:--rc=abr:--bitrate=2000:--qcomp=0.60:--qpstep=4:--stats-write=0:--stats-read=2:--cplxblur=20.0:--qblur=0.5:--ipratio=1.40:--pbratio=1.30:
--aq-mode=3:--aq-strength=1.00:--cutree:--zone-count=0:--no-strict-cbr:--qg-size=32:--no-rc-grain:--qpmax=69:--qpmin=0:--no-const-vbv:--sar=1:--overscan=0:
--videoformat=5:--range=0:--colorprim=2:--transfer=2:--colormatrix=2:--chromaloc=0:--display-window=0:--cll=0,0:--min-luma=0:--max-luma=1023:--log2-max-poc-lsb=8:
--vui-timing-info:--vui-hrd-info:--slices=1:--no-opt-qp-pps:--no-opt-ref-list-length-pps:--no-multi-pass-opt-rps:--scenecut-bias=0.05:--hist-threshold=0.01:
--no-opt-cu-delta-qp:--no-aq-motion:--no-hdr10:--no-hdr10-opt:--no-dhdr10-opt:--no-idr-recovery-sei:--analysis-reuse-level=0:--analysis-save-reuse-level=0:
--analysis-load-reuse-level=0:--scale-factor=0:--refine-intra=0:--refine-inter=0:--refine-mv=1:--refine-ctu-distortion=0:--no-limit-sao:--ctu-info=0:
--no-lowpass-dct:--refine-analysis-type=0:--copy-pic=1:--max-ausize-factor=1.0:--no-dynamic-refine:--no-single-sei:--no-hevc-aq:--no-svt:--no-field:
--qp-adaptation-range=1.00:--no-scenecut-aware-qpconformance-window-offsets:--right=0" -metadata:g encoding_tool=Lavf58.20.100 -map_metadata -1 -metadata title=Video.Title.Age.Resolution.Source.x265-WF
-metadata description=Video.Title.Age.Resolution.Source.x265-WF -metadata:s:a:0 -c:a aac -ac 6 -b:a 224k -sn -map 0:0 -map 0:1 -map_chapters -1 -bf 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.