COMSKIP(1)

πŸ“¦
version 0.82.009+git20230112.d0cc422 Β· 3 versions
, in debian bookworm

πŸ’– NAME πŸ’–

comskip β€” commercial detector πŸŽ€

okay so bestie, that's literally the whole job description: it detects commercials. it's giving "I find the ads so you don't have to." iconic. periodt. ✨


🌸 SYNOPSIS 🌸

              ./comskip --help

       comskip
              [-h|--help] [-w|--debugwindow] [-n|--playnice] [--zpcut]
              [--zpchapter] [--scf] [--videoredo] [--videoredo3] [--csvout]
              [--quality] [--plist] [-m|--demux] [--hwassist] [--cuvid]
              [--vdpau] [--dxva2] [--decoders] [--threads=<int>]
              [-p|--pid=<string>] [-t|--ts] [-d|--detectmethod=<int>]
              [-v|--verbose=<int>] [-u|--dump=<int>] [-s|--play] [--timing]
              [-q|--quiet] [--ini=<file>] [--logo=<file>] [--cut=<file>]
              [--output=<file>] [--output-filename=<file>] [--selftest=<int>]
              <file> [<file>]

like, look at all those flags. she's flexible. she contains multitudes. πŸ’…


🫢 DESCRIPTION 🫢

every option, every vibe, all of it. no skips, no skimming, we're going through the whole list because you deserve the full picture. ✨

🌈 OPTIONS 🌈

  • -h, --help β€” Display syntax. the classic "help me pls" move πŸ†˜
  • -w, --debugwindow β€” Show debug window. pops open a little window so you can watch the detection happening live, it's giving backstage pass πŸͺŸβœ¨
  • -n, --playnice β€” Slows detection down. yeah it's slower but it plays nice with your machine, lowkey considerate of her πŸ’…
  • --zpcut β€” Outputs a ZoomPlayer cutlist βœ‚οΈ
  • --zpchapter β€” Outputs a ZoomPlayer chapter file πŸ“–
  • --scf β€” Outputs a simple chapter file for mkvmerge 🎬
  • --videoredo β€” Outputs a VideoRedo cutlist βœ‚οΈ
  • --videoredo3 β€” Outputs a VideoRedo3 cutlist βœ‚οΈβœ‚οΈ
  • --csvout β€” Outputs a csv of the frame array πŸ“Š
  • --quality β€” Outputs a csv of false detection segments. yes bestie, she reports her own oopsies, accountability queen πŸ‘‘
  • --plist β€” Outputs a mac-style plist for addition to an EyeTV archive as the 'markers' property 🍎
  • -m, --demux β€” Demux the input into elementary streams πŸ”€
  • --hwassist β€” Activate Hardware Assisted video decoding. let the hardware carry, fr fr πŸ’ͺ
  • --cuvid β€” Use NVIDIA Video Decoder (CUVID), if available 🟩
  • --vdpau β€” Use NVIDIA Video Decode and Presentation API (VDPAU), if available 🟩
  • --dxva2 β€” Use DXVA2 Video Decode and Presentation API (DXVA2), if available πŸͺŸ
  • --decoders β€” List all decoders and exit. she shows you the roster then dips immediately πŸšͺπŸ’¨
  • --threads=<int> β€” The number of threads to use 🧡
  • -p, --pid=<string> β€” The PID of the video in the TS 🎯
  • -t, --ts β€” The input file is a Transport Stream 🚚
  • -d, --detectmethod=<int> β€” An integer sum of the detection methods to use. (see the detection methods section below, it's a whole thing πŸ’–)
  • -v, --verbose=<int> β€” Verbose level. how much she yaps, your call πŸ—£οΈ
  • -u, --dump=<int> β€” Dump the cutscene at this frame number 🎞️
  • -s, --play β€” Play the video ▢️
  • --timing β€” Dump the timing into a file ⏱️
  • -q, --quiet β€” Not output logging to the console window. silent but deadly 🀫
  • --ini=<file> β€” Ini file to use πŸ“„
  • --logo=<file> β€” Logo file to use πŸ–ΌοΈ
  • --cut=<file> β€” CutScene file to use βœ‚οΈ
  • --output=<file> β€” Folder to use for all output files πŸ“
  • --output-filename=<file> β€” Filename base to use for all output files 🏷️
  • --selftest=<int> β€” Execute a selftest πŸ§ͺ
  • <file> β€” Input file πŸ“₯
  • <file> β€” Output folder for cutlist πŸ“€
bestie note: there are two <file> positionals. first one is your input file, second one is the output folder for the cutlist. don't mix them up, that would be so embarrassing πŸ™ˆ

πŸ•΅οΈ Detection Methods πŸ•΅οΈ

okay so when you're picking what -d, --detectmethod=<int> should be, these are the ingredients and their numbers, and you literally add them up:

  • 1 β€” Black Frame ⬛
  • 2 β€” Logo πŸ–ΌοΈ
  • 4 β€” Scene Change 🎬
  • 8 β€” Resolution Change πŸ“
  • 16 β€” Closed Captions πŸ’¬
  • 32 β€” Aspect Ratio πŸ“Ί
  • 64 β€” Silence πŸ”‡
  • 128 β€” CutScenes βœ‚οΈ
  • 255 β€” USE ALL AVAILABLE πŸ‘‘πŸ”₯
255 is the "give me everything, I trust the process" option. she ate and left no crumbs πŸ’…

and that's the whole page, bestie. this one's from comskip 0.82.009+git20230112.d... and it's dated January 2023 πŸ—“οΈβœ¨ ily, go find some commercials, slay πŸ’–

πŸ“¦ where this page comes from