ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • MPV Player / mpv.conf 설정
    취미/볼거리 2022. 10. 5. 23:36
    반응형

    내 설정.

    hwdec=vaapi
    geometry=100%:0%
    autofit=1024
    keep-open=always
    osd-blur=2.5
    osd-border-size=1
    osd-level=1
    osd-align-y=bottom
    ;no-border

     

    # mpv 구성 파일
    #
    # 구성 파일은 /usr/local/etc/mpv.conf에서 시스템 전체에서 읽습니다.
    # 및 ~/.config/mpv/mpv.conf의 사용자별, 여기서 사용자별 설정이 재정의됩니다.
    # 시스템 전체 설정, 모두 명령줄에 의해 무시됩니다.
    #
    # 구성 파일 설정과 명령줄 옵션은 동일하게 사용
    # 기본 메커니즘. 대부분의 옵션은 구성 파일에 넣을 수 있습니다.
    # 앞의 '--'를 삭제합니다. 전체 목록은 매뉴얼 페이지를 참조하십시오.
    # 옵션.
    #
    # '#'로 시작하는 줄은 주석이며 무시됩니다.
    #
    # 매뉴얼 페이지의 CONFIGURATION FILES 섹션을 참조하십시오.
    # 구문에 대한 자세한 설명은
    #
    # 프로필은 구성 파일의 맨 아래에 있어야 합니다.
    # 기본값으로 원하는 설정은 특정 프로필에 국한되지 않습니다.
    #
    # 주석 처리된 예제 옵션은 일반적으로 기본값을 설정하지 _않습니다_
    # 값. --list-options를 사용하여 mpv를 호출하는 것은 기본값을 확인하는 좋은 방법입니다.
    # 대부분의 옵션에 대한 값.

    keep-open=always

    ###################
    # 비디오 설정 #
    ###################

    # 기본 비디오 드라이버를 지정합니다(목록은 --vo=help 참조).
    vo=opengl,vaapi,x11,xv

    # 기본적으로 전체 화면 모드로 시작합니다.
    #fs=yes

    # 중앙 창에서 시작하는 강제 실행(앞, 가로 움직임, 뒤, 세로 움직임)
    geometry=50%:50%
    osd-level=1

    # 새 창의 크기가 화면 크기의 90%보다 큰 것을 허용하지 않습니다.
    autofit=100%x100%
    autofit-larger=90%x90%

    # OSC(화면 컨트롤러)를 비활성화합니다.
    #osc=no

    # 플레이어 창을 다른 모든 창 위에 유지합니다.
    #ontop=yes

    ###################
    # 오디오 설정 #
    ###################

    # 기본 오디오 드라이버를 지정합니다(목록은 --ao=help 참조).
    #ao=alsa

    # softvol 사용을 비활성화하고 가능한 경우 항상 시스템 믹서를 사용합니다.
    #softvol=no

    # 피치를 변경하지 않고 재생 속도로 오디오 템포를 조정합니다. (기본적으로
    # 재생 속도가 변경되지 않으면 아무 것도 없습니다. 아티팩트를 도입할 수 있습니다.)
    #af=scaletempo

    # 기본적으로 5.1 오디오를 출력하고 다른 형식으로 오디오를 업믹스/다운믹스합니다.
    #audio-channels=5.1
    # 자동 리믹스를 비활성화하고, 오디오 출력이 오디오 형식을 허용하는 경우,
    # 현재 재생 중인 파일의.
    #audio-channels=empty

    ###################
    # 다른 설정 #
    ###################

    # 웹 브라우저인 척. 일부 스트리밍 사이트에서 재생이 수정될 수 있습니다.
    # 그러나 또한 함성 방송 스트림과 함께 중단됩니다.
    #user-agent="Mozilla/5.0"

    # 캐시 설정
    #
    # 기본적으로 8MB 입력 캐시를 사용합니다. 캐시는 네트워크 스트림에 대해서만 활성화됩니다.
    #cache-default=8192
    #
    # 로컬 파일을 포함한 모든 것에 8MB 입력 캐시를 사용합니다.
    #cache=8192
    #
    # 검색이 실행되고 대상이 캐시된 범위를 지난 1024KB인 경우
    # 실제 탐색을 하는 대신 탐색 대상에 도달할 때까지 계속 읽으십시오.
    #cache-seek-min=1024
    #
    # 캐시가 아래로 내려가면 플레이어가 일시 중지하는 동작을 비활성화합니다.
    # 특정 채우기 크기.
    #cache-pause=no
    #
    # 오디오 및 비디오 패킷의 약 5초를 미리 읽습니다.
    #demuxer-readahead-secs=5.0

    # 가능한 경우 영어 자막을 표시합니다.
    #slang=en

    # 가능한 경우 핀란드어 오디오를 재생하고, 그렇지 않으면 영어로 대체합니다.
    #alang=ko,en

    # 자막 인코딩을 변경합니다. 아랍어 자막의 경우 'cp1256'을 사용합니다.
    # 파일이 유효한 UTF-8인 경우 UTF-8을 선호합니다.
    #sub-codepage=utf8:cp1256
    #

    # OSD/서브 글꼴 크기를 지정합니다. 단위는 a에서 크기가 조정된 픽셀의 크기입니다.
    # 창 높이 720. 실제 픽셀 크기는 창 높이로 조정됩니다.
    # 창 높이가 720보다 크거나 작으면 실제 크기
    # 텍스트도 증가하거나 감소합니다.
    # 기본값: 55.
    # osd-font-size=30

    # 가능한 경우 하드웨어 디코딩을 활성화합니다. 종종 이것은 특정
    # 비디오 출력, 그렇지 않으면 하드웨어 디코딩이 사용되지 않습니다.
    #hwdec=auto

    #############
    # 프로필 #
    #############

    # 프로필의 일부로 선언된 옵션은 전역 기본 설정을 재정의합니다.
    # 프로필이 활성화된 경우에만 적용됩니다.

    # 명령줄에서 다음 프로필을 활성화할 수 있습니다. --profile=vdpau

    #[vdpau]
    # 프로필은 vdpau VO를 강제 ​​실행합니다.
    #vo=vdpau
    # 하드웨어 디코딩 사용(이는 일부 h264 파일의 재생을 중단할 수 있음)
    #hwdec=vdpau
    # 대부분의 비디오 필터는 하드웨어 디코딩에서 작동하지 않습니다.
    #vf-clr=yes


    # 다른 구성 파일을 포함할 수도 있습니다.
    #include=/경로/to/the/file/you/want/to/include

     

    원본 내용.

    # mpv configuration file
    #
    # Configuration files are read system-wide from /usr/local/etc/mpv.conf
    # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
    # system-wide settings, all of which are overridden by the command line.
    #
    # Configuration file settings and the command line options use the same
    # underlying mechanisms. Most options can be put into the configuration file
    # by dropping the preceding '--'. See the man page for a complete list of
    # options.
    #
    # Lines starting with '#' are comments and are ignored.
    #
    # See the CONFIGURATION FILES section in the man page
    # for a detailed description of the syntax.
    #
    # Profiles should be placed at the bottom of the configuration file to ensure
    # that settings wanted as defaults are not restricted to specific profiles.
    #
    # Note that the commented example options usually do _not_ set the default
    # values. Calling mpv with --list-options is a nice way to see the default
    # values for most options.

    keep-open=always

    ##################
    # video settings #
    ##################

    # Specify default video driver (see --vo=help for a list).
    vo=opengl,vaapi,x11,xv

    # Start in fullscreen mode by default.
    #fs=yes

    # force starting with centered window
    geometry=50%:50%
    osd-level=1

    # don't allow a new window to have a size larger than 90% of the screen size
    autofit=100%x100%
    autofit-larger=90%x90%

    # Disable the On Screen Controller (OSC).
    #osc=no

    # Keep the player window on top of all other windows.
    #ontop=yes

    ##################
    # audio settings #
    ##################

    # Specify default audio driver (see --ao=help for a list).
    #ao=alsa

    # Disable softvol usage, and always use the system mixer if available.
    #softvol=no

    # Scale audio tempo by playback speed without altering pitch. (By default does
    # nothing if playback speed is not changed. May introduce artifacts.)
    #af=scaletempo

    # Output 5.1 audio natively, and upmix/downmix audio with a different format.
    #audio-channels=5.1
    # Disable any automatic remix, _if_ the audio output accepts the audio format.
    # of the currently played file.
    #audio-channels=empty

    ##################
    # other settings #
    ##################

    # Pretend to be a web browser. Might fix playback with some streaming sites,
    # but also will break with shoutcast streams.
    #user-agent="Mozilla/5.0"

    # cache settings
    #
    # Use 8MB input cache by default. The cache is enabled for network streams only.
    #cache-default=8192
    #
    # Use 8MB input cache for everything, even local files.
    #cache=8192
    #
    # If a seek is issued, and the target is 1024KB past the cached range, then
    # keep reading until the seek target is hit, instead of doing a real seek.
    #cache-seek-min=1024
    #
    # Disable the behavior that the player will pause if the cache goes below a
    # certain fill size.
    #cache-pause=no
    #
    # Read ahead about 5 seconds of audio and video packets.
    #demuxer-readahead-secs=5.0

    # Display English subtitles if available.
    #slang=en

    # Play Finnish audio if available, fall back to English otherwise.
    #alang=fi,en

    # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
    # If the file seems to be valid UTF-8, prefer UTF-8.
    #sub-codepage=utf8:cp1256
    #

    # Specify the OSD/sub font size. The unit is the size in scaled pixels at a
    # window height of 720. The actual pixel size is scaled with the window height:
    # if the window height is larger or smaller than 720, the actual size of the
    # text increases or decreases as well.
    # Default: 55.
    # osd-font-size=30

    # Enable hardware decoding if available. Often, this requires using an certain
    # video output, otherwise no hardware decoding will be used.
    #hwdec=auto

    ############
    # Profiles #
    ############

    # The options declared as part of profiles override global default settings,
    # but only take effect when the profile is active.

    # The following profile can be enabled on the command line with: --profile=vdpau

    #[vdpau]
    # The profile forces the vdpau VO.
    #vo=vdpau
    # Use hardware decoding (this might break playback of some h264 files)
    #hwdec=vdpau
    # Most video filters do not work with hardware decoding.
    #vf-clr=yes


    # You can also include other configuration files.
    #include=/path/to/the/file/you/want/to/include

    반응형

    댓글

Designed by Tistory.