MP4Client(1)
β¨ MP4Client β the manual, but make it cute β¨
okay bestie, welcome to the MP4Client(1) page from the GPAC manual π this is the command-line media player and she is that girl. Let's get into it.
π« NAME π«
MP4Client β the GPAC command-line media player. yep that's the whole vibe. π¬
π SYNOPSIS π
MP4Client [options] [file]
π¦ DESCRIPTION π¦
MP4Client is the GPAC command-line media player, and no cap, she does it all. She supports every single GPAC playback feature β that's 2D and 3D support, local playback, RTP streaming, HTTP faststart, and so many audio and video codecs, the list is genuinely giving infinity π
.
There are also specific URL shortcuts available, so if you want those, go check gpac -h compositor π
β¨ OPTIONS β¨
-mem-trackβ turns on the memory tracker. we're watching the memory, bestie π-mem-track-stackβ same energy as memory tracking, but with stack dumping too π-rti(string) β logs run-time info (FPS, CPU, Mem usage) into the file you name-rtix(string) β literally the same as-rti, except it's driven by GPAC logs-size(string) β set the visual size asWxH. if you don't set it, the scene size or video size gets used instead π-rti-refresh(int) β sets the refresh time in ms between two run-time counter queries (default is200) β±οΈ-no-threadβ disables thread usage (except for the ones depending on the driver audio, those stay)-no-audioβ disables audio. silent mode activated π€«-pauseβ pauses at the very first frame. dramatic entrance, frozen-play-from(number) β starts playback from the given time in seconds in the media β©-speed(number) β starts playback with the given speed-loopβ loops playback. again and again and again π-fsβ starts in fullscreen mode. main character energy, full screen π₯οΈ-exitβ exits when the presentation is over-run-forβ runs for the indicated time in seconds, then exits-service(int) β auto-tunes to the given service ID in a multiplex-no-saveβ does not save the configuration file on exit-no-addonβ disables automatic loading of media addons declared in the source URL-guiβ starts in GUI mode. the GUI is indicated in the configuration file under[General]StartupFileπͺ-p(string) β uses the indicated profile for the global GPAC config. if it's not found, the config file gets created. if you pass a file path, it loads the profile from that file. otherwise it creates a directory with the specified name and stores the new config in there. the reserved name0means a new profile that is not stored to disk. works using-p=NAMEor-p NAMEπΎ-statsβ dumps filter session stats after playback π-graphβ dumps filter session graph after playback-nkβ disables keyboard interaction-h,-helpβ shows this help. use-hxto show expert help π-hcβ shows libgpac core options-hrβ shows runtime options when keyboard interaction is enabled
π MP4Client runtime commands π
π Prompt Interaction π
these keys are what you use for prompt interaction, bestie β memorize them, they're iconic:
q: quitX: killr: reload current presentationo: connect to the specified URLO: connect to the specified playlistN: switch to the next URL in the playlist. Also works withP: jump to a given number ahead in the playlistD: disconnect the current presentationG: select object or service IDp: play/pause the presentations: step one frame aheadz: seek into presentation by percentageT: seek into presentation by timet: print current timingu: send a command (BIFS or LASeR) to the main scenee: evaluate JavaScript code in the main sceneZ: dump current output frame to PNGw: view world infov: view list of active media objects in scenei: view Object Descriptor info (by ID)j: view Object Descriptor info (by number)b: view media objects timing and buffering infom: view media objects buffering and memory infod: dump scene graphk: turn stress mode on/offn: change navigation modex: reset to last active viewpoint3: switch OpenGL on or off for 2D scenes4: force 4/3 Aspect Ratio5: force 16/9 Aspect Ratio6: force no Aspect Ratio (always fill screen)7: force original Aspect Ratio (default)H: set HTTP max download rateE: force reload of compositor optionsL: change to new log tool/level. CF MP4Client usage for possible valuesR: toggle run-time info display in window title bar on/offF: toggle displaying of FPS in stderr on/offf: print filter session statsg: print filter session graphh: print this messageM: specify video cache memory for 2D objects ! experimental ! π§ͺ
πΈ Content interaction πΈ
so it's possible to interact with content (interactive or not) using the mouse and the keyboard π±οΈβ¨οΈ
these are the commands available:
TODO
(yeah. that's literally what it says. the manual said TODO and left π)
π«Ά EXAMPLES π«Ά
basic and advanced examples are all waiting for you over at
https://wiki.gpac.io/mp4client
π MORE π
- Authors: GPAC developers, see git repo history (
-log) - for bug reports, feature requests, more info and source code, come visit
https://github.com/gpac/gpac - build:
1.1.0-DEV-rev1777-gb91a8dad3-master - Copyright: (c) 2000-2022 Telecom Paris distributed under LGPL v2.1+ β
http://gpac.io
π₯ SEE ALSO π₯
and that's a wrap, bestie π
this page is from the GPAC manual, MP4Client(1), dated 2019, and it ate. slay, go play some media π¬β¨π
π¦ where this page comes from
- ubuntu jammy: gpac 2.0.0+dfsg1-2 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms