Created
May 5, 2017 19:51
-
-
Save lukassup/653f5e6491762fd850086b8017407b7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ab-loop-a=no # Time | |
| # ab-loop-b=no # Time | |
| # access-references=yes # Flag | |
| # ad= # String | |
| # ad-lavc-ac3drc=0.000000 # Float (0 to 6) | |
| # ad-lavc-downmix=yes # Flag | |
| # ad-lavc-o= # Key/value list | |
| # ad-lavc-threads=1 # Integer (0 to 16) | |
| # af*= # Object settings list | |
| # af-defaults= # Object settings list | |
| # aid=auto # Choices: no auto (or an integer) (0 to 8190) | |
| # alang= # String list | |
| # alpha=blend-tiles # Choices: no yes blend blend-tiles | |
| # alsa-ignore-chmap=no # Flag | |
| # alsa-mixer-device=default # String | |
| # alsa-mixer-index=0 # Integer (0 to 99) | |
| # alsa-mixer-name=Master # String | |
| # alsa-non-interleaved=no # Flag | |
| # alsa-resample=no # Flag | |
| # ao= # Object settings list | |
| # ao-null-broken-delay=no # Flag | |
| # ao-null-broken-eof=no # Flag | |
| # ao-null-buffer=0.200000 # Float (0 to 100) | |
| # ao-null-channel-layouts= # Audio channels or channel map | |
| # ao-null-latency=0.000000 # Float (0 to 100) | |
| # ao-null-outburst=256 # Integer (1 to 100000) | |
| # ao-null-speed=1.000000 # Float (0 to 10000) | |
| # ao-null-untimed=no # Flag | |
| # ao-pcm-append=no # Flag | |
| # ao-pcm-file= # String | |
| # ao-pcm-waveheader=yes # Flag | |
| # audio-buffer=0.200000 # Double (0 to 10) | |
| # audio-channels=auto-safe # Audio channels or channel map | |
| # audio-client-name=mpv # String | |
| # audio-delay=0.000000 # Float | |
| # audio-demuxer= # String | |
| # audio-device=auto # String | |
| # audio-display=attachment # Choices: no attachment | |
| # audio-exclusive=no # Flag | |
| # audio-fallback-to-null=no # Flag | |
| # audio-file= # String list | |
| # audio-file-auto=no # Choices: no exact fuzzy all | |
| # audio-file-paths= # String list | |
| # audio-normalize-downmix=no # Flag | |
| # audio-pitch-correction=yes # Flag | |
| # audio-samplerate=0 # Integer (1000 to 768000) | |
| # audio-spdif= # String | |
| # audio-stream-silence=no # Flag | |
| # audio-wait-open=0.000000 # Float (0 to 60) | |
| # autofit= # Window size | |
| # autofit-larger= # Window size | |
| # autofit-smaller= # Window size | |
| # autoload-files=yes # Flag | |
| # autosync=0 # Choices: no (or an integer) (0 to 10000) | |
| # balance=0.000000 # Float (-1 to 1) | |
| # blend-subtitles=no # Choices: no yes video | |
| # bluray-device= # String | |
| # border=yes # Flag | |
| # brightness=0 # Integer (-100 to 100) | |
| # cache=auto # Choices: no auto yes (or an integer) (32 to 2147483647) | |
| # cache-backbuffer=75000 # Integer (0 to 2147483647) | |
| # cache-default=75000 # Choices: no (or an integer) (32 to 2147483647) | |
| # cache-file= # String | |
| # cache-file-size=1048576 # Integer (0 to 2147483647) | |
| # cache-initial=0 # Integer (0 to 2147483647) | |
| # cache-pause=yes # Flag | |
| # cache-secs=10.000000 # Double (0 to any) | |
| # cache-seek-min=500 # Integer (0 to 2147483647) | |
| # cdda-cdtext=no # Flag | |
| # cdda-overlap=-1 # Integer (0 to 75) | |
| # cdda-paranoia=0 # Integer (0 to 2) | |
| # cdda-sector-size=0 # Integer (1 to 100) | |
| # cdda-skip=yes # Flag | |
| # cdda-speed=0 # Integer (1 to 100) | |
| # cdda-toc-bias=0 # Integer | |
| # cdda-toc-offset=0 # Integer | |
| # cdrom-device= # String | |
| # chapter-merge-threshold=100 # Integer (0 to 10000) | |
| # chapter-seek-threshold=5.000000 # Double | |
| # chapters-file= # String | |
| # config=yes # Flag | |
| # config-dir= # String | |
| # contrast=0 # Integer (-100 to 100) | |
| # cookies=no # Flag | |
| # cookies-file= # String | |
| # correct-downscaling=no # Flag | |
| # correct-pts=yes # Flag | |
| # cscale=bilinear # String | |
| # cscale-antiring=0.000000 # Float (0 to 1) | |
| # cscale-blur=0.000000 # Float | |
| # cscale-clamp=no # Flag | |
| # cscale-param1=nan # Float | |
| # cscale-param2=nan # Float | |
| # cscale-radius=0.000000 # Float (0.5 to 16) | |
| # cscale-taper=0.000000 # Float (0 to 1) | |
| # cscale-wblur=0.000000 # Float | |
| # cscale-window= # String | |
| # cscale-wparam=nan # Float | |
| # cscale-wtaper=0.000000 # Float (0 to 1) | |
| # cursor-autohide=1000 # Choices: no always (or an integer) (0 to 30000) | |
| # cursor-autohide-fs-only=no # Flag | |
| # deband=no # Flag | |
| # deband-grain=48.000000 # Float (0 to 4096) | |
| # deband-iterations=1 # Integer (1 to 16) | |
| # deband-range=16.000000 # Float (1 to 64) | |
| # deband-threshold=64.000000 # Float (0 to 4096) | |
| # deinterlace=auto # Choices: auto no yes | |
| # demuxer= # String | |
| # demuxer-lavf-allow-mimetype=yes # Flag | |
| # demuxer-lavf-analyzeduration=0.000000 # Float (0 to 3600) | |
| # demuxer-lavf-buffersize=32768 # Integer (1 to 10485760) | |
| # demuxer-lavf-cryptokey= # String | |
| # demuxer-lavf-format= # String | |
| # demuxer-lavf-genpts-mode=no # Choices: lavf no | |
| # demuxer-lavf-hacks=yes # Flag | |
| # demuxer-lavf-o= # Key/value list | |
| # demuxer-lavf-probe-info=auto # Choices: no yes auto | |
| # demuxer-lavf-probescore=26 # Integer (1 to 100) | |
| # demuxer-lavf-probesize=0 # Integer (32 to 2147483647) | |
| # demuxer-max-bytes=419430400 # Integer (0 to 2147483647) | |
| # demuxer-mkv-probe-start-time=yes # Flag | |
| # demuxer-mkv-probe-video-duration=no # Choices: no yes full | |
| # demuxer-mkv-subtitle-preroll=index # Choices: no yes index | |
| # demuxer-mkv-subtitle-preroll-secs=1.000000 # Double (0 to any) | |
| # demuxer-mkv-subtitle-preroll-secs-index=10.000000 # Double (0 to any) | |
| # demuxer-rawaudio-channels=stereo # Audio channels or channel map | |
| # demuxer-rawaudio-format=s16le # Choices: u8 s8 u16le u16be s16le s16be u24le u24be s24le s24be u32le u32be s32le s32be floatle floatbe doublele doublebe u16 s16 u24 s24 u32 s32 float double | |
| # demuxer-rawaudio-rate=44100 # Integer (1000 to 384000) | |
| # demuxer-rawvideo-codec= # String | |
| # demuxer-rawvideo-fps=25.000000 # Float (0.001 to 1000) | |
| # demuxer-rawvideo-h=720 # Integer (1 to 8192) | |
| # demuxer-rawvideo-size=0 # Integer (1 to 268435456) | |
| # demuxer-rawvideo-w=1280 # Integer (1 to 8192) | |
| # demuxer-readahead-secs=1.000000 # Double (0 to any) | |
| # demuxer-thread=yes # Flag | |
| # display-fps=0.000000 # Double (0 to any) | |
| # display-tags*=Artist,Album,Album_Artist,Comment,Composer,Genre,Performer,Title,Track,icy-title,service_name # String list | |
| # dither=fruit # Choices: fruit ordered no | |
| # dither-depth=no # Choices: no auto (or an integer) (-1 to 16) | |
| # dither-size-fruit=6 # Integer (2 to 8) | |
| # drm-connector= # String | |
| # drm-mode=0 # Integer | |
| # dscale= # String | |
| # dscale-antiring=0.000000 # Float (0 to 1) | |
| # dscale-blur=0.000000 # Float | |
| # dscale-clamp=no # Flag | |
| # dscale-param1=nan # Float | |
| # dscale-param2=nan # Float | |
| # dscale-radius=0.000000 # Float (0.5 to 16) | |
| # dscale-taper=0.000000 # Float (0 to 1) | |
| # dscale-wblur=0.000000 # Float | |
| # dscale-window= # String | |
| # dscale-wparam=nan # Float | |
| # dscale-wtaper=0.000000 # Float (0 to 1) | |
| # dump-stats= # String | |
| # dvbin-card=0 # Integer (1 to 4) | |
| # dvbin-file= # String | |
| # dvbin-full-transponder=no # Flag | |
| # dvbin-prog= # String | |
| # dvbin-timeout=30 # Integer (1 to 30) | |
| # edition=auto # Choices: auto (or an integer) (0 to 8190) | |
| # embeddedfonts=yes # Flag | |
| # external-file= # String list | |
| # ff-aid=auto # Choices: no auto (or an integer) (0 to 8190) | |
| # ff-sid=auto # Choices: no auto (or an integer) (0 to 8190) | |
| # ff-vid=auto # Choices: no auto (or an integer) (0 to 8190) | |
| # field-dominance=auto # Choices: auto top bottom | |
| # fit-border=yes # Flag | |
| # force-media-title= # String | |
| # force-rgba-osd-rendering=no # Flag | |
| # force-seekable=no # Flag | |
| # force-window=no # Choices: no yes immediate | |
| # force-window-position=no # Flag | |
| # fps=0.000000 # Double (0 to any) | |
| # framedrop=vo # Choices: no vo decoder decoder+vo | |
| # frames=all # Choices: all (or an integer) (0 to 2147483647) | |
| # fs-screen=current # Choices: all current (or an integer) (0 to 32) | |
| # fullscreen=no # Flag | |
| # gamma=0 # Integer (-100 to 100) | |
| # gamma-auto=no # Flag | |
| # gapless-audio=weak # Choices: no yes weak | |
| # geometry= # Window geometry | |
| # hdr-tone-mapping=hable # Choices: clip reinhard hable gamma linear | |
| # heartbeat-interval=30.000000 # Float (0 to any) | |
| # hidpi-window-scale=yes # Flag | |
| # hls-bitrate=max # Choices: no min max (or an integer) (0 to 2147483647) | |
| # hr-seek=absolute # Choices: no absolute yes always | |
| # hr-seek-demuxer-offset=0.000000 # Float | |
| # hr-seek-framedrop=yes # Flag | |
| # http-header-fields= # String list | |
| # hue=0 # Integer (-100 to 100) | |
| # hwdec=no # Choices: no auto yes auto-copy vdpau vdpau-copy videotoolbox videotoolbox-copy vaapi vaapi-copy dxva2 dxva2-copy d3d11va d3d11va-copy rpi rpi-copy mediacodec cuda cuda-copy crystalhd | |
| # hwdec-codecs=h264,vc1,wmv3,hevc,mpeg2video,vp9 # String | |
| # icc-3dlut-size=64x64x64 # String | |
| # icc-cache-dir= # String | |
| # icc-contrast=0 # Integer (0 to 100000) | |
| # icc-intent=1 # Integer | |
| # icc-profile= # String | |
| # icc-profile-auto=no # Flag | |
| # idle=no # Choices: no once yes | |
| # ignore-path-in-watch-later-config=no # Flag | |
| # image-display-duration=1.000000 # Double (0 to inf) | |
| # image-subs-video-resolution=no # Flag | |
| # include= # String | |
| # index=default # Choices: default recreate | |
| # initial-audio-sync=yes # Flag | |
| # input-ar-delay=200 # Integer | |
| # input-ar-rate=40 # Integer | |
| # input-conf= # String | |
| # input-cursor=yes # Flag | |
| # input-default-bindings=yes # Flag | |
| # input-doubleclick-time=300 # Integer (0 to 1000) | |
| # input-file= # String | |
| # input-ipc-server= # String | |
| # input-key-fifo-size=7 # Integer (2 to 65000) | |
| # input-right-alt-gr=yes # Flag | |
| # input-terminal=yes # Flag | |
| # input-test=no # Flag | |
| # input-vo-keyboard=yes # Flag | |
| # interpolation=no # Flag | |
| # interpolation-threshold=0.000100 # Float | |
| # jack-autostart=no # Flag | |
| # jack-connect=yes # Flag | |
| # jack-name=mpv # String | |
| # jack-port= # String | |
| # jack-std-channel-layout=waveext # Choices: waveext any | |
| # keep-open=no # Choices: no yes always | |
| # keep-open-pause=yes # Flag | |
| # keepaspect=yes # Flag | |
| # keepaspect-window=yes # Flag | |
| # lavfi-complex= # String | |
| # linear-scaling=no # Flag | |
| # list-properties=no # Flag | |
| # load-scripts=yes # Flag | |
| # load-unsafe-playlists=no # Flag | |
| # log-file= # String | |
| # loop-file=no # Choices: no yes inf (or an integer) (0 to 10000) | |
| # loop-playlist=no # Choices: no inf yes force (or an integer) (1 to 10000) | |
| # mc=-1.000000 # Float (0 to 100) | |
| # merge-files=no # Flag | |
| # mf-fps=1.000000 # Double | |
| # mf-type= # String | |
| # monitoraspect=0.000000 # Float (0 to 9) | |
| # monitorpixelaspect=1.000000 # Float (0.2 to 9) | |
| # msg-color=yes # Flag | |
| # msg-level= # Output verbosity levels | |
| # msg-module=no # Flag | |
| # msg-time=no # Flag | |
| # mute=no # Choices: no auto yes | |
| # native-keyrepeat=no # Flag | |
| # network-timeout=0.000000 # Double (0 to any) | |
| # o= # String | |
| # oac= # String | |
| # oacopts*= # String list | |
| # oafirst=no # Flag | |
| # oaoffset=0.000000 # Float (-1000000 to 1000000) | |
| # oautofps=no # Flag | |
| # ocopyts=no # Flag | |
| # of= # String | |
| # ofopts*= # String list | |
| # ofps=0.000000 # Float (0 to 1000000) | |
| # oharddup=no # Flag | |
| # omaxfps=0.000000 # Float (0 to 1000000) | |
| # ometadata=yes # Flag | |
| # on-all-workspaces=no # Flag | |
| # oneverdrop=no # Flag | |
| # ontop=no # Flag | |
| # ontop-level=window # Choices: window system (or an integer) (0 to 2147483647) | |
| # opengl-backend= # String | |
| # opengl-debug=no # Flag | |
| # opengl-dumb-mode=no # Flag | |
| # opengl-early-flush=auto # Choices: no yes auto | |
| # opengl-es=auto # Choices: no auto yes force2 | |
| # opengl-fbo-format=auto # Choices: rgb8 rgba8 rgb10 rgb10_a2 rgb16 rgb16f rgb32f rgba12 rgba16 rgba16f rgba32f auto | |
| # opengl-gamma=1.000000 # Float (0.1 to 2) | |
| # opengl-glfinish=no # Flag | |
| # opengl-hwdec-interop= # String | |
| # opengl-pbo=no # Flag | |
| # opengl-rectangle-textures=no # Flag | |
| # opengl-shader-cache-dir= # String | |
| # opengl-shaders= # String list | |
| # opengl-sw=no # Flag | |
| # opengl-swapinterval=1 # Integer | |
| # opengl-tex-pad-x=0 # Integer (0 to 4096) | |
| # opengl-tex-pad-y=0 # Integer (0 to 4096) | |
| # opengl-vsync-fences=0 # Integer (0 to 10) | |
| # opengl-waitvsync=no # Flag | |
| # orawts=no # Flag | |
| # ordered-chapters=yes # Flag | |
| # ordered-chapters-files= # String | |
| # osc=yes # Flag | |
| # osd-align-x=left # Choices: left center right | |
| # osd-align-y=top # Choices: top center bottom | |
| # osd-bar=yes # Flag | |
| # osd-bar-align-x=0.000000 # Float (-1 to 1) | |
| # osd-bar-align-y=0.500000 # Float (-1 to 1) | |
| # osd-bar-h=3.125000 # Float (0.1 to 50) | |
| # osd-bar-w=75.000000 # Float (1 to 100) | |
| # osd-blur=0.000000 # Float (0 to 20) | |
| # osd-bold=no # Flag | |
| # osd-border-size=3.000000 # Float (0 to 10) | |
| # osd-duration=1000 # Integer (0 to 3600000) | |
| # osd-font=sans-serif # String | |
| # osd-font-size=55.000000 # Float (1 to 9000) | |
| # osd-fractions=no # Flag | |
| # osd-italic=no # Flag | |
| # osd-justify=auto # Choices: auto left center right | |
| # osd-level=1 # Choices: 0 1 2 3 | |
| # osd-margin-x=25 # Integer (0 to 300) | |
| # osd-margin-y=22 # Integer (0 to 600) | |
| # osd-msg1= # String | |
| # osd-msg2= # String | |
| # osd-msg3= # String | |
| # osd-playing-msg= # String | |
| # osd-scale=1.000000 # Float (0 to 100) | |
| # osd-scale-by-window=yes # Flag | |
| # osd-shadow-offset=0.000000 # Float (0 to 10) | |
| # osd-spacing=0.000000 # Float (-10 to 10) | |
| # osd-status-msg= # String | |
| # oss-mixer-channel= # String | |
| # oss-mixer-device=/dev/mixer # String | |
| # ovc= # String | |
| # ovcopts*= # String list | |
| # ovfirst=no # Flag | |
| # ovoffset=0.000000 # Float (-1000000 to 1000000) | |
| # panscan=0.000000 # Float (0 to 1) | |
| # pause=no # Flag | |
| # player-operation-mode=cplayer # Choices: cplayer pseudo-gui | |
| # playlist= # String (1 to any) | |
| # playlist-start=auto # Choices: auto no (or an integer) (0 to 2147483647) | |
| # prefetch-playlist=no # Flag | |
| # profile= # String list | |
| # pulse-buffer=250 # Choices: native (or an integer) (1 to 2000) | |
| # pulse-host= # String | |
| # pulse-latency-hacks=no # Flag | |
| # quiet=no # Flag | |
| # rebase-start-time=yes # Flag | |
| # record-file= # String | |
| # referrer= # String | |
| # reset-on-next-file= # String list | |
| # resume-playback=yes # Flag | |
| # rtsp-transport=tcp # Choices: lavf udp tcp http | |
| # saturation=0 # Integer (-100 to 100) | |
| # save-position-on-quit=no # Flag | |
| # scale=bilinear # String | |
| # scale-antiring=0.000000 # Float (0 to 1) | |
| # scale-blur=0.000000 # Float | |
| # scale-clamp=no # Flag | |
| # scale-param1=nan # Float | |
| # scale-param2=nan # Float | |
| # scale-radius=0.000000 # Float (0.5 to 16) | |
| # scale-taper=0.000000 # Float (0 to 1) | |
| # scale-wblur=0.000000 # Float | |
| # scale-window= # String | |
| # scale-wparam=nan # Float | |
| # scale-wtaper=0.000000 # Float (0 to 1) | |
| # scaler-lut-size=6 # Integer (4 to 10) | |
| # scaler-resizes-only=yes # Flag | |
| # screen=default # Choices: default (or an integer) (0 to 32) | |
| # screenshot-directory= # String | |
| # screenshot-format=jpg # Choices: jpg jpeg png | |
| # screenshot-high-bit-depth=yes # Flag | |
| # screenshot-jpeg-quality=90 # Integer (0 to 100) | |
| # screenshot-jpeg-smooth=0 # Integer (0 to 100) | |
| # screenshot-jpeg-source-chroma=yes # Flag | |
| # screenshot-png-compression=7 # Integer (0 to 9) | |
| # screenshot-png-filter=5 # Integer (0 to 5) | |
| # screenshot-tag-colorspace=no # Flag | |
| # screenshot-template=mpv-shot%n # String | |
| # script= # String list | |
| # script-opts= # Key/value list | |
| # secondary-sid=no # Choices: no auto (or an integer) (0 to 8190) | |
| # sharpen=0.000000 # Float | |
| # show-profile= # String | |
| # shuffle=no # Flag | |
| # sid=auto # Choices: no auto (or an integer) (0 to 8190) | |
| # sigmoid-center=0.750000 # Float (0 to 1) | |
| # sigmoid-slope=6.500000 # Float (1 to 20) | |
| # sigmoid-upscaling=no # Flag | |
| # slang= # String list | |
| # snap-window=no # Flag | |
| # speed=1.000000 # Double (0.01 to 100) | |
| # sstep=0.000000 # Double (0 to any) | |
| # stop-playback-on-init-failure=no # Flag | |
| # stop-screensaver=yes # Flag | |
| # stream-dump= # String | |
| # stream-lavf-o= # Key/value list | |
| # stretch-dvd-subs=no # Flag | |
| # stretch-image-subs-to-screen=no # Flag | |
| # sub-align-x=center # Choices: left center right | |
| # sub-align-y=bottom # Choices: top center bottom | |
| # sub-ass=yes # Flag | |
| # sub-ass-force-margins=no # Flag | |
| # sub-ass-force-style= # String list | |
| # sub-ass-hinting=none # Choices: none light normal native | |
| # sub-ass-justify=no # Flag | |
| # sub-ass-line-spacing=0.000000 # Float (-1000 to 1000) | |
| # sub-ass-scale-with-window=no # Flag | |
| # sub-ass-shaper=complex # Choices: simple complex | |
| # sub-ass-style-override=yes # Choices: no yes force signfs strip | |
| # sub-ass-styles= # String | |
| # sub-ass-vsfilter-aspect-compat=yes # Flag | |
| # sub-ass-vsfilter-blur-compat=yes # Flag | |
| # sub-ass-vsfilter-color-compat=basic # Choices: no basic full force-601 | |
| # sub-auto=exact # Choices: no exact fuzzy all | |
| # sub-blur=0.000000 # Float (0 to 20) | |
| # sub-bold=no # Flag | |
| # sub-border-size=3.000000 # Float (0 to 10) | |
| # sub-clear-on-seek=no # Flag | |
| # sub-codepage=auto # String | |
| # sub-delay=0.000000 # Float | |
| # sub-demuxer= # String | |
| # sub-file= # String list | |
| # sub-filter-sdh=no # Flag | |
| # sub-filter-sdh-harder=no # Flag | |
| # sub-fix-timing=yes # Flag | |
| # sub-font=sans-serif # String | |
| # sub-font-size=55.000000 # Float (1 to 9000) | |
| # sub-forced-only=no # Flag | |
| # sub-fps=0.000000 # Float | |
| # sub-gauss=0.000000 # Float (0 to 3) | |
| # sub-gray=no # Flag | |
| # sub-italic=no # Flag | |
| # sub-justify=auto # Choices: auto left center right | |
| # sub-margin-x=25 # Integer (0 to 300) | |
| # sub-margin-y=22 # Integer (0 to 600) | |
| # sub-paths= # String list | |
| # sub-pos=100 # Integer (0 to 100) | |
| # sub-scale=1.000000 # Float (0 to 100) | |
| # sub-scale-by-window=yes # Flag | |
| # sub-scale-with-window=yes # Flag | |
| # sub-shadow-offset=0.000000 # Float (0 to 10) | |
| # sub-spacing=0.000000 # Float (-10 to 10) | |
| # sub-speed=1.000000 # Float | |
| # sub-use-margins=yes # Flag | |
| # sub-visibility=yes # Flag | |
| # sws-cgb=0.000000 # Float (0 to 100) | |
| # sws-chs=0 # Integer | |
| # sws-cs=0.000000 # Float (-100 to 100) | |
| # sws-cvs=0 # Integer | |
| # sws-lgb=0.000000 # Float (0 to 100) | |
| # sws-ls=0.000000 # Float (-100 to 100) | |
| # sws-scaler=bicubic # Choices: fast-bilinear bilinear bicubic x point area bicublin gauss sinc lanczos spline | |
| # target-brightness=250 # Integer (1 to 100000) | |
| # target-prim=auto # Choices: auto bt.601-525 bt.601-625 bt.709 bt.2020 bt.470m apple adobe prophoto cie1931 dci-p3 v-gamut | |
| # target-trc=auto # Choices: auto bt.1886 srgb linear gamma1.8 gamma2.2 gamma2.8 prophoto st2084 std-b67 v-log | |
| # taskbar-progress=yes # Flag | |
| # teletext-page=100 # Integer (1 to 999) | |
| # temporal-dither=no # Flag | |
| # temporal-dither-period=1 # Integer (1 to 128) | |
| # term-osd=auto # Choices: force auto no | |
| # term-osd-bar=no # Flag | |
| # term-osd-bar-chars=[-+-] # String | |
| # term-playing-msg= # String | |
| # term-status-msg= # String | |
| # terminal=yes # Flag | |
| # tls-ca-file= # String | |
| # tls-cert-file= # String | |
| # tls-key-file= # String | |
| # tls-verify=no # Flag | |
| # tone-mapping-param=nan # Float | |
| # tscale=mitchell # String | |
| # tscale-antiring=0.000000 # Float (0 to 1) | |
| # tscale-blur=0.000000 # Float | |
| # tscale-clamp=yes # Flag | |
| # tscale-param1=nan # Float | |
| # tscale-param2=nan # Float | |
| # tscale-radius=0.000000 # Float (0.5 to 16) | |
| # tscale-taper=0.000000 # Float (0 to 1) | |
| # tscale-wblur=0.000000 # Float | |
| # tscale-window= # String | |
| # tscale-wparam=nan # Float | |
| # tscale-wtaper=0.000000 # Float (0 to 1) | |
| # tv-adevice= # String | |
| # tv-alsa=no # Flag | |
| # tv-amode=-1 # Integer (0 to 3) | |
| # tv-audio=yes # Flag | |
| # tv-audioid=0 # Integer (0 to 9) | |
| # tv-audiorate=44100 # Integer | |
| # tv-automute=0 # Integer (0 to 255) | |
| # tv-balance=-1 # Integer (0 to 65535) | |
| # tv-bass=-1 # Integer (0 to 65535) | |
| # tv-brightness=0 # Integer (-100 to 100) | |
| # tv-buffersize=-1 # Integer (16 to 1024) | |
| # tv-chanlist=europe-east # String | |
| # tv-channel= # String | |
| # tv-channels= # String list | |
| # tv-contrast=0 # Integer (-100 to 100) | |
| # tv-decimation=2 # Integer (1 to 4) | |
| # tv-device= # String | |
| # tv-driver= # String | |
| # tv-forceaudio=no # Flag | |
| # tv-forcechan=-1 # Integer (1 to 2) | |
| # tv-fps=-1.000000 # Float | |
| # tv-freq=0.000000 # Float | |
| # tv-gain=-1 # Integer (-1 to 100) | |
| # tv-height=-1 # Integer (0 to 4096) | |
| # tv-hue=0 # Integer (-100 to 100) | |
| # tv-immediatemode=yes # Flag | |
| # tv-input=0 # Integer | |
| # tv-mjpeg=no # Flag | |
| # tv-norm=pal # String | |
| # tv-normid=-1 # Integer | |
| # tv-quality=90 # Integer (0 to 100) | |
| # tv-saturation=0 # Integer (-100 to 100) | |
| # tv-scan-autostart=no # Flag | |
| # tv-scan-period=0.500000 # Float (0.1 to 2) | |
| # tv-scan-threshold=50 # Integer (1 to 100) | |
| # tv-treble=-1 # Integer (0 to 65535) | |
| # tv-volume=-1 # Integer (0 to 65535) | |
| # tv-width=-1 # Integer (0 to 4096) | |
| # untimed=no # Flag | |
| # use-filedir-conf=no # Flag | |
| # vd= # String | |
| # vd-lavc-bitexact=no # Flag | |
| # vd-lavc-check-hw-profile=yes # Flag | |
| # vd-lavc-fast=no # Flag | |
| # vd-lavc-framedrop=nonref # Choices: none default nonref bidir nonkey all | |
| # vd-lavc-o= # Key/value list | |
| # vd-lavc-show-all=no # Flag | |
| # vd-lavc-skipframe=default # Choices: none default nonref bidir nonkey all | |
| # vd-lavc-skipidct=default # Choices: none default nonref bidir nonkey all | |
| # vd-lavc-skiploopfilter=default # Choices: none default nonref bidir nonkey all | |
| # vd-lavc-software-fallback=3 # Choices: no yes (or an integer) (1 to 2147483647) | |
| # vd-lavc-threads=0 # Integer (0 to any) | |
| # vf*= # Object settings list | |
| # vf-defaults= # Object settings list | |
| # vid=auto # Choices: no auto (or an integer) (0 to 8190) | |
| # video-align-x=0.000000 # Float (-1 to 1) | |
| # video-align-y=0.000000 # Float (-1 to 1) | |
| # video-aspect=-1.000000 # Aspect | |
| # video-aspect-method=hybrid # Choices: hybrid bitstream container | |
| # video-osd=yes # Flag | |
| # video-output-levels=auto # Choices: auto limited full | |
| # video-pan-x=0.000000 # Float (-3 to 3) | |
| # video-pan-y=0.000000 # Float (-3 to 3) | |
| # video-rotate=0 # Choices: no (or an integer) (0 to 359) | |
| # video-stereo-mode=mono # Choices: no mono sbs2l ab2r ab2l checkr checkl irr irl icr icl arcc sbs2r agmc al ar | |
| # video-sync=audio # Choices: audio display-resample display-resample-vdrop display-resample-desync display-adrop display-vdrop display-desync desync | |
| # video-sync-adrop-size=0.020000 # Double (0 to 1) | |
| # video-sync-max-audio-change=0.125000 # Double (0 to 1) | |
| # video-sync-max-video-change=1.000000 # Double (0 to any) | |
| # video-unscaled=no # Choices: no yes downscale-big | |
| # video-zoom=0.000000 # Float (-20 to 20) | |
| # vo= # Object settings list | |
| # vo-image-format=jpg # Choices: jpg jpeg png | |
| # vo-image-high-bit-depth=yes # Flag | |
| # vo-image-jpeg-quality=90 # Integer (0 to 100) | |
| # vo-image-jpeg-smooth=0 # Integer (0 to 100) | |
| # vo-image-jpeg-source-chroma=yes # Flag | |
| # vo-image-outdir= # String | |
| # vo-image-png-compression=7 # Integer (0 to 9) | |
| # vo-image-png-filter=5 # Integer (0 to 5) | |
| # vo-image-tag-colorspace=no # Flag | |
| # vo-null-fps=0.000000 # Double (0 to 10000) | |
| # vo-tct-256=no # Flag | |
| # vo-tct-algo=half-blocks # Choices: plain half-blocks | |
| # vo-tct-height=0 # Integer | |
| # vo-tct-width=0 # Integer | |
| # vo-vaapi-scaled-osd=no # Flag | |
| # vo-vaapi-scaling=default # Choices: default fast hq nla | |
| # vo-vdpau-chroma-deint=yes # Flag | |
| # vo-vdpau-composite-detect=yes # Flag | |
| # vo-vdpau-deint=0 # Integer (-4 to 4) | |
| # vo-vdpau-denoise=0.000000 # Float (0 to 1) | |
| # vo-vdpau-force-yuv=no # Flag | |
| # vo-vdpau-fps=0.000000 # Float | |
| # vo-vdpau-hqscaling=0 # Integer (0 to 9) | |
| # vo-vdpau-output-surfaces=3 # Integer (2 to 15) | |
| # vo-vdpau-pullup=no # Flag | |
| # vo-vdpau-queuetime-fs=50 # Integer | |
| # vo-vdpau-queuetime-windowed=50 # Integer | |
| # vo-vdpau-sharpen=0.000000 # Float (-1 to 1) | |
| # vo-wayland-alpha=no # Flag | |
| # vo-wayland-rgb565=no # Flag | |
| # volume=100.000000 # Float (-1 to 1000) | |
| # volume-max=130.000000 # Float (100 to 1000) | |
| # watch-later-directory= # String | |
| # wid=-1 # Integer64 | |
| # window-dragging=yes # Flag | |
| # window-scale=1.000000 # Double (0.001 to 100) | |
| # write-filename-in-watch-later-config=no # Flag | |
| # x11-bypass-compositor=fs-only # Choices: no yes fs-only never | |
| # x11-name= # String | |
| # x11-netwm=auto # Choices: auto no yes | |
| # xv-adaptor=-1 # Integer (-1 to any) | |
| # xv-buffers=2 # Integer (1 to 10) | |
| # xv-ck=cur # Choices: use set cur | |
| # xv-ck-method=man # Choices: none bg man auto | |
| # xv-colorkey=65280 # Integer | |
| # xv-port=0 # Integer (0 to any) | |
| # ytdl=yes # Flag | |
| # ytdl-format= # String | |
| # ytdl-raw-options= # Key/value list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| import re | |
| import shlex | |
| import subprocess | |
| PATTERN = re.compile( | |
| r'--(?P<name>\S+)\s*' | |
| r'(?P<description>.*?)\s*' | |
| r'\(default:\s*(?P<default>\S*)\)') | |
| def run(command, stdin=None): | |
| """Execute a shell command and return the output and stderr)""" | |
| with subprocess.Popen( | |
| shlex.split(command), | |
| stdin=subprocess.PIPE, | |
| stdout=subprocess.PIPE, | |
| stderr=subprocess.PIPE, | |
| universal_newlines=True) as proc: | |
| try: | |
| out, err = proc.communicate(input=stdin, timeout=10) | |
| except subprocess.TimeoutExpired: | |
| proc.kill() | |
| out, err = proc.communicate() | |
| return out, err | |
| def parse_mpv_opts(): | |
| out, _ = run('mpv --list-options') | |
| for match in PATTERN.finditer(out): | |
| yield match.groupdict() | |
| def main(): | |
| config = '# {name}={default} # {description}' | |
| for opts in parse_mpv_opts(): | |
| print(config.format(**opts)) | |
| if __name__ == "__main__": | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment