mpv-player/mpv — reverse-engineered prompt
Reverse engineered prompt
Build me a free command line media player for desktop computers. I want to open audio and video files from the terminal, have it play lots of common formats, show subtitles properly, and give me smooth playback with good video scaling. It should work on modern Linux, Windows, and macOS if the right system libraries are installed.
Keep the main experience simple, something like running a command with a file path and getting reliable playback. Add useful options for things like hardware decoding, faster playback settings for weaker machines, choosing audio and subtitle tracks, screenshots if supported, and basic on screen controls when available.
Please set up the build so it can be compiled with Meson, include clear install and build instructions, and make sure the code is organized so audio, video, subtitles, input, options, and platform specific parts are separated cleanly. Look up current docs online if you need to.
Want more depth? Deep Reverse