@fredlackey/devutils 0.0.17 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/README.md +32 -150
  2. package/package.json +5 -82
  3. package/bin/dev.js +0 -16
  4. package/files/README.md +0 -0
  5. package/files/claude/.claude/commands/setup-context.md +0 -3
  6. package/files/monorepos/_archive/README.md +0 -36
  7. package/files/monorepos/_legacy/README.md +0 -36
  8. package/files/monorepos/ai-docs/README.md +0 -33
  9. package/files/monorepos/apps/README.md +0 -24
  10. package/files/monorepos/docs/README.md +0 -40
  11. package/files/monorepos/packages/README.md +0 -25
  12. package/files/monorepos/research/README.md +0 -29
  13. package/files/monorepos/scripts/README.md +0 -24
  14. package/src/cli.js +0 -72
  15. package/src/commands/README.md +0 -41
  16. package/src/commands/configure.js +0 -199
  17. package/src/commands/identity.js +0 -1630
  18. package/src/commands/ignore.js +0 -247
  19. package/src/commands/install.js +0 -526
  20. package/src/commands/setup.js +0 -246
  21. package/src/commands/status.js +0 -223
  22. package/src/commands/update.js +0 -142
  23. package/src/commands/version.js +0 -100
  24. package/src/completion.js +0 -284
  25. package/src/constants.js +0 -45
  26. package/src/ignore/claude-code.txt +0 -10
  27. package/src/ignore/docker.txt +0 -18
  28. package/src/ignore/linux.txt +0 -23
  29. package/src/ignore/macos.txt +0 -36
  30. package/src/ignore/node.txt +0 -55
  31. package/src/ignore/terraform.txt +0 -37
  32. package/src/ignore/vscode.txt +0 -18
  33. package/src/ignore/windows.txt +0 -35
  34. package/src/index.js +0 -0
  35. package/src/installs/README.md +0 -399
  36. package/src/installs/adobe-creative-cloud.js +0 -546
  37. package/src/installs/adobe-creative-cloud.md +0 -605
  38. package/src/installs/appcleaner.js +0 -321
  39. package/src/installs/appcleaner.md +0 -699
  40. package/src/installs/apt-transport-https.js +0 -390
  41. package/src/installs/apt-transport-https.md +0 -678
  42. package/src/installs/atomicparsley.js +0 -642
  43. package/src/installs/atomicparsley.md +0 -795
  44. package/src/installs/aws-cli.js +0 -797
  45. package/src/installs/aws-cli.md +0 -727
  46. package/src/installs/balena-etcher.js +0 -710
  47. package/src/installs/balena-etcher.md +0 -761
  48. package/src/installs/bambu-studio.js +0 -1143
  49. package/src/installs/bambu-studio.md +0 -780
  50. package/src/installs/bash-completion.js +0 -575
  51. package/src/installs/bash-completion.md +0 -833
  52. package/src/installs/bash.js +0 -417
  53. package/src/installs/bash.md +0 -993
  54. package/src/installs/beyond-compare.js +0 -603
  55. package/src/installs/beyond-compare.md +0 -813
  56. package/src/installs/brave-browser.js +0 -968
  57. package/src/installs/brave-browser.md +0 -650
  58. package/src/installs/build-essential.js +0 -529
  59. package/src/installs/build-essential.md +0 -977
  60. package/src/installs/ca-certificates.js +0 -618
  61. package/src/installs/ca-certificates.md +0 -937
  62. package/src/installs/caffeine.js +0 -508
  63. package/src/installs/caffeine.md +0 -839
  64. package/src/installs/camtasia.js +0 -596
  65. package/src/installs/camtasia.md +0 -762
  66. package/src/installs/chatgpt.js +0 -476
  67. package/src/installs/chatgpt.md +0 -814
  68. package/src/installs/chocolatey.js +0 -456
  69. package/src/installs/chocolatey.md +0 -661
  70. package/src/installs/chrome-canary.js +0 -419
  71. package/src/installs/chrome-canary.md +0 -641
  72. package/src/installs/chromium.js +0 -667
  73. package/src/installs/chromium.md +0 -838
  74. package/src/installs/claude-code.js +0 -576
  75. package/src/installs/claude-code.md +0 -1173
  76. package/src/installs/cloudflare-warp.js +0 -900
  77. package/src/installs/cloudflare-warp.md +0 -1047
  78. package/src/installs/comet-browser.js +0 -588
  79. package/src/installs/comet-browser.md +0 -731
  80. package/src/installs/curl.js +0 -379
  81. package/src/installs/curl.md +0 -714
  82. package/src/installs/cursor.js +0 -579
  83. package/src/installs/cursor.md +0 -970
  84. package/src/installs/dbeaver.js +0 -924
  85. package/src/installs/dbeaver.md +0 -939
  86. package/src/installs/dbschema.js +0 -692
  87. package/src/installs/dbschema.md +0 -925
  88. package/src/installs/dependencies.md +0 -453
  89. package/src/installs/development-tools.js +0 -600
  90. package/src/installs/development-tools.md +0 -977
  91. package/src/installs/docker.js +0 -1029
  92. package/src/installs/docker.md +0 -1109
  93. package/src/installs/drawio.js +0 -1019
  94. package/src/installs/drawio.md +0 -795
  95. package/src/installs/elmedia-player.js +0 -347
  96. package/src/installs/elmedia-player.md +0 -556
  97. package/src/installs/ffmpeg.js +0 -889
  98. package/src/installs/ffmpeg.md +0 -852
  99. package/src/installs/file.js +0 -464
  100. package/src/installs/file.md +0 -987
  101. package/src/installs/gemini-cli.js +0 -811
  102. package/src/installs/gemini-cli.md +0 -1153
  103. package/src/installs/git.js +0 -400
  104. package/src/installs/git.md +0 -907
  105. package/src/installs/gitego.js +0 -949
  106. package/src/installs/gitego.md +0 -1172
  107. package/src/installs/go.js +0 -931
  108. package/src/installs/go.md +0 -958
  109. package/src/installs/google-antigravity.js +0 -913
  110. package/src/installs/google-antigravity.md +0 -1075
  111. package/src/installs/google-chrome.js +0 -833
  112. package/src/installs/google-chrome.md +0 -862
  113. package/src/installs/gpg.js +0 -480
  114. package/src/installs/gpg.md +0 -1056
  115. package/src/installs/homebrew.js +0 -1033
  116. package/src/installs/homebrew.md +0 -988
  117. package/src/installs/imageoptim.js +0 -968
  118. package/src/installs/imageoptim.md +0 -1119
  119. package/src/installs/installers.json +0 -4032
  120. package/src/installs/installers.json.tmp +0 -3953
  121. package/src/installs/jq.js +0 -400
  122. package/src/installs/jq.md +0 -809
  123. package/src/installs/keyboard-maestro.js +0 -719
  124. package/src/installs/keyboard-maestro.md +0 -825
  125. package/src/installs/kiro.js +0 -864
  126. package/src/installs/kiro.md +0 -1015
  127. package/src/installs/latex.js +0 -789
  128. package/src/installs/latex.md +0 -1095
  129. package/src/installs/lftp.js +0 -356
  130. package/src/installs/lftp.md +0 -907
  131. package/src/installs/lsb-release.js +0 -346
  132. package/src/installs/lsb-release.md +0 -814
  133. package/src/installs/messenger.js +0 -847
  134. package/src/installs/messenger.md +0 -900
  135. package/src/installs/microsoft-office.js +0 -568
  136. package/src/installs/microsoft-office.md +0 -760
  137. package/src/installs/microsoft-teams.js +0 -801
  138. package/src/installs/microsoft-teams.md +0 -886
  139. package/src/installs/moom.js +0 -326
  140. package/src/installs/moom.md +0 -570
  141. package/src/installs/node.js +0 -904
  142. package/src/installs/node.md +0 -1153
  143. package/src/installs/nordpass.js +0 -716
  144. package/src/installs/nordpass.md +0 -921
  145. package/src/installs/nordvpn.js +0 -892
  146. package/src/installs/nordvpn.md +0 -1052
  147. package/src/installs/nvm.js +0 -995
  148. package/src/installs/nvm.md +0 -1057
  149. package/src/installs/ohmyzsh.js +0 -529
  150. package/src/installs/ohmyzsh.md +0 -1094
  151. package/src/installs/openssh.js +0 -804
  152. package/src/installs/openssh.md +0 -1056
  153. package/src/installs/pandoc.js +0 -662
  154. package/src/installs/pandoc.md +0 -1036
  155. package/src/installs/parallels-desktop.js +0 -431
  156. package/src/installs/parallels-desktop.md +0 -446
  157. package/src/installs/pinentry.js +0 -510
  158. package/src/installs/pinentry.md +0 -1142
  159. package/src/installs/pngyu.js +0 -869
  160. package/src/installs/pngyu.md +0 -896
  161. package/src/installs/postman.js +0 -799
  162. package/src/installs/postman.md +0 -940
  163. package/src/installs/procps.js +0 -425
  164. package/src/installs/procps.md +0 -851
  165. package/src/installs/safari-tech-preview.js +0 -374
  166. package/src/installs/safari-tech-preview.md +0 -533
  167. package/src/installs/sfnt2woff.js +0 -658
  168. package/src/installs/sfnt2woff.md +0 -795
  169. package/src/installs/shellcheck.js +0 -481
  170. package/src/installs/shellcheck.md +0 -1005
  171. package/src/installs/slack.js +0 -741
  172. package/src/installs/slack.md +0 -865
  173. package/src/installs/snagit.js +0 -585
  174. package/src/installs/snagit.md +0 -844
  175. package/src/installs/software-properties-common.js +0 -372
  176. package/src/installs/software-properties-common.md +0 -805
  177. package/src/installs/spotify.js +0 -877
  178. package/src/installs/spotify.md +0 -901
  179. package/src/installs/studio-3t.js +0 -823
  180. package/src/installs/studio-3t.md +0 -918
  181. package/src/installs/sublime-text.js +0 -804
  182. package/src/installs/sublime-text.md +0 -914
  183. package/src/installs/superwhisper.js +0 -706
  184. package/src/installs/superwhisper.md +0 -630
  185. package/src/installs/tailscale.js +0 -745
  186. package/src/installs/tailscale.md +0 -1100
  187. package/src/installs/tar.js +0 -389
  188. package/src/installs/tar.md +0 -946
  189. package/src/installs/termius.js +0 -798
  190. package/src/installs/termius.md +0 -844
  191. package/src/installs/terraform.js +0 -779
  192. package/src/installs/terraform.md +0 -899
  193. package/src/installs/tfenv.js +0 -778
  194. package/src/installs/tfenv.md +0 -1091
  195. package/src/installs/tidal.js +0 -771
  196. package/src/installs/tidal.md +0 -864
  197. package/src/installs/tmux.js +0 -346
  198. package/src/installs/tmux.md +0 -1030
  199. package/src/installs/tree.js +0 -411
  200. package/src/installs/tree.md +0 -833
  201. package/src/installs/unzip.js +0 -460
  202. package/src/installs/unzip.md +0 -879
  203. package/src/installs/vim.js +0 -421
  204. package/src/installs/vim.md +0 -1040
  205. package/src/installs/vlc.js +0 -821
  206. package/src/installs/vlc.md +0 -927
  207. package/src/installs/vscode.js +0 -843
  208. package/src/installs/vscode.md +0 -1002
  209. package/src/installs/wget.js +0 -420
  210. package/src/installs/wget.md +0 -791
  211. package/src/installs/whatsapp.js +0 -729
  212. package/src/installs/whatsapp.md +0 -854
  213. package/src/installs/winpty.js +0 -352
  214. package/src/installs/winpty.md +0 -620
  215. package/src/installs/woff2.js +0 -553
  216. package/src/installs/woff2.md +0 -977
  217. package/src/installs/wsl.js +0 -572
  218. package/src/installs/wsl.md +0 -699
  219. package/src/installs/xcode-clt.js +0 -520
  220. package/src/installs/xcode-clt.md +0 -351
  221. package/src/installs/xcode.js +0 -560
  222. package/src/installs/xcode.md +0 -573
  223. package/src/installs/yarn.js +0 -824
  224. package/src/installs/yarn.md +0 -1074
  225. package/src/installs/yq.js +0 -654
  226. package/src/installs/yq.md +0 -944
  227. package/src/installs/yt-dlp.js +0 -701
  228. package/src/installs/yt-dlp.md +0 -946
  229. package/src/installs/yum-utils.js +0 -297
  230. package/src/installs/yum-utils.md +0 -648
  231. package/src/installs/zoom.js +0 -759
  232. package/src/installs/zoom.md +0 -884
  233. package/src/installs/zsh.js +0 -455
  234. package/src/installs/zsh.md +0 -1008
  235. package/src/scripts/README.md +0 -617
  236. package/src/scripts/STATUS.md +0 -208
  237. package/src/scripts/afk.js +0 -411
  238. package/src/scripts/backup-all.js +0 -746
  239. package/src/scripts/backup-source.js +0 -727
  240. package/src/scripts/brewd.js +0 -389
  241. package/src/scripts/brewi.js +0 -520
  242. package/src/scripts/brewr.js +0 -527
  243. package/src/scripts/brews.js +0 -477
  244. package/src/scripts/brewu.js +0 -504
  245. package/src/scripts/c.js +0 -201
  246. package/src/scripts/ccurl.js +0 -341
  247. package/src/scripts/certbot-crontab-init.js +0 -504
  248. package/src/scripts/certbot-init.js +0 -657
  249. package/src/scripts/ch.js +0 -355
  250. package/src/scripts/claude-danger.js +0 -268
  251. package/src/scripts/clean-dev.js +0 -435
  252. package/src/scripts/clear-dns-cache.js +0 -541
  253. package/src/scripts/clone.js +0 -435
  254. package/src/scripts/code-all.js +0 -437
  255. package/src/scripts/count-files.js +0 -211
  256. package/src/scripts/count-folders.js +0 -211
  257. package/src/scripts/count.js +0 -264
  258. package/src/scripts/d.js +0 -219
  259. package/src/scripts/datauri.js +0 -389
  260. package/src/scripts/delete-files.js +0 -380
  261. package/src/scripts/docker-clean.js +0 -426
  262. package/src/scripts/dp.js +0 -442
  263. package/src/scripts/e.js +0 -390
  264. package/src/scripts/empty-trash.js +0 -513
  265. package/src/scripts/evm.js +0 -444
  266. package/src/scripts/fetch-github-repos.js +0 -456
  267. package/src/scripts/get-channel.js +0 -345
  268. package/src/scripts/get-course.js +0 -399
  269. package/src/scripts/get-dependencies.js +0 -306
  270. package/src/scripts/get-folder.js +0 -799
  271. package/src/scripts/get-tunes.js +0 -426
  272. package/src/scripts/get-video.js +0 -367
  273. package/src/scripts/git-backup.js +0 -577
  274. package/src/scripts/git-clone.js +0 -493
  275. package/src/scripts/git-pup.js +0 -319
  276. package/src/scripts/git-push.js +0 -396
  277. package/src/scripts/h.js +0 -622
  278. package/src/scripts/hide-desktop-icons.js +0 -499
  279. package/src/scripts/hide-hidden-files.js +0 -538
  280. package/src/scripts/install-dependencies-from.js +0 -456
  281. package/src/scripts/ips.js +0 -663
  282. package/src/scripts/iso.js +0 -370
  283. package/src/scripts/killni.js +0 -577
  284. package/src/scripts/ll.js +0 -467
  285. package/src/scripts/local-ip.js +0 -325
  286. package/src/scripts/m.js +0 -524
  287. package/src/scripts/map.js +0 -309
  288. package/src/scripts/mkd.js +0 -351
  289. package/src/scripts/ncu-update-all.js +0 -457
  290. package/src/scripts/nginx-init.js +0 -718
  291. package/src/scripts/npmi.js +0 -382
  292. package/src/scripts/o.js +0 -511
  293. package/src/scripts/org-by-date.js +0 -338
  294. package/src/scripts/p.js +0 -224
  295. package/src/scripts/packages.js +0 -330
  296. package/src/scripts/path.js +0 -225
  297. package/src/scripts/ports.js +0 -597
  298. package/src/scripts/q.js +0 -305
  299. package/src/scripts/refresh-files.js +0 -394
  300. package/src/scripts/remove-smaller-files.js +0 -516
  301. package/src/scripts/rename-files-with-date.js +0 -533
  302. package/src/scripts/resize-image.js +0 -539
  303. package/src/scripts/rm-safe.js +0 -669
  304. package/src/scripts/s.js +0 -540
  305. package/src/scripts/set-git-public.js +0 -365
  306. package/src/scripts/show-desktop-icons.js +0 -475
  307. package/src/scripts/show-hidden-files.js +0 -472
  308. package/src/scripts/tpa.js +0 -280
  309. package/src/scripts/tpo.js +0 -280
  310. package/src/scripts/u.js +0 -505
  311. package/src/scripts/vpush.js +0 -437
  312. package/src/scripts/y.js +0 -283
  313. package/src/utils/README.md +0 -95
  314. package/src/utils/common/apps.js +0 -143
  315. package/src/utils/common/display.js +0 -157
  316. package/src/utils/common/network.js +0 -185
  317. package/src/utils/common/os.js +0 -294
  318. package/src/utils/common/package-manager.js +0 -301
  319. package/src/utils/common/privileges.js +0 -138
  320. package/src/utils/common/shell.js +0 -216
  321. package/src/utils/macos/apps.js +0 -228
  322. package/src/utils/macos/brew.js +0 -315
  323. package/src/utils/ubuntu/apt.js +0 -307
  324. package/src/utils/ubuntu/desktop.js +0 -292
  325. package/src/utils/ubuntu/snap.js +0 -344
  326. package/src/utils/ubuntu/systemd.js +0 -286
  327. package/src/utils/windows/choco.js +0 -465
  328. package/src/utils/windows/env.js +0 -246
  329. package/src/utils/windows/registry.js +0 -269
  330. package/src/utils/windows/shell.js +0 -240
  331. package/src/utils/windows/winget.js +0 -489
@@ -1,927 +0,0 @@
1
- # Installing VLC
2
-
3
- ## Dependencies
4
-
5
- ### macOS (Homebrew)
6
-
7
- - **Required:**
8
- - `homebrew` - Install via `dev install homebrew` or `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
9
- - **Optional:** None
10
- - **Auto-installed:** None
11
-
12
- ### Ubuntu (APT/Snap)
13
-
14
- - **Required:** None (APT is pre-installed on Ubuntu/Debian systems)
15
- - **Optional:**
16
- - `vlc-plugin-access-extra` - Install via `sudo apt-get install vlc-plugin-access-extra` (for additional codec support)
17
- - `libdvd-pkg` - Install via `sudo apt-get install libdvd-pkg` (for DVD playback support)
18
- - **Auto-installed:**
19
- - Various multimedia codecs (libavcodec, libavformat, etc.)
20
- - Qt5 libraries for GUI
21
- - Audio/video output libraries
22
-
23
- ### Raspberry Pi OS (APT/Snap)
24
-
25
- - **Required:** None (APT is pre-installed on Raspberry Pi OS)
26
- - **Optional:**
27
- - `vlc-nox` - Install via `sudo apt-get install vlc-nox` (headless/command-line only version for servers)
28
- - `vlc-plugin-base` - Install via `sudo apt-get install vlc-plugin-base` (additional plugin support)
29
- - `vlc-plugin-video-output` - Install via `sudo apt-get install vlc-plugin-video-output` (additional video output modules)
30
- - **Auto-installed:**
31
- - ARM-optimized multimedia codecs
32
- - Hardware acceleration libraries (MMAL for Raspberry Pi GPU)
33
- - Qt5 libraries for GUI
34
-
35
- ### Amazon Linux (DNF/YUM)
36
-
37
- - **Required:**
38
- - EPEL repository - Automatically installed via `sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm` (AL2023/RHEL9) or `sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm` (AL2/RHEL8)
39
- - RPM Fusion Free repository - Automatically installed via `sudo dnf install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm` (AL2023/RHEL9) or `sudo yum install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm` (AL2/RHEL8)
40
- - **Optional:** None
41
- - **Auto-installed:**
42
- - Multimedia codecs from RPM Fusion
43
- - Qt5 libraries for GUI
44
- - EPEL dependencies
45
-
46
- ### Windows (Chocolatey/winget)
47
-
48
- - **Required:**
49
- - `chocolatey` - Install via PowerShell (Administrator): `Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))`
50
- - Alternative: `winget` (pre-installed on Windows 10/11)
51
- - **Optional:** None
52
- - **Auto-installed:** None (VLC is a self-contained installation)
53
-
54
- ### Git Bash (Manual/Portable)
55
-
56
- - **Required:**
57
- - VLC installed on Windows host (see Windows section above)
58
- - `chocolatey` on Windows - Install via PowerShell (Administrator): `Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))`
59
- - **Optional:** None
60
- - **Auto-installed:** None
61
-
62
- ## Overview
63
-
64
- VLC is a free and open-source cross-platform multimedia player and framework developed by the VideoLAN project. It plays most multimedia files, DVDs, Audio CDs, VCDs, and various streaming protocols without requiring additional codec packs. VLC is renowned for its versatility, supporting formats like MPEG-2, MPEG-4, H.264, MKV, WebM, WMV, MP3, FLAC, and many more out of the box.
65
-
66
- Key capabilities include:
67
-
68
- - **Universal Playback**: Plays virtually any audio or video format without additional codecs
69
- - **Streaming Support**: Handles network streams (HTTP, RTSP, RTMP, HLS, etc.)
70
- - **Subtitle Support**: Automatic subtitle download and synchronization
71
- - **Hardware Acceleration**: GPU-accelerated decoding for better performance
72
- - **Privacy-Focused**: No spyware, ads, or user tracking
73
-
74
- ## Prerequisites
75
-
76
- Before installing VLC on any platform, ensure:
77
-
78
- 1. **Internet connectivity** - Required to download packages
79
- 2. **Administrative privileges** - Required for system-wide installation
80
- 3. **Sufficient disk space** - At least 200 MB for the application and dependencies
81
-
82
- ## Platform-Specific Installation
83
-
84
- ### macOS (Homebrew)
85
-
86
- #### Prerequisites
87
-
88
- - macOS 10.15 (Catalina) or later
89
- - Homebrew package manager installed
90
- - At least 200 MB free disk space
91
-
92
- If Homebrew is not installed, install it first:
93
-
94
- ```bash
95
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
96
- ```
97
-
98
- For Apple Silicon Macs (M1/M2/M3/M4), ensure Homebrew is in your PATH:
99
-
100
- ```bash
101
- echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
102
- source ~/.zshrc
103
- ```
104
-
105
- #### Installation Steps
106
-
107
- Run the following command to install VLC:
108
-
109
- ```bash
110
- brew install --quiet --cask vlc
111
- ```
112
-
113
- The `--quiet` flag suppresses non-essential output for cleaner automation. The `--cask` flag specifies the graphical application version. Homebrew handles the download from the official VideoLAN servers and places VLC in your Applications folder.
114
-
115
- #### Verification
116
-
117
- Confirm the installation succeeded:
118
-
119
- ```bash
120
- /Applications/VLC.app/Contents/MacOS/VLC --version
121
- ```
122
-
123
- Expected output (version numbers may vary):
124
-
125
- ```
126
- VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gf50c77779e)
127
- ```
128
-
129
- Alternatively, verify VLC is in Applications:
130
-
131
- ```bash
132
- ls -la /Applications/VLC.app
133
- ```
134
-
135
- #### Troubleshooting
136
-
137
- **Problem**: `VLC.app: No such file or directory` after installation
138
-
139
- **Solution**: Homebrew may still be downloading or extracting. Wait a moment and check again. If the issue persists, reinstall:
140
-
141
- ```bash
142
- brew uninstall --cask vlc
143
- brew install --quiet --cask vlc
144
- ```
145
-
146
- **Problem**: "VLC can't be opened because Apple cannot check it for malicious software"
147
-
148
- **Solution**: Right-click (or Control-click) on VLC in Applications, select "Open", then click "Open" in the dialog. This only needs to be done once.
149
-
150
- **Problem**: Installation fails with permission errors
151
-
152
- **Solution**: Fix Homebrew permissions:
153
-
154
- ```bash
155
- sudo chown -R $(whoami) $(brew --prefix)/*
156
- ```
157
-
158
- **Problem**: Outdated version installed
159
-
160
- **Solution**: Update Homebrew and upgrade VLC:
161
-
162
- ```bash
163
- brew update && brew upgrade --cask vlc
164
- ```
165
-
166
- ---
167
-
168
- ### Ubuntu/Debian (APT)
169
-
170
- #### Prerequisites
171
-
172
- - Ubuntu 20.04 LTS or later, or Debian 11 (Bullseye) or later
173
- - sudo privileges
174
- - At least 500 MB free disk space (including dependencies)
175
-
176
- #### Installation Steps
177
-
178
- Run the following commands to update the package index and install VLC:
179
-
180
- ```bash
181
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
182
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc
183
- ```
184
-
185
- The `DEBIAN_FRONTEND=noninteractive` environment variable and `-y` flag ensure fully unattended installation without prompts.
186
-
187
- **Note**: The version available in Ubuntu/Debian official repositories may not be the absolute latest. Ubuntu 24.04 LTS includes VLC 3.0.20, while Ubuntu 22.04 LTS includes VLC 3.0.16. For most use cases, the repository version is sufficient and receives security updates.
188
-
189
- #### Verification
190
-
191
- Confirm the installation succeeded:
192
-
193
- ```bash
194
- vlc --version
195
- ```
196
-
197
- Expected output (version numbers vary by distribution):
198
-
199
- ```
200
- VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab12c)
201
- ```
202
-
203
- Test that VLC launches correctly (headless check):
204
-
205
- ```bash
206
- cvlc --version
207
- ```
208
-
209
- The `cvlc` command runs VLC without the graphical interface, useful for verification on servers.
210
-
211
- #### Troubleshooting
212
-
213
- **Problem**: `E: Unable to locate package vlc`
214
-
215
- **Solution**: Update the package index:
216
-
217
- ```bash
218
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
219
- ```
220
-
221
- **Problem**: Need a newer version than available in repositories
222
-
223
- **Solution**: Use the official VideoLAN PPA for the latest stable version:
224
-
225
- ```bash
226
- sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:videolan/stable-daily
227
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
228
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc
229
- ```
230
-
231
- **Problem**: VLC crashes or has codec issues
232
-
233
- **Solution**: Install additional codec libraries:
234
-
235
- ```bash
236
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc-plugin-access-extra libdvd-pkg
237
- sudo DEBIAN_FRONTEND=noninteractive dpkg-reconfigure -f noninteractive libdvd-pkg
238
- ```
239
-
240
- **Problem**: "No protocol specified" error when launching
241
-
242
- **Solution**: This occurs when trying to run GUI VLC from a non-graphical session. Use `cvlc` for command-line operations or ensure you have a display server running.
243
-
244
- ---
245
-
246
- ### Raspberry Pi OS (APT)
247
-
248
- #### Prerequisites
249
-
250
- - Raspberry Pi OS (Bookworm or Bullseye), 32-bit or 64-bit
251
- - Raspberry Pi 3 or later recommended (earlier models have limited performance)
252
- - sudo privileges
253
- - At least 500 MB free disk space
254
-
255
- **Note**: Raspberry Pi OS (full desktop version) typically comes with VLC pre-installed. These steps are for Raspberry Pi OS Lite or if VLC was removed.
256
-
257
- #### Installation Steps
258
-
259
- Run the following commands to update the package index and install VLC:
260
-
261
- ```bash
262
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
263
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc
264
- ```
265
-
266
- **ARM Architecture Note**: The Raspberry Pi OS repositories contain VLC builds specifically optimized for ARM processors. These builds include hardware acceleration patches for the Raspberry Pi's GPU, providing better video playback performance than generic ARM builds.
267
-
268
- For Raspberry Pi OS Lite (headless), install the command-line version only:
269
-
270
- ```bash
271
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc-nox
272
- ```
273
-
274
- The `vlc-nox` package provides VLC without X11 dependencies, suitable for headless streaming servers.
275
-
276
- #### Verification
277
-
278
- Confirm the installation succeeded:
279
-
280
- ```bash
281
- vlc --version
282
- ```
283
-
284
- Expected output (version numbers may vary):
285
-
286
- ```
287
- VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126)
288
- ```
289
-
290
- For headless systems, verify the command-line player:
291
-
292
- ```bash
293
- cvlc --version
294
- ```
295
-
296
- Check that hardware acceleration is available:
297
-
298
- ```bash
299
- vlc -vvv --list 2>&1 | grep -i mmal
300
- ```
301
-
302
- On Raspberry Pi, you should see `mmal` (Multi-Media Abstraction Layer) entries indicating GPU acceleration support.
303
-
304
- #### Troubleshooting
305
-
306
- **Problem**: VLC installed but video playback is choppy
307
-
308
- **Solution**: Enable hardware acceleration by editing VLC preferences or use command-line options:
309
-
310
- ```bash
311
- cvlc --codec=mmal_codec /path/to/video.mp4
312
- ```
313
-
314
- **Problem**: "No matching plugin found" errors
315
-
316
- **Solution**: Install additional VLC plugins:
317
-
318
- ```bash
319
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc-plugin-base vlc-plugin-video-output
320
- ```
321
-
322
- **Problem**: Out of memory errors during playback
323
-
324
- **Solution**: Add swap space for memory-intensive operations:
325
-
326
- ```bash
327
- sudo fallocate -l 1G /swapfile
328
- sudo chmod 600 /swapfile
329
- sudo mkswap /swapfile
330
- sudo swapon /swapfile
331
- echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
332
- ```
333
-
334
- **Problem**: Audio output not working
335
-
336
- **Solution**: Set the correct audio output module:
337
-
338
- ```bash
339
- cvlc --aout=alsa /path/to/audio.mp3
340
- ```
341
-
342
- Or for HDMI audio:
343
-
344
- ```bash
345
- cvlc --aout=hdmi /path/to/audio.mp3
346
- ```
347
-
348
- ---
349
-
350
- ### Amazon Linux/RHEL (DNF/YUM)
351
-
352
- #### Prerequisites
353
-
354
- - Amazon Linux 2023 (AL2023), Amazon Linux 2 (AL2), or RHEL 8/9
355
- - sudo privileges
356
- - At least 500 MB free disk space
357
-
358
- **Important**: VLC is not available in the standard Amazon Linux or RHEL repositories. You must enable the EPEL (Extra Packages for Enterprise Linux) and RPM Fusion repositories to install VLC.
359
-
360
- #### Installation Steps
361
-
362
- **For Amazon Linux 2023 / RHEL 9:**
363
-
364
- ```bash
365
- # Install EPEL repository
366
- sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
367
-
368
- # Install RPM Fusion Free repository (contains VLC)
369
- sudo dnf install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm
370
-
371
- # Install VLC
372
- sudo dnf install -y vlc
373
- ```
374
-
375
- **For Amazon Linux 2 / RHEL 8:**
376
-
377
- ```bash
378
- # Install EPEL repository
379
- sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
380
-
381
- # Install RPM Fusion Free repository (contains VLC)
382
- sudo yum install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
383
-
384
- # Install VLC
385
- sudo yum install -y vlc
386
- ```
387
-
388
- The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation.
389
-
390
- **Note for Amazon Linux 2023**: AL2023 is based on Fedora and uses DNF. The RHEL 9 repositories are compatible. For best results on EC2 instances, ensure your security groups allow outbound HTTPS access to the repository servers.
391
-
392
- #### Verification
393
-
394
- Confirm the installation succeeded:
395
-
396
- ```bash
397
- vlc --version
398
- ```
399
-
400
- Expected output (version numbers may vary):
401
-
402
- ```
403
- VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126)
404
- ```
405
-
406
- Verify the command-line player works:
407
-
408
- ```bash
409
- cvlc --version
410
- ```
411
-
412
- #### Troubleshooting
413
-
414
- **Problem**: `No match for argument: vlc`
415
-
416
- **Solution**: Ensure RPM Fusion is properly installed. Check the repository list:
417
-
418
- ```bash
419
- dnf repolist
420
- ```
421
-
422
- You should see `rpmfusion-free` in the list. If not, reinstall the repository:
423
-
424
- ```bash
425
- sudo dnf install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
426
- ```
427
-
428
- **Problem**: Dependency conflicts during installation
429
-
430
- **Solution**: Clean the DNF cache and retry:
431
-
432
- ```bash
433
- sudo dnf clean all
434
- sudo dnf install -y vlc
435
- ```
436
-
437
- **Problem**: Repository GPG key errors
438
-
439
- **Solution**: Import the RPM Fusion GPG keys:
440
-
441
- ```bash
442
- sudo rpm --import https://www.rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$(rpm -E %rhel)
443
- ```
444
-
445
- **Problem**: VLC fails to start on headless EC2 instances
446
-
447
- **Solution**: For streaming or transcoding on headless servers, use the command-line interface:
448
-
449
- ```bash
450
- cvlc --no-video /path/to/media.mp4
451
- ```
452
-
453
- ---
454
-
455
- ### Windows (Chocolatey)
456
-
457
- #### Prerequisites
458
-
459
- - Windows 10 or later (32-bit or 64-bit), or Windows 11
460
- - Administrator PowerShell or Command Prompt
461
- - Chocolatey package manager installed
462
- - At least 200 MB free disk space
463
-
464
- If Chocolatey is not installed, install it first by running this command in an Administrator PowerShell:
465
-
466
- ```powershell
467
- Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
468
- ```
469
-
470
- #### Installation Steps
471
-
472
- Run the following command in an Administrator PowerShell or Command Prompt:
473
-
474
- ```powershell
475
- choco install vlc -y
476
- ```
477
-
478
- The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation. Chocolatey downloads VLC from the official VideoLAN servers and handles the installation silently.
479
-
480
- **Alternative using winget** (built into Windows 10/11):
481
-
482
- ```powershell
483
- winget install --id VideoLAN.VLC --silent --accept-package-agreements --accept-source-agreements
484
- ```
485
-
486
- The `--silent` flag suppresses the installer GUI, and `--accept-package-agreements --accept-source-agreements` handles license acceptance automatically.
487
-
488
- #### Verification
489
-
490
- Open a new PowerShell or Command Prompt window (to refresh PATH), then run:
491
-
492
- ```powershell
493
- vlc --version
494
- ```
495
-
496
- Expected output (version numbers may vary):
497
-
498
- ```
499
- VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gf50c77779e)
500
- ```
501
-
502
- If `vlc` is not recognized, use the full path:
503
-
504
- ```powershell
505
- & "C:\Program Files\VideoLAN\VLC\vlc.exe" --version
506
- ```
507
-
508
- #### Troubleshooting
509
-
510
- **Problem**: `vlc: The term 'vlc' is not recognized`
511
-
512
- **Solution**: Open a new terminal window to refresh environment variables. Alternatively, refresh the environment:
513
-
514
- ```powershell
515
- refreshenv
516
- ```
517
-
518
- If still not working, add VLC to your PATH manually or use the full path to the executable.
519
-
520
- **Problem**: Installation fails with "package failed to install"
521
-
522
- **Solution**: Run Chocolatey with verbose logging to diagnose:
523
-
524
- ```powershell
525
- choco install vlc -y --debug --verbose
526
- ```
527
-
528
- **Problem**: Antivirus blocks the download
529
-
530
- **Solution**: Chocolatey downloads from official sources. Temporarily disable real-time scanning or add an exception for `C:\ProgramData\chocolatey`.
531
-
532
- **Problem**: Upgrade fails or old version persists
533
-
534
- **Solution**: Uninstall and reinstall:
535
-
536
- ```powershell
537
- choco uninstall vlc -y
538
- choco install vlc -y
539
- ```
540
-
541
- **Problem**: winget reports "A newer version was found, but the install technology is different"
542
-
543
- **Solution**: Uninstall the existing VLC installation from Windows Settings, then install fresh:
544
-
545
- ```powershell
546
- winget uninstall VideoLAN.VLC
547
- winget install --id VideoLAN.VLC --silent --accept-package-agreements --accept-source-agreements
548
- ```
549
-
550
- ---
551
-
552
- ### WSL (Ubuntu)
553
-
554
- #### Prerequisites
555
-
556
- - Windows 10 Build 19044 or higher, or Windows 11
557
- - WSL 2 enabled with Ubuntu distribution installed
558
- - WSLg enabled for GUI application support (Windows 11 or Windows 10 with updates)
559
- - sudo privileges within WSL
560
-
561
- **Important**: VLC is a graphical application. Running VLC in WSL requires GUI support through WSLg (Windows Subsystem for Linux GUI). Windows 11 includes WSLg by default. Windows 10 users need specific builds and updates for WSLg support.
562
-
563
- #### Installation Steps
564
-
565
- Open your WSL Ubuntu terminal and run:
566
-
567
- ```bash
568
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
569
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc
570
- ```
571
-
572
- The installation process is identical to native Ubuntu since WSL Ubuntu uses the same package repositories.
573
-
574
- **Note**: For headless operation (streaming/transcoding without GUI), install the command-line version:
575
-
576
- ```bash
577
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vlc-nox
578
- ```
579
-
580
- #### Verification
581
-
582
- Confirm the installation succeeded:
583
-
584
- ```bash
585
- vlc --version
586
- ```
587
-
588
- Expected output (version numbers vary by Ubuntu version):
589
-
590
- ```
591
- VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126)
592
- ```
593
-
594
- Test GUI support (requires WSLg):
595
-
596
- ```bash
597
- vlc &
598
- ```
599
-
600
- If WSLg is working, a VLC window will appear on your Windows desktop.
601
-
602
- #### Troubleshooting
603
-
604
- **Problem**: "cannot open display" or "No protocol specified" error
605
-
606
- **Solution**: WSLg may not be enabled or working. Verify WSLg status:
607
-
608
- ```bash
609
- echo $DISPLAY
610
- ```
611
-
612
- If empty, WSLg is not configured. On Windows 11, restart WSL:
613
-
614
- ```powershell
615
- wsl --shutdown
616
- ```
617
-
618
- Then reopen your WSL terminal.
619
-
620
- **Problem**: VLC window appears but video playback fails
621
-
622
- **Solution**: WSLg has limited GPU acceleration. For better performance, use Windows-native VLC for media playback and WSL VLC only for command-line operations:
623
-
624
- ```bash
625
- cvlc --no-video /path/to/media.mp4
626
- ```
627
-
628
- **Problem**: Audio not working in WSL VLC
629
-
630
- **Solution**: WSLg includes PulseAudio support. Verify audio is routing correctly:
631
-
632
- ```bash
633
- pactl info
634
- ```
635
-
636
- If PulseAudio is not running, audio will not work in GUI applications.
637
-
638
- **Problem**: Package installation fails with network errors
639
-
640
- **Solution**: WSL may have DNS issues. Update resolv.conf:
641
-
642
- ```bash
643
- echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
644
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
645
- ```
646
-
647
- **Problem**: Need to access Windows files for playback
648
-
649
- **Solution**: Windows drives are mounted under `/mnt/`. Access files like:
650
-
651
- ```bash
652
- cvlc /mnt/c/Users/YourUsername/Videos/movie.mp4
653
- ```
654
-
655
- ---
656
-
657
- ### Git Bash (Windows Installation)
658
-
659
- #### Prerequisites
660
-
661
- - Windows 10 or later (64-bit)
662
- - Git Bash installed (comes with Git for Windows)
663
- - VLC installed on Windows (see Windows section)
664
-
665
- **Note**: Git Bash runs in a MinGW environment on Windows. It does not require a separate VLC installation. Once VLC is installed on Windows using Chocolatey or winget, the `vlc` command becomes available in Git Bash through the Windows PATH.
666
-
667
- #### Installation Steps
668
-
669
- 1. Install VLC on Windows using Chocolatey (requires Administrator PowerShell):
670
-
671
- ```bash
672
- choco install vlc -y
673
- ```
674
-
675
- 2. Open Git Bash - the `vlc` command will be available because Git Bash inherits the Windows PATH.
676
-
677
- If VLC is already installed on Windows but not accessible from Git Bash, add it to your PATH manually:
678
-
679
- ```bash
680
- echo 'export PATH="$PATH:/c/Program Files/VideoLAN/VLC"' >> ~/.bashrc
681
- source ~/.bashrc
682
- ```
683
-
684
- #### Verification
685
-
686
- In Git Bash, confirm VLC is accessible:
687
-
688
- ```bash
689
- vlc --version
690
- ```
691
-
692
- Expected output (version numbers may vary):
693
-
694
- ```
695
- VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gf50c77779e)
696
- ```
697
-
698
- Test launching VLC:
699
-
700
- ```bash
701
- vlc &
702
- ```
703
-
704
- The VLC window should appear on your Windows desktop.
705
-
706
- #### Troubleshooting
707
-
708
- **Problem**: `vlc: command not found` in Git Bash
709
-
710
- **Solution**: VLC may not be in PATH. Add it manually:
711
-
712
- ```bash
713
- echo 'export PATH="$PATH:/c/Program Files/VideoLAN/VLC"' >> ~/.bashrc
714
- source ~/.bashrc
715
- ```
716
-
717
- Verify the path exists:
718
-
719
- ```bash
720
- ls "/c/Program Files/VideoLAN/VLC/vlc.exe"
721
- ```
722
-
723
- **Problem**: Path conversion issues with file arguments
724
-
725
- **Solution**: Git Bash automatically converts Unix-style paths, which can cause issues. Use Windows-style paths or disable path conversion:
726
-
727
- ```bash
728
- # Option 1: Use Windows-style paths
729
- vlc "C:/Users/YourName/Videos/movie.mp4"
730
-
731
- # Option 2: Disable path conversion for this command
732
- MSYS_NO_PATHCONV=1 vlc /c/Users/YourName/Videos/movie.mp4
733
- ```
734
-
735
- **Problem**: VLC opens but cannot find the media file
736
-
737
- **Solution**: When passing file paths, use the Windows path format:
738
-
739
- ```bash
740
- vlc "C:\Users\YourName\Videos\movie.mp4"
741
- ```
742
-
743
- Or convert the path:
744
-
745
- ```bash
746
- vlc "$(cygpath -w /c/Users/YourName/Videos/movie.mp4)"
747
- ```
748
-
749
- **Problem**: VLC crashes when started from Git Bash
750
-
751
- **Solution**: This is rare but can occur due to environment variable conflicts. Launch VLC directly:
752
-
753
- ```bash
754
- "/c/Program Files/VideoLAN/VLC/vlc.exe" &
755
- ```
756
-
757
- ---
758
-
759
- ## Post-Installation Configuration
760
-
761
- After installing VLC on any platform, consider these optional but useful configurations.
762
-
763
- ### Setting VLC as Default Media Player
764
-
765
- **macOS:**
766
-
767
- 1. Right-click any media file in Finder
768
- 2. Select "Get Info"
769
- 3. Under "Open with", select VLC
770
- 4. Click "Change All" to apply to all files of that type
771
-
772
- **Ubuntu/Debian/Raspberry Pi:**
773
-
774
- ```bash
775
- xdg-mime default vlc.desktop video/mp4
776
- xdg-mime default vlc.desktop audio/mpeg
777
- ```
778
-
779
- **Windows:**
780
-
781
- ```powershell
782
- # Set VLC as default for common video formats (requires admin)
783
- assoc .mp4=VLC.mp4
784
- assoc .mkv=VLC.mkv
785
- assoc .avi=VLC.avi
786
- ```
787
-
788
- Or use Windows Settings > Apps > Default apps.
789
-
790
- ### Enabling Hardware Acceleration
791
-
792
- VLC can leverage GPU hardware for video decoding. Verify hardware acceleration is available:
793
-
794
- **macOS:**
795
-
796
- VLC automatically uses VideoToolbox on macOS. No configuration needed.
797
-
798
- **Linux:**
799
-
800
- Check available acceleration methods:
801
-
802
- ```bash
803
- vlc -vvv --list 2>&1 | grep -E "(vaapi|vdpau|mmal)"
804
- ```
805
-
806
- Enable VA-API (Intel/AMD GPUs) by setting preferences or using command line:
807
-
808
- ```bash
809
- vlc --avcodec-hw=vaapi /path/to/video.mp4
810
- ```
811
-
812
- **Windows:**
813
-
814
- VLC uses DirectX Video Acceleration (DXVA2) automatically. Verify in Tools > Preferences > Input/Codecs > Hardware-accelerated decoding.
815
-
816
- ### Command-Line Streaming
817
-
818
- VLC can stream media over the network. Example to stream a file over HTTP:
819
-
820
- ```bash
821
- cvlc /path/to/video.mp4 --sout '#standard{access=http,mux=ts,dst=:8080}'
822
- ```
823
-
824
- Access the stream from another device at `http://your-ip:8080`.
825
-
826
- ### Disabling Update Checks
827
-
828
- For automated environments, disable VLC's update notifications:
829
-
830
- **Linux:**
831
- Create or edit `~/.config/vlc/vlcrc`:
832
-
833
- ```bash
834
- mkdir -p ~/.config/vlc
835
- echo "qt-updates-notif=0" >> ~/.config/vlc/vlcrc
836
- ```
837
-
838
- **Windows:**
839
- The setting is stored in the registry or can be set via VLC preferences (Tools > Preferences > Interface).
840
-
841
- ---
842
-
843
- ## Common Issues
844
-
845
- ### Issue: VLC Opens But No Video Displays
846
-
847
- **Symptoms**: VLC window opens, audio plays, but video is black or missing
848
-
849
- **Solutions**:
850
-
851
- - Update graphics drivers to the latest version
852
- - Try disabling hardware acceleration:
853
-
854
- ```bash
855
- vlc --avcodec-hw=none /path/to/video.mp4
856
- ```
857
-
858
- - On Linux, try a different video output:
859
-
860
- ```bash
861
- vlc --vout=x11 /path/to/video.mp4
862
- ```
863
-
864
- ### Issue: No Audio Output
865
-
866
- **Symptoms**: Video plays but no sound
867
-
868
- **Solutions**:
869
-
870
- - Check system volume and audio output device
871
- - In VLC, go to Audio > Audio Device and select the correct output
872
- - On Linux, specify the audio output:
873
-
874
- ```bash
875
- vlc --aout=pulse /path/to/media.mp4
876
- ```
877
-
878
- ### Issue: Subtitle Timing Is Off
879
-
880
- **Symptoms**: Subtitles appear too early or too late
881
-
882
- **Solutions**:
883
-
884
- - Use keyboard shortcuts: `G` to delay subtitles, `H` to speed them up
885
- - Adjust in Tools > Track Synchronization > Subtitle track synchronization
886
-
887
- ### Issue: MKV Files Stutter or Skip
888
-
889
- **Symptoms**: Playback of MKV files is choppy
890
-
891
- **Solutions**:
892
-
893
- - Enable file caching:
894
-
895
- ```bash
896
- vlc --file-caching=1000 /path/to/video.mkv
897
- ```
898
-
899
- - Reduce video quality settings or disable post-processing effects
900
-
901
- ### Issue: VLC Uses High CPU
902
-
903
- **Symptoms**: CPU usage spikes during playback
904
-
905
- **Solutions**:
906
-
907
- - Enable hardware acceleration (see Post-Installation Configuration)
908
- - Lower video output quality in Preferences
909
- - On Raspberry Pi, ensure MMAL is being used for H.264 content
910
-
911
- ---
912
-
913
- ## References
914
-
915
- - [VLC Official Website](https://www.videolan.org/)
916
- - [VLC Official Download Page](https://www.videolan.org/vlc/)
917
- - [VLC for Windows Download](https://www.videolan.org/vlc/download-windows.html)
918
- - [VLC for macOS Download](https://www.videolan.org/vlc/download-macosx.html)
919
- - [VLC for Ubuntu Download](https://www.videolan.org/vlc/download-ubuntu.html)
920
- - [VLC Homebrew Cask](https://formulae.brew.sh/cask/vlc)
921
- - [VLC Chocolatey Package](https://community.chocolatey.org/packages/vlc)
922
- - [VLC Snap Package](https://snapcraft.io/vlc)
923
- - [VLC on winget](https://winget.run/pkg/VideoLAN/VLC)
924
- - [VLC Documentation Wiki](https://wiki.videolan.org/Documentation:Documentation/)
925
- - [VLC Command-Line Help](https://wiki.videolan.org/VLC_command-line_help/)
926
- - [RPM Fusion Repository](https://rpmfusion.org/)
927
- - [Microsoft WSL GUI Apps Documentation](https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps)