Skip to content

lms0806/tui_video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 

Repository files navigation

tui_video

ν•΄λ‹Ή ν”„λ‘œμ νŠΈλŠ” YouTube μ˜μƒμ„ ASCII μ½”λ“œλ‘œ λ³€ν™˜ν•˜μ—¬ TUI에 ν‘œμ‹œν•˜λŠ” ν”„λ‘œμ νŠΈμž…λ‹ˆλ‹€.


μ‹€ν–‰ 방법

1. ν•„μˆ˜ μ˜μ‘΄μ„± μ„€μΉ˜

Windows

  1. ffmpeg λ‹€μš΄λ‘œλ“œ https://ffmpeg.org/download.html μ—μ„œ ffmpeg-release-essentials.zip λ‹€μš΄λ‘œλ“œ

  2. 폴더 ꡬ쑰 μ„€μ •

main/
β”œβ”€ Cargo.toml
β”œβ”€ tools/
β”‚  β”œβ”€ ffmpeg/
β”‚  β”‚  └─ ffmpeg.exe
└─ src/

ffmpeg.exe κ²½λ‘œλŠ” μ½”λ“œμ—μ„œ μ°Έμ‘°λ˜λ―€λ‘œ ꡬ쑰λ₯Ό μœ μ§€ν•΄μ•Ό ν•©λ‹ˆλ‹€.


macOS

macOSμ—μ„œλŠ” Homebrewλ₯Ό μ΄μš©ν•΄ ffmpegλ₯Ό μ„€μΉ˜ν•˜λŠ” 방식을 ꢌμž₯ν•©λ‹ˆλ‹€.

  1. Homebrew μ„€μΉ˜ (이미 μ„€μΉ˜λ˜μ–΄ μžˆλ‹€λ©΄ μƒλž΅)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. ffmpeg μ„€μΉ˜
brew install ffmpeg
  1. ffmpeg 경둜 확인
which ffmpeg

일반적으둜 λ‹€μŒ 경둜 쀑 ν•˜λ‚˜μž…λ‹ˆλ‹€:

  • /opt/homebrew/bin/ffmpeg (Apple Silicon)
  • /usr/local/bin/ffmpeg (Intel Mac)

macOSμ—μ„œλŠ” ffmpeg λ°”μ΄λ„ˆλ¦¬λ₯Ό ν”„λ‘œμ νŠΈ 내뢀에 λ‘˜ ν•„μš” 없이, μ‹œμŠ€ν…œ PATH에 λ“±λ‘λœ ffmpegλ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.


2. λΉŒλ“œ

곡톡 (Windows / macOS)

cargo build --release

3. μ‹€ν–‰

Windows

./target/release/main.exe

macOS

./target/release/main

4. μ‚¬μš© 방법

  1. ν”„λ‘œκ·Έλž¨ μ‹€ν–‰
  2. YouTube μ˜μƒ 링크 μž…λ ₯
  3. μ˜μƒμ΄ ASCII μ•„νŠΈλ‘œ λ³€ν™˜λ˜μ–΄ TUI 화면에 좜λ ₯

μ°Έκ³  사항

  • macOSμ—μ„œλŠ” 터미널 크기에 따라 좜λ ₯ ν’ˆμ§ˆμ΄ 크게 λ‹¬λΌμ§‘λ‹ˆλ‹€.
  • 더 λ‚˜μ€ κ²°κ³Όλ₯Ό μœ„ν•΄ 터미널을 전체 ν™”λ©΄μœΌλ‘œ μ‚¬μš©ν•˜λŠ” 것을 ꢌμž₯ν•©λ‹ˆλ‹€.
  • ffmpeg 버전에 따라 λ””μ½”λ”© μ„±λŠ₯에 차이가 μžˆμ„ 수 μžˆμŠ΅λ‹ˆλ‹€.

지원 ν™˜κ²½

  • Windows 10 이상
  • macOS 12 (Monterey) 이상
  • Rust 1.92.0+

λΌμ΄μ„ μŠ€

개인 ν•™μŠ΅ 및 μ‹€ν—˜μš© ν”„λ‘œμ νŠΈμž…λ‹ˆλ‹€.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages