MCPcopy Create free account
hub / github.com/HelpFreedom/youthub / parse_args

Function parse_args

tui_player.py:168–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166
167
168def parse_args():
169 p = argparse.ArgumentParser(description="Pure TUI video player (no mpv)")
170 p.add_argument("input", help="Video file (mp4, mkv, etc.)")
171 p.add_argument("--height", type=int, default=720,
172 help="Render height (width auto-scaled). Default 720.")
173 p.add_argument("--png-compression", type=int, default=1,
174 help="PNG compression 0=fastest…9=smallest (ffmpeg -compression_level). Default 1 for speed.")
175 p.add_argument("--no-audio", action="store_true", help="Mute audio")
176 return p.parse_args()
177
178
179def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected