CLIEN

본문 바로가기 메뉴 바로가기 보기설정 테마설정
톺아보기 공감글
커뮤니티 커뮤니티전체 C 모두의광장 F 모두의공원 I 사진게시판 Q 아무거나질문 D 정보와자료 N 새로운소식 T 유용한사이트 P 자료실 E 강좌/사용기 L 팁과강좌 U 사용기 · 체험단사용기 W 사고팔고 J 알뜰구매 S 회원중고장터 B 직접홍보 · 보험상담실 H 클리앙홈
소모임 소모임전체 ·굴러간당 ·아이포니앙 ·주식한당 ·MaClien ·방탄소년당 ·일본산당 ·소시당 ·개발한당 ·자전거당 ·이륜차당 ·AI당 ·안드로메당 ·소셜게임한당 ·골프당 ·바다건너당 ·걸그룹당 ·곰돌이당 ·나스당 ·콘솔한당 ·가상화폐당 ·키보드당 ·클다방 ·패스오브엑자일당 ·리눅서당 ·퐁당퐁당 ·물고기당 ·전기자전거당 ·노젓는당 ·디아블로당 ·찰칵찍당 ·라즈베리파이당 ·3D메이킹 ·X세대당 ·ADHD당 ·AI그림당 ·날아간당 ·사과시계당 ·육아당 ·배드민턴당 ·야구당 ·농구당 ·블랙베리당 ·비어있당 ·FM당구당 ·블록체인당 ·보드게임당 ·활자중독당 ·볼링친당 ·캠핑간당 ·냐옹이당 ·문명하셨당 ·클래시앙 ·요리한당 ·쿠키런당 ·대구당 ·DANGER당 ·뚝딱뚝당 ·개판이당 ·동숲한당 ·날아올랑 ·e북본당 ·갖고다닌당 ·이브한당 ·패셔니앙 ·도시어부당 ·FM한당 ·맛있겠당 ·포뮬러당 ·젬워한당 ·안경쓴당 ·차턴당 ·총쏜당 ·땀흘린당 ·하스스톤한당 ·히어로즈한당 ·인스타한당 ·IoT당 ·KARA당 ·꼬들한당 ·덕질한당 ·어학당 ·가죽당 ·레고당 ·LOLien ·Mabinogien ·임시소모임 ·미드당 ·밀리터리당 ·땅판당 ·헌팅한당 ·오른당 ·영화본당 ·MTG한당 ·소리당 ·노키앙 ·적는당 ·방송한당 ·PC튜닝한당 ·그림그린당 ·소풍간당 ·심는당 ·품앱이당 ·리듬탄당 ·달린당 ·Sea마당 ·SimSim하당 ·심야식당 ·윈태블릿당 ·미끄러진당 ·축구당 ·나혼자산당 ·스타한당 ·스팀한당 ·파도탄당 ·테니스친당 ·테스트당 ·빨콩이당 ·공대시계당 ·여행을떠난당 ·터치패드당 ·트윗당 ·창업한당 ·VR당 ·시계찬당 ·WebOs당 ·위스키당 ·와인마신당 ·WOW당 ·윈폰이당
임시소모임
고객지원
  • 게시물 삭제 요청
  • 불법촬영물등 신고
  • 쪽지 신고
  • 닉네임 신고
  • 제보 및 기타 제안
© CLIEN.NET
공지[점검] 잠시후 서비스 점검을 위해 약 30분간 접속이 차단됩니다. (금일 18:15 ~ 18:45)

리눅서당

Screenshot
Ncurse 음악 용도의 CLI 프로그램들과 ranger + mpv 스크린캣쳡 18

4
IPZ-721
4,846
2023-08-19 19:03:44 수정일 : 2023-08-20 18:59:57 125.♡.235.177

여러가지 미디어 재생용 Ncurse 프로그램들 소개 및 스크린샷과 샘플 동영상입니다.


일단. 최순위 추천은 ranger + mpv  이 2 개입니다.  ranger + mpv 이면 정말 웬만한건 다 됩니다.

(각종 플러그인들을 설치, 커스텀 설정까지 하면 어머어마한 확장력을 지니게 됩니다.)


- 파일매니저는 ranger 가 가장 좋은 것 같습니다.  (ranger wiki 에 플러그인들 설치 방법과, 설명서가 자세합니다.)

  간혹 lf, vifm 도 쓰긴합니다. nnn 속도가 월등히 빠릅니다. 프로그램마다 단축키와 설정 방법이 다 달라서. 처음부터 한개 정해서.. 일일히 설정/키바인딩 해서, 한 우물 파야 합니다.


- CLI 용도 음악재생은 조합이 꽤 많습니다. 아래 조합들을 추천드립니다.

  (초심자는 그냥 "cue" cli 프로그램 추천합니다. 별다른 설정이 필요 없습니다.  "~/Music" 폴더에 음원파이들 넣어두고 $ cue 치면 끝입니다. )


1. 음원이나 스티리밍 소스가 많아 통합이 필요하다.

   mopidy(음악서버) + iris(mopidy 웹서버) + (coverart 커스텀), + 플러그인 커스텀 :  음악서버 + 웹클라이언트 + 확장 플러그인들 입니다.


- youtube, google-play-music,  spotify, (ncmpcpp, mpv), noti

https://i.imgur.com/hb4YRDC.png


- mopidy + 프러그인들 + 위 소스들 통합

https://i.imgur.com/sLKeX5J.png



https://i.imgur.com/q3pHSzn.png


https://i.imgur.com/mIYPL5k.png LINK


https://i.imgur.com/11jYKyy.png LINK




2. 로컬 음원파일들이 많다.

  mpd(응악서버) + ncmpcpp + (mpc 키바인딩,) + (coverat 커스텀) + (coverart notification) + (fzf + mpc + fmpc)


- CLI 리눅스 유저의 거의 표준 구성 : qutebrowser + ranger + ncmpcpp(width mpd or mopidy) + mpv

https://i.imgur.com/RijaVCv.png LINK


- ranger + mpc 키바인딩(with mpd or mopidy) + youtube music video

https://i.imgur.com/zWQ0YfQ.png LINK


- ncmpcpp(with mpd) + coverart noti

https://i.imgur.com/LltXzBO.png LINK


- mpd(or mopidy) + ncmpcpp + coverart 커스텀


- mpd(or mopidy) + fzf + mpc + coverart noti






3. 로컬에 top 100 파일을 선호한다. (아래 샘플 동영상 참조)

  3-1. mpv + (mpris 이용 playerctl 키바인딩)

  3-2.. cue ---> 추천합니다. 단순 재생에 적합니다.

https://i.imgur.com/YW3dbK8.png LINK


  3-3. cmus, moc 요즈음은 잘 사용하지는 않는 것 같습니다.



- 음악용 : 1분 30초

  1. ranger + mpv  2. cue

  ( mpv 는 console 상에 실행 또는 X로 실행 선택 가능,  mpv 출력은  auto profile 이용, 우측 상단에  geometry로 고정), 

  (( playlist 관련 lua 확장 플러그인 ))

A. autoload.lua : (위 영상의) 00:00:38:050 지점부터,  

   https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

   ranger 실행하고, "018 NewJeans - Attenstion.flac"  커서 상태에서 "l" 키 누르면 mpv 실행되면서 자동으로 "[autoload] Adding ....."  뜨면서 플레이리스트를 만들어 줍니다. 

   lua 파일 , lua 환경 설정 파일 위치 ( "~~" 는 mpv 환경설정 폴더를 의미합니다" 보통은 "~/.config/mpv/"

  | ~~/scripts/autoload.lua

  | ~~/script-opts/autoload.conf

disabled=no

images=no

videos=yes

audio=yes

ignore_hidden=yes



B. 음원 fanart 우측 상단 고정 : 00:00:39.150 지점,, 우측 상단 "꼬양이" fanart 고정

  | ~~/mpv.conf

아래 "geometry=14%" :저는 음원 fanart 14% 로 사이즈를 지정하고,  듀얼모니터를 사용하는지라 별도의 xmonad 윈도우 매니저에서 X위에 Screen 구분하여, 상대적인 우측 상단의 코너에 박는 루틴이 따로 설정되어 있습니다.

 일반 윈도우 매니저인 경우 : 아래 geometry  옵션을 참조하여 정확한 절대 위치로 고정합니다.

--geometry=<[W[xH]][+-x+-y][/WS]>, --geometry=<x:y>

### Extension Specific #########################################################


[extension.mp3]

no-config

hwdec=no

vf-clr

x11-name=music

ontop

border=no

geometry=14%

target-prim=auto

target-trc=srgb

video-output-levels=full

display-tags=album,artist,title,lyrics-kor,lyrics-eng

term-osd-bar=yes

osd-status-msg='${time-pos}-${=time-pos} / ${duration} (${percent-pos}%)\n${osd-ass-cc/0}{\\1c&H725761&}{\\b1} ${osd-sym-cc}${osd-ass-cc/0}{\\1c&H725761&}{\\b1}\t${media-title}\n ${osd-ass-cc/0}{\\1c&HA3A3A3&}{\\b1}{\\fs10}\n${osd-ass-cc/0}{\\1c&HA3A3A3&}{\\b1}  File Size: ${osd-ass-cc/0}{\\1c&HFFFFFF&}{\\b1}${file-size}\n${osd-ass-cc/0}{\\1c&HA3A3A3&}{\\b1}  Format: ${osd-ass-cc/0}{\\1c&HFFFFFF&}{\\b1}${file-format}{?audio-codec-name:${audio-codec-name}}\n${osd-ass-cc/0}{\\1c&HA3A3A3&}{\\b1}\n  Audio Codec: ${osd-ass-cc/0}{\\1c&H725761&}{\\b1}${?audio-codec:${audio-codec}}\n${osd-ass-cc/0}{\\1c&HA3A3A3&}{\\b1}  Audio-bitrate: ${osd-ass-cc/0}{\\1c&H725761&}{\\b1}${?audio-bitrate:${audio-bitrate}} ${?audio-params/channels:(${audio-params/channels})}\n\n${osd-ass-cc/0}{\\1c&H573E57&}{\\b1}  Output Driver: ${?current-ao: AO [${current-ao}]}{\\1c&H573E57&}{\\b1} {osd-ass-cc/0}{\\1c&H009aa7c0&}{\\b1}{\\an7}\n\n  Mpv version: ${mpv-version}\n  FFmpeg version: ${ffmpeg-version}'

osd-msg2='${osd-ass-cc/0}{\\r}{\\pos(100,10)}{\\1c&H573e78&}{\\b1}{\\fs10}\n ${filtered-metadata/title}   by ${filtered-metadata/artist} ( ${filtered-metadata/album})${osd-ass-cc/0}{\\1c&H009aa7c0&}{\\b1}{\\fs6}\n\n ${?filtered-metadata/lyrics-kor:${filtered-metadata/lyrics-kor}}${?filtered-metadata/lyrics-eng:${filtered-metadata/lyrics-eng}}'



[extension.flac]

profile=extension.mp3


[extension.m4a]

#no-video

# equal to --vid=no, If video is disabled, mpv will try to download the audio only if media is streamed 

# with youtube-dl, because it saves bandwidth. This is done by setting the ytdl_format to "bestaudio/best"

# in the ytdl_hook.lua script.

display-tags=album,artist,title,lyrics-kor,lyrics-eng   # display-tags=*

term-osd-bar=yes

profile=extension.mp3

   

C. minimal GUI : UOSC 내장 플레이리스트 뷰어 - 00:00:46.200  지점부터

   https://github.com/tomasklaen/uosc

   UOSC lua 플러그린 설치하면 Playlist Control Viewer 같이 설치 됩니다.

   "f" 키 눌러 풀스크린 화면으로 전환하고,  "키패드 0번" 키 누르면 플레이리스트가 뜹니다. (디폴트는 "p" 키 입니다. 다른 lua  화장과 겹쳐서  "keypad 0" 번키로 변경중.

   | ~~/script/uosc.lua

   | ~~/script/uosc_shared 폴더

   | ~~/script-opts/uosc.conf

   ** UOSC 우크릭 메뉴 수정, UOSC 단축키 수정  | ~~/input.conf



D. Mpv-Playlistmanager : 00:00:49.100 지점부터

    https://github.com/jonniek/mpv-playlistmanager

    (위 UOSC 내장 플레이리스트 뷰어는 콘솔 상의 단축키로는 안 먹고, X 출력상의 화면에 커서가 있을때만 단축키가 먹습니다. 그리고 마우스 크릭 메뉴가 따로 있습니다.

    D번은,,, curosr 가 콘솔상에 있든, X의 출력 화면상에 있든 단축키가 2다 먹습니다. 가장 빠르고 가볍습니다.)

   | ~~/script/playlistmanager.lua

   | ~~/script-opt/playlistmanager.conf

    아래 적절한 값으로 외형을 꾸미고 편집할 수  있습니다.

#### ------- Mpv-Playlistmanager configuration ------- ####


#### ------- FUNCTIONAL ------- ####


#json format for replacing, check .lua for explanation

#example json=[{"ext":{"all":true},"rules":[{"_":" "}]},{"ext":{"mp4":true,"mkv":true},"rules":[{"^(.+)%..+$":"%1"},{"%s*[%[%(].-[%]%)]%s*":""},{"(%w)%.(%w)":"%1 %2"}]},{"protocol":{"http":true,"https":true},"rules":[{"^%a+://w*%.?":""}]}]

filename_replace=[{"ext":{"all":true},"rules":[{"_":" "}]},{"ext":{"mp4":true,"mkv":true},"rules":[{"^(.+)%..+$":"%1"},{"%s*[%[%(].-[%]%)]%s*":""},{"(%w)%.(%w)":"%1 %2"}]},{"protocol":{"http":true,"https":true},"rules":[{"^%a+://w*%.?":""}]}]

#empty for no replace

#filename_replace=


#filetypes to search from directory

#loadfiles_filetypes=["mkv","avi","mp4","ogv","webm","rmvb","flv","wmv","mpeg","mpg","m4v","3gp","mp3","wav","ogv","flac","m4a","wma","jpg","gif","png","jpeg","webp"]

loadfiles_filetypes=["mkv","avi","mp4","ogv","webm","rmvb","flv","wmv","mpeg","mpg","m4v","3gp","mp3","wav","ogv","flac","m4a","wma"]


#loadfiles at startup if there is 0 or 1 items in playlist, if 0 uses worḱing dir for files

#requires --idle=yes or --idle=once if 0 files in playlist

#loadfiles_on_start=no

loadfiles_on_start=yes


#sort playlist on mpv start

sortplaylist_on_start=no

#sortplaylist_on_start=yes


#sort playlist when any files are added to playlist after initial load

sortplaylist_on_file_add=no

#sortplaylist_on_file_add=yes


#yes: use alphanumerical sort comparison(nonpadded numbers in order), no: use normal lua string comparison

alphanumsort=yes


#linux=yes, windows=no

linux_over_windows=yes


#navigation keybindings force override only while playlist is visible

dynamic_binds=yes

#dynamic_binds=no


#path where you want to save playlists, notice trailing \ or /. Do not use shortcuts like ~ or $HOME

playlist_savepath=/home/nietz/Documents/


#2 shows playlist, 1 shows current file(filename strip applied), 0 shows nothing

show_playlist_on_fileload=0


#sync cursor when file is loaded from outside reasons(file-ending, playlist-next shortcut etc.)

sync_cursor_on_load=yes


#playlist open key will toggle visibility instead of refresh

open_toggles=yes


#allow the playlist cursor to loop from end to start and vice versa

loop_cursor=yes


#### ------- VISUAL ------- ####


#prefer to display titles over filenames, sorting will still use filename to stay pure

#Playing: file header, will always prefer media title

#prefer_titles=no

prefer_titles=yes


#playlist timeout on inactivity, with high value on this open_toggles is good to be yes

#playlist_display_timeout=10

playlist_display_timeout=5


#amount of entries to show before slicing. Optimal value depends on font/video size etc.

showamount=16


#font size scales by window, if no then needs larger font and padding sizes

scale_playlist_by_window=yes

#scale_playlist_by_window=no

#playlist ass style overrides

#example {\fnUbuntu\fs10\b0\bord1} equals: font=Ubuntu, size=10, bold=no, border=1

#read http://docs.aegisub.org/3.2/ASS_Tags/ for reference of tags

#no values defaults to OSD settings in mpv.conf

style_ass_tags={\fnSpoqaHanSansJP\i0\shad0.5\fs10\bord1\c&Hffffff>&\3a&H00&\fry20\frx20\frz15}


#paddings for top left corner

#text_padding_x=10

text_padding_x=155

#text_padding_y=30

text_padding_y=30


#set title of window with stripped name

set_title_stripped=no

title_prefix=

title_suffix= - mpv


#slice long filenames, and how many chars to show

slice_longfilenames=no

slice_longfilenames_amount=70


#Playing header. One newline will be added after the string.

#%mediatitle or %filename = title or name of playing file

#%pos = position of playing file

#%cursor = position of navigation

#%plen = playlist lenght

#%N = newline

playlist_header=Playing: %mediatitle%N%NPlaylist - %cursor/%plen


#playlist display signs, prefix is before filename, and suffix after

#currently playing file 

#playing_str_prefix=▷ - 

playing_str_prefix=●● - 

playing_str_suffix=


#cursor is ontop of playing file

#playing_and_cursor_str_prefix=▶ - 

playing_and_cursor_str_prefix=●● - 

playing_and_cursor_str_suffix= - ●●


#cursor file prefix and suffix

#cursor_str_prefix=● - 

cursor_str_prefix=   

cursor_str_suffix=   


#non cursor file prefix and suffix

non_cursor_str_prefix=○ - 

non_cursor_str_suffix=


#when you select a file

#cursor_str_selected_prefix=● = 

cursor_str_selected_prefix=  = 

cursor_str_selected_suffix=


#when currently playing file is selected

#playing_str_selected_prefix=▶ = 

playing_str_selected_prefix= ●● - 

playing_str_selected_suffix=


#top and bottom if playlist entries are sliced off from display

playlist_sliced_prefix=...

playlist_sliced_suffix=...


#show file playlistnumber before filename ex 01 - ▷ - file.mkv

#show_prefix_filenumber=no

show_prefix_filenumber=yes

#show playlistnumber before other prefixes

show_prefix_filenumber_first=yes

#prefix and suffix will be before and after the raw playlistnumber

prefix_filenumber_prefix=

prefix_filenumber_suffix= - 



E. mpv-gallery-view : 00:01:09.600 지점부터

   https://github.com/occivink/mpv-gallery-view

 "f" 키로 전체화면으로 전환한 후 "g" 키,  "~/.cache/thumbnails/mpv-gallery" 폴더에..  플레이리스트의 영상 파일들 또는 음원 파일들의 썸네일 이미지를 최조 한번 생성합니다. 

 "c" 키 :  해당 영상 파일의 50 구간의 타임스탬프 쎔네일 이미지를 생성합니다. 이하 cache 폴더에 해당 영상 파일 최초 한번 

   | ~~/script/gallery-thumbgen.lua

   | ~~/script/contact-sheet.lua

   | ~~script-modules/gallery.lua

  | ~~/script-opt/gallery_worker.conf

  | ~~/script-opt/playlist_view.conf

# mpv-gallery-view | https://github.com/occivink/mpv-gallery-view

# This is the settings file for scripts/playlist-view.lua

# File placement: script-opts/playlist_view.conf

# Defaults: https://github.com/occivink/mpv-gallery-view/blob/master/script-opts/playlist_view.conf


# thumbnail directory in which to create and look for thumbnails

# on Unix-like platforms:

#thumbs_dir=~/.cache/thumbnails/mpv-gallery

# on Windows:

#thumbs_dir=%APPDATA%\mpv\gallery-thumbs-dir

# note that not all env vars get expanded, only '~' and 'APPDATA' do


# create thumbs_dir if it doesn't exist

# mkdir_thumbs=yes


# use mpv instead of ffmpeg for thumbnail generation

# slightly slower and does not support transparency, but does not require additional ffmpeg/ffprobe executables

# yes on Windows, no on other plateforms

#generate_thumbnails_with_mpv=no


# all options below are platform-independent


# fine-grained controls for the geometry of the gallery

# each option can have a* value, or dynamic by using the following variables:

# ww, wh: mpv window width, mpv window height (always available)

# gx, gy: gallery horizontal position, gallery vertical position

# gw, gh: gallery width, gallery height

# sw, sh: minimum spacing width, minimum spacing height

# tw, th: thumbnail width, thumbnail height

# these strings are interpreted using the lua equivalent of "eval" so math functions and logical conditions can be used

# if an option references variables, they will be computed in the appropriate order

# (for example, if gallery_width == 5 * thumbnail_width, thumbnail_size will be computed before gallery_size)

# in case of cyclical dependencies, the script will abort

# example

# -------

# make the gallery centered

gallery_position={ (ww - gw) / 2, (wh - gh) / 2 }

# make the gallery's size 9/10 the size of the window

gallery_size={ 9 * ww / 10, 9 * wh / 10 }

# with at least 15 pixels of spacing between each thumbnail

min_spacing={ 15, 15 }

# and two thumbnail size presets for Windows smaller/bigger than 1366 x 768

thumbnail_size=(ww * wh <= 1366 * 768) and {192, 108} or {288, 162}

# it is recommended to use discrete increments for thumbnail_size since a new thumbnail needs to be generated for each size


# limit the number of thumbnails visible, even if more could be shown

# 64 is the maximum due to limitations in mpv

max_thumbnails=64


# the position in the file at which to take the thumbnail

# can either be a percentage of the video duration, or a number of seconds

take_thumbnail_at=20%


# load to the selected video when the playlist-view is toggled off

load_file_on_toggle_off=no

# close the playlist-view when loading a video

close_on_load_file=yes

# pause the current video when the playlist-view is opened

pause_on_start=yes

# resume the current video when the playlist-view is closed

# can be yes, no, or only-if-did-pause

# in the latter case, will only resume if the video was actually paused by opening the playlist-view

resume_on_stop=only-if-did-pause

# automatically start the playlist-view when mpv is started

start_on_mpv_startup=no

# automatically start the playlist-view when the current file is finished

# only has an effect when keep-open=always

start_on_file_end=yes

# if the currently playing file changes, set the selection to the new one

follow_playlist_position=no

# when loading a file, remember the time-position of the previous

# and restart from there if it's loaded again

remember_time_position=yes


# show the filename below each thumbnail

show_text=yes

# use the playlist title if it exists instead of the filename

show_title=yes

strip_directory=yes

strip_extension=yes

text_size=28


# colors are defined in hexadecimal in Blue Green Red (BGR) order

# if multiple colors should be active, they get evenly blended

# opacity is defined between 00 (opaque) and FF (transparent)

background_color=333333

background_opacity=33

normal_border_color=BBBBBB

normal_border_size=1

selected_border_color=E5E4E5

selected_border_size=6

# show a special border around the currently playing file

highlight_active=yes

active_border_color=EBC5A7

active_border_size=4

flagged_border_color=96B58D

flagged_border_size=4

placeholder_color=222222


# arbitrary commands that are run when the playlist-view is opened/closed

# this can be used for lowering video settings when the gallery is active, since

# high-quality video settings can result in slowdown of the gallery

command_on_open=

command_on_close=


# the path of the 'flags' file that is written when you exit mpv

flagged_file_path=./mpv_gallery_flagged


mouse_support=yes

UP=UP

DOWN=DOWN

LEFT=LEFT

RIGHT=RIGHT

PAGE_UP=PGUP

PAGE_DOWN=PGDWN

FIRST=HOME

LAST=END

RANDOM=r

ACCEPT=ENTER

CANCEL=ESC

# this only removes entries from the playlist, not the underlying file

REMOVE=DEL

FLAG=SPACE


  | ~~/script-opt/contact_sheet.conf


** 위 3가지 정도의 playlist viewer 플러그인 이면 충분합니다.

   저는 음원 파일들은 "E 플러그임" 을 사용하고,  영상파일/TV채널 일때 "D 플러그인을 " 사용하는게 좋더라구요. 영상파일들이 많으면 최조 썸네일 생성에 시간도 좀 걸리기도 하구요. 커서 옮기기 전에는 파일이름이 보이지 않아서요.



***  확장 플러그인 호출 단축키 :   lua 확장 플러그인들이 엄청 많이 설치되어 있으면 일일히 다 뜯어서, 서로 단축키 겹치지 않게 설정하는게 중요합니다. 저는 설치/설정보다..   단축키 겹치지 않게 변경해서 키바인딩하는게 더 시간이 많이 걸리더라구요. 

현재. window manager의 단축키,  각종 프로그램들의 단축키,  mpv 의 단축키 등등 서로 겹치지 않게 설정하는데 정말 많은 시간을 투자한 것 같아요( 현재 1000여개 이상의 단축키 사용중.. 천자문인가????)

  | ~~/input.conf

ctrl+p script-message playlistmanager sort startover

p script-message playlistmanager show playlist toggle

i script-binding jumptofile


g script-message contact-sheet-close; script-message playlist-view-toggle

c script-message playlist-view-close; script-message contact-sheet-toggle


KP0 script-binding uosc/playlist



-  (번외 1)   mpv 유투브 :  1. youtube-viewer(or pipe-viewer) ,   2. ytfzf

 1. pipe-viewer (youtube-view fork:  youtube API 설치/설정이 필요 없다) (아래 본인의 컴에 맞는 옵션으로 alias 설정)

  $ pipe-viewer --yt-dlp --ytdl-cmd="yt-dlp" --resolution=1080p --prefer-av1 --hfr --wget-dl -uv @ai-enhancedkpop1975

https://i.imgur.com/kaHzq9A.png LINK


https://i.imgur.com/TEnM5pR.png LINK



2. ytfzf

   $ ytfzf -t -T mpv blackpink 8k

   or $ ytfzf -t -T imv blackpink 8k  

https://i.imgur.com/LpWlWQF.png LINK




-  (번외 2)   mpv 실시간 야동 (잡다한 스크립트들/cli 프로그램들 묶음: python, vapoursynth, lua, bash... / ffmpeg, green tunnel , realesrgan,  imagemagic, dunst ...)

 | 스케베 hash 스크랩: bash script

 | JAVDB 메타데이타 스크랩 : bash  script

 | webtorrent hook(=mpv-webtorrent-hook lua script) :  with webtorrent-cli,  jq, xidel, basic shell utilities (bash, awk, grep, nohup, tail)

 | Jav Poster AI Upscaling

   1. convert(=In ImageMagic) : fanart 이미지 우측부분 cutting.  --> 

   2. 포스터 업스케일링 : realesrgan  -n RealESRGAN_x4plus  Upscaling  --> 

   3.  convert  x726 해상도로 DownScaling]

 | Jav 품번정보 notification(with 구글번역) : bash/lua script, mpv-mpris, playerctl, dunstfy, trans


** main : jp : bash 스크립트 (그냥 "jp 품번" 만 치면 영상과 영상정보가 뜬다)  노홍철, 유재석, 유재석 아마추어, FC2-PPV 를 지원한다. Local 하드의 한글자막, 한글포스터를 지원한다.

   

   A.  mpv 프레임보간 :  Vapoursynth - NVOF(=Nvidia Optical Flow) 60fps 실시간 보간, 4K 해상도의 영상도 보간 지원,  (Tensor RIFE: 의미없음 (GPU 하드웨어 성능 제약으로 실시간 보간 불가, 인코딩용))

   B. mpv 디벤딩 :  Vapoursynth - f3kdb(=flash3kyuu_deband)

       또는  ffmpeg(=lavfi) - gradfun 

   C. mpv 디인터레이스 : mpv 내장 bwdif

       또는 nnedi3 : ffmpeg : lavfi=[nnedi=weights=/mnt/Media/nnedi3_weights.bin:deint=interlaced:qual=fast]

   D. mpv "Auto Crop" :  autocrop.lua  : "C" 키로 바인딩

   E. mpv 커스텀 세이더 : 

        * NVIDIA Image Upscaling/Sharpening Shader (luma upscaling)

        * KrigBilateral Shader (chroma upscaling)

        * SSimDownscaler (rgb)

   F.  Audio Normalize 증폭 :  lavfi [graph=loudnorm=I=-14:TP=-3:LRA=4], dynaudnorm=g=5:f=250:r=0.9:p=0.5

LINK


오래 전에 설치/설정할 때 찍어 두었던 스크린 캡쳐들인데요. 요즈음도 크게 달라진 건 없는 것 같습니다. 

누군가에게는 도움이 되시길...


출처 : Madonna-AV
IPZ-721 님의 게시글 댓글
  • 주소복사
  • Facebook
  • X(Twitter)
댓글 • [18] 을 클릭하면 간단한 회원메모를 할 수 있습니다.
Realtime
IP 75.♡.158.112
08-19 2023-08-19 23:17:19 / 수정일: 2023-08-19 23:17:32
·
예전엔 공유하셨던 스크린샷들이 이렇게 건전하지 않았던 것 같은데요...
IPZ-721
IP 125.♡.235.177
08-20 2023-08-20 16:27:19
·
@Realtime님
오래전 옛날에는 건전했는데.. 조금 예전부턴 건전하지 않게 된 것 같네요.
건전한건 이미 완성형,, 건전하지 않은 것도 이제 거의 완성형에 다다른 것 가탕효. 나름 스크린샷의 건담/비건전 변천사가 있네요.
sephid86
IP 119.♡.245.211
08-20 2023-08-20 00:43:22
·
저는 번외 2번이요!!

두루마리 휴지 준비되어있습니다!!
IPZ-721
IP 125.♡.235.177
08-20 2023-08-20 16:32:24
·
@sephid86님
저도 번외 2번요!! 비록 허접한 자작 스크립트들이지만, 인터넷 어디에서도 볼수 없는 저만의 경험치

모자막 사이트에 2부작 강좌가 있습니다. (1. mpv potable 설치, 토탈 custom 설정 한방 팩, 2. 실시간 야동 재생 스크립트)
sephid86
IP 119.♡.245.211
08-20 2023-08-20 17:32:09 / 수정일: 2023-08-20 17:33:00
·
@IPZ-721님
작년인가 재작년에 쪽지 주셨던것 같은데..
저번에 주셨던 쪽지보다 더 감사할것 같습니다.

그 강좌 쪽지로 좀 부탁드려도 되겠습니까 선생님
IPZ-721
IP 125.♡.235.177
08-20 2023-08-20 17:55:18
·
@sephid86님
쪽지 드렸습니다. 번외 2번. 샘플 동영상은 최신 기술이 모든 접목된 완성형입니다.
강좌는 대략 한 7~80% 입니다. 핵심적인 거는 다 들어 있고 기본은 돌아가는데.. 미쳐 작성하지 못한 내용이나 불친절한 설명으로. 누락된 2~30% 강좌 내용으로 안되는게 있을 수도 있습니다. 세세하게는 고쳐써야합니다.
전체적인 흐름, 기본 로직은 대략 다 설명 되어 있는 것 같습니다.

저는 "유한킴벌리" 울트라 크린 두루마리 휴지가 상시 준비 되어 있습니다.
IPZ-721
IP 125.♡.235.177
08-20 2023-08-20 17:42:51
·
본문 내용 초과 됬네요. 댓글에 추가합니다.
| ~~/input.conf
-------------------------------------------------------------
# Lua Custom Keybind {{{
###########################################################
## Lua script custom keybinding
## lua scripts file: ~/.config/mpv/scripts/
## cutomization conf: ~/.config/mpv/lua-settings/
#
#
## mpv-progressbar.lua https://github.com/torque/mpv-progressbar
# torque-progressbar.conf
#. script-binding progressbar/step-forward
#, script-binding progressbar/step-backward
ctrl+o script-binding progressbar/toggle-inactive-bar
tab script-binding progressbar/request-display
mouse_btn0 script-binding progressbar/seek-to-mouse

## stats.lua https://github.com/Argon-/mpv-stats
# stats.conf
# 1 stats (as usual)
# 2 frame timings
i script-binding stats/display-stats
I script-binding stats/display-stats-toggle

## autocrop.lua https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autocrop.lua
C script-binding auto_crop

## autodeint https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autodeint.lua
ctrl+d script-binding autodeint

## autoload.lua https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

## easycrop.lua https://github.com/aidanholm/mpv-easycrop
#c script-binding easy_crop

## playlistmanager.lua https://github.com/jonniek/mpv-playlistmanager/blob/master/playlistmanager.luao
# playlistmanager.conf https://github.com/jonniek/mpv-playlistmanager/blob/master/playlistmanager.conf
#enter playlist-next ; script-message playlistmanager show playlist
# shitft+enter: show playlist toggle
ctrl+p script-message playlistmanager sort startover
p script-message playlistmanager show playlist toggle
i script-binding jumptofile

## webtorrent-mpv-hook https://github.com/mrxdst/webtorrent-mpv-hook
# Toggles info/progress overlay.
P script-binding webtorrent/toggle-info
IPZ-721
IP 125.♡.235.177
08-20 2023-08-20 17:43:13
·
## Encode, Various scripts for mpv https://github.com/occivink/mpv-scripts#encodelua
# vo mode: no hwdec, no vapoursynth
# {blacklist-extensions,blur-edges,crop,encode,misc,seek-to}.lua
# {blacklist-extensions,blur-edges,crop,encode_slice,encode_webm}.conf
## crop.lua
c script-message-to crop start-crop # start cropping
#d vf del -1
ctrl+c vf del -1 # remove the crop
alt+c script-message-to crop toggle-crop # or use the ready-make "toggle" binding
d script-message-to delogo start-delogo # start deloging
## delogo.lua
ctrl+d script-message-to delogo toggle-delogo # or use the ready-make "toggle" binding
## encode.lua
alt+e script-message-to encode set-timestamp # encode (default profile: vp8 webms)
e script-message-to encode set-timestamp encode_mp4 # encode (custom mp4 profile)
E script-message-to encode set-timestamp encode_slice # slice (custom profile)
## blur-edges.lua
b script-message-to blur_edges toggle-blur
## seek-to.lua
t script-message-to seek_to toggle-seeker

## image-viewer.lua https://github.com/occivink/mpv-image-viewer
#

## mpv-gallery-view https://github.com/occivink/mpv-gallery-view
# {gallery.lua,gallery-thumbgen}.lua
# gallery.conf
#g script-message gallery-view
g script-message contact-sheet-close; script-message playlist-view-toggle
c script-message playlist-view-close; script-message contact-sheet-toggle

## subit.lua
alt+d script-binding subit

## mpv_thumbnail_script
shift+alt+s script-binding generate-thumbnails
# }}}


### UOSC Menu Config ###

#P script-binding uosc/playlist #! File > Playlist
#p script-binding uosc/playlist
KP0 script-binding uosc/playlist #! File > Playlist

-------------------------------------------------------------
신사아님당
IP 125.♡.243.26
08-21 2023-08-21 21:33:35
·
머..머싰써요! ㅎㄷㄷㄷㄷ
IPZ-721
IP 125.♡.235.177
08-21 2023-08-21 23:10:36
·
@신사아님당님
건전한 "아카리 츠므기 짜응^^" 입니당!
신사아님당
IP 125.♡.243.26
08-21 2023-08-21 23:52:04 / 수정일: 2023-08-22 00:04:09
·
@IPZ-721님 올려주신 스샷.. 엄청 쾌적해 보입니다.
긴급휴무
IP 211.♡.71.91
08-22 2023-08-22 01:06:37
·
와우... 정성스런 글이네요.
공부할까
IP 119.♡.31.4
08-22 2023-08-22 11:37:25
·
ranger가 Midnight Commander 같은 건가요?
옛날 dos에 norton commander나 mdir같은 거요.

sephid86
IP 119.♡.245.211
08-23 2023-08-23 14:50:42 / 수정일: 2023-08-23 14:54:40
·
@공부할까님
윈도우 탐색기. 그놈 노틸러스. kde 돌핀. xfce4 투나. 도스시절 흔히 쓰던 mdir

이런 애들을 파일 매니저라고 합니다.

ranger 나 미드나잇 커맨더, mdir 이런 애들은 gui 가 아닌 cli 에서 동작하는 파일매니저 입니다.

개인적으로 mdir 이 제일 사용하기 편했는데... 미드나잇 커맨더가 mdir 이랑 비슷한점이 꽤 많은것 같아요..

ranger 의 장점은 vim 과 유사한 키맵과 파일 preview 가 된다는 점 입니다.

리눅스 프로그램들 상당수가 vim 의 키맵을 따라가는 경향이 있습니다.

최소한 hjkl 키 이동방식과 / 서치기능을 적용하는 경우가 많습니다.
sephid86
IP 119.♡.245.211
08-23 2023-08-23 23:15:19
·
선생님. 아리따운 처자들이 나오는 고화질 월페이퍼는 어디서 구하시는지 알려주실수 있으실까요..

정말 너무 알고싶습니다..
IPZ-721
IP 125.♡.235.177
09-02 2023-09-02 18:17:23
·
@sephid86님
예전에 사이트 알았는데 안들어갖니 오래됬더니. 주소 까묵엇네요.
아래 모 자막 사이트에 가서 "자유게시판" 또는 "질문/답변 게시판" 에 글 올리면 괴수분들이 답변해 주실 겁니다.
mag000ruma
IP 118.♡.11.202
09-01 2023-09-01 09:25:05
·
정성스러운 글 감사합니다.
실례가 안된다면 번외2번 강좌 부탁드려도 될까요 :)
선생님 글을 보면서 openbsd ranger mpv로 신세계를 경험하고 있습니다. 감사합니다!
IPZ-721
IP 125.♡.235.177
09-02 2023-09-02 18:19:10
·
@마고잔님
아래 성인 자막 사이트에.. 가입해서 "mpv" 로 검색하시면 강좌 1편, 2편, 3편이 있습니다
1편은 프리뷰, 2편은 세팅/설정 한방 팩, 3편은 스크립트 여러개 (번외 2에 해당)
모자막 사이트 : avsubs : 핸드폰 성인인증 가입이 필요합니다.
새로운 댓글이 없습니다.
이미지 최대 업로드 용량 15 MB
업로드 가능 확장자 jpg,gif,png,jpeg,webp
지나치게 큰 이미지의 크기는 조정될 수 있습니다.
목록으로
글쓰기
목록으로 댓글보기 이전글 다음글
아이디  ·  비밀번호 찾기 회원가입
이용규칙 운영알림판 운영소통 재검토요청 도움말 버그신고
개인정보처리방침 이용약관 책임의 한계와 법적고지 청소년 보호정책
©   •  CLIEN.NET
보안 강화를 위한 이메일 인증
안전한 서비스 이용을 위해 이메일 인증을 완료해 주세요. 현재 회원님은 이메일 인증이 완료되지 않은 상태입니다.
최근 급증하는 해킹 및 도용 시도로부터 계정을 보호하기 위해 인증 절차가 강화되었습니다.

  • 이메일 미인증 시 글쓰기, 댓글 작성 등 게시판 활동이 제한됩니다.
  • 이후 새로운 기기에서 로그인할 때마다 반드시 이메일 인증을 거쳐야 합니다.
  • 2단계 인증 사용 회원도 최초 1회는 반드시 인증하여야 합니다.
  • 개인정보에서도 이메일 인증을 할 수 있습니다.
지금 이메일 인증하기
등록된 이메일 주소를 확인하고 인증번호를 입력하여
인증을 완료해 주세요.