markad(1)
π markad(1) β the markad glow-up π
okay bestie, gather round, because we're talking about markad β a program for the Video Disk Recorder, and she is that girl. β¨ This is a markad manual page, just... with an actual personality. π
β¨ NAME β¨
MarkAd β marks advertisements in VDR recordings. that's it, that's the whole job, and she does it flawlessly no cap. π
π¦ SYNOPSIS π¦
markad [options]
πΈ DESCRIPTION πΈ
MarkAd marks advertisements in VDR recordings. periodt. she looks at your recording, she figures out where the ads are, she leaves marks. iconic behaviour fr fr. π
π OPTIONS π
first things first, the shape of a call:
Usage: markad [options] <cmd> <recording>
and now the whole menu, one bullet at a time, because we do not skip anything in this house. π€
-b,--backgroundβ markad runs as a background process. this gets set automatically if you call it withafter, so lowkey you don't have to lift a finger. π«Ά-l,--logocachedirβ the directory where predefined logos were stored, default/var/lib/markad.
Note: Channels sometimes change their logo. If logos kept in the cache are out of date, this will result in bad mark results. π so keep that cache fresh babes.
--autologo=<option>β picks the whole logo strategy, choose wisely:0= use logo only from logo cache directory1= extract logo from recording, if fails use logo from logo cache2= use logo from logo cache directory, if missing extract logo from recording (default)
If no suitable logo file is found, markad will try to find the logo in the video and store the result in the recording directory. resourceful queen. π
--fulldecodeβ decode all video frame types. use it only on powerful CPUs, it will double overall run time. highkey a flex on your hardware, only do it if you can afford it. π₯--cutβ cut video based on marks and store it in the recording directory. there are no splits of the target file, so make sure your filesystem can handle big files. bestie, check your filesystem first, i'm serious. π--smartencodeβ this option is only available on command line usage, and it requires--cut. it re-encodes only short before and short after cut position. economical, we love her. π--fullencode=<streams>β this option is only available for command line usage, requires--cut, and it full re-encodes video generated by--cut. use it only on powerful CPUs, it will double overall run time.<streams>all= keep all video and audio streams of the recording<streams>best= only encode best video and best audio stream, drop rest
-p,--priority=<priority>β software priority of markad when running in background.<priority>goes from-20...19, default19.-r,--ioprio=<class>[,<level>]β I/O priority of markad when running in background:<class>1= realtime,<level>from0..7, default4<class>2= besteffort,<level>from0..7, default4<class>3= idle (default)
Make sure your I/O scheduler supports scheduling priorities and classes (e.g. BFQ or CFQ). no scheduler support, no priority magic, iykyk. πΈ
-v,--verboseβ increments loglevel by one, can be given multiple times. stack it like it's a fragrance. β¨-B,--backupmarksβ make a backup of existing marks. be safe, keep a copy, we stan a prepared queen. π-L,--extractlogo=<direction>[,width[,height]]β this parameter is deprecated, use autologo instead. it extracts logo to recording directory aspgmfiles (must be renamed). the details:<direction>0= top left,1= top right,2= bottom left,3= bottom right[width]range from50to480, default192(SD) /288(HD)[height]range from20to250, default100(SD) /180(HD)
deprecated means deprecated bestie, go use autologo. π
-O,--OSDβ markad sends an OSD message for start and end. little pop-up moment, so cute. π¦-R,--log2recβ write log files into recording directory.-T,--threads=<number>β number of threads used for decoding, max.16(default is the number of CPUs). don't try to sneak past 16, she said what she said. π-V,--versionβ print version info and exit. short, sweet, done.--loglevel=<level>β sets log level to the specified value:<level>1= error<level>2= info<level>3= debug<level>4= trace
--markfile=<markfilename>β set a different marks filename. your file, your rules. π--nopidβ disables creation ofmarkad.pidfile in the recording directory.--online[=1|2]β only used by markad plugin internal call, do not use it for command line start. default is1. it starts markad immediately when called withbeforeas cmd. If online is1, markad starts online for live recordings only,online=2starts markad online for every recording. Live recordings are identified by having a@in the filename, so the entryMark instant recordingin the menuSetup > Recordingof the VDR should be set toyes. π«‘--svdrphost=<ip/hostname>β (default is127.0.0.1) IP or hostname of a remote VDR for OSD messages.--ac3reencodeβ re-encode AC3 stream to fix low audio level of cut video on same devices. requires--cut. use only if really needed, as this consumes significant CPU resources. fr fr, she's hungry for your CPU. π₯--hwaccel=<hardware_acceleration_methode>β use hardware acceleration for decoding. all methods supported by FFmpeg (ffmpeg -hide_banner -hwaccels), e.g.:vaapi,vdpau,vulkan,cuda... go find out what your machine can do, main character energy. π--perftestβ run decoder performance test and compare software and hardware decoder. science. β¨--vpsβ use VPS events frommarkad.vpsto optimize start and stop marks.--svdrpport=<port>β ( default is6419) port of a remote VDR for OSD messages.<cmd>is one of:-β dummy parameter if called directlyniceβ runs markad directly and withnice(19)afterβ markad started by VDR after the recording is complete. only used by markad plugin internal call, do not use it for command line startbeforeβ markad started by VDR before the recording is complete, only valid together with--online. only used by markad plugin internal call, do not use it for command line starteditedβ markad started by VDR in edit function and exits immediately. only used by markad plugin internal call, do not use it for command line start
<record>β is the name of the directory where the recording is stored.
π EXIT STATUS π
0β Successful program execution. she ate and left no crumbs. π1β An non-recoverable error has been detected, markad has given up. Seestderr,syslogor log file in the recording directory for more information. she tapped out, check the receipts. π
π AUTHOR π
Written by Jochen Dolze <vdr@dolze.de>. the original icon, we thank her. π
π REPORTING BUGS π
Report bugs to https://github.com/kfb77/vdr-plugin-markad/issues. don't be shy, the issue tracker is a safe space. π«Ά
π COPYRIGHT π
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING for more information. free as in freedom, babes. π
and that's the whole page!! markad version 24.2.0, dated 25 September 2024. go mark some ads bestie, you're gonna slay. πβ¨π
π¦ where this page comes from
- nixos 26.05: vdr-markad 4.2.22
- nixpkgs unstable: vdr-markad 4.2.22
- ubuntu stonking: vdr-markad 4.2.22-1build1 Β· GPL-2.0-or-later
- Copyright (C) 2012 Jochen Dolze
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms