computer
mpv_sponsorblock
computer | mpv_sponsorblock | |
---|---|---|
8 | 15 | |
4 | 521 | |
- | - | |
9.9 | 0.0 | |
6 days ago | 18 days ago | |
Shell | Lua | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
computer
-
Ask HN: What rabbit hole(s) did you dive into recently?
gs (ghostscript), mutool, ocrmypdf...
To add/remove: mutool merge -h
To split PDF pages: mutool poster -h
I made a script here that I use frequently for scanned documents: https://github.com/chapmanjacobd/computer/blob/main/bin/pdf_...
Shrink PDFs: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdf
(or switch prepress to ebook to shrink more)
or to really shrink, b&w only:
gs -q -dNOPAUSE -dBATCH -dSAFER -sProcessColorModel=DeviceGray -sColorConversionStrategy=Gray -dDownsampleColorImages=true -dOverrideICC -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dColorImageDownsampleType=/Bicubic -dColorImageResolution=120 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=120 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=120 -sOutputFile=out.pdf in.pdf
-
Ask HN: Why does GNU Stow (et al.) exist?
I've been putting my whole home folder under git for almost a year [1].
I haven't seen any other repos on GitHub with a similar layout. Why do people rely on GNU Stow and other complicated tools to essentially do what git does? I haven't noticed any performance problems with just using git.
[1]. https://github.com/chapmanjacobd/computer/
-
A browser plugin that shows you which search results require a login to use their services before you even click on them
with these settings: https://github.com/chapmanjacobd/computer/blob/main/.github/firefox/ublacklist-settings.json
- I'm new to termux, so suggest me what cool stuff to use termux for.
-
My Bad Habit of Hoarding Information
The problem with a lot of these tools is there is no incremental escape hatch. I had 25,000 tabs last year which I saved as a line delimited text file.
Then every day I automate opening 7 tabs and I force myself to get through them. Sometimes it takes 2 minutes, sometimes it takes an hour. Sometimes it ends with me adding 50 more links to the text file. Sometimes the tabs are garbage but often they are worthwhile.
https://github.com/chapmanjacobd/computer/blob/main/.config/...
https://github.com/chapmanjacobd/computer/blob/main/.config/...
But over the past year I've gone through 2,555 tabs! So it seems like it is working. Maybe in 10 years I'll reach tab zero
-
Script suggestion post!
autocrop.lua
-
Yet another yt-dlp linux script
I started doing this with my phone and it made formatting my phone painless. The hardest part is getting started. I still haven't added all my config files to git; I have a daily script that will remove one line from my home directory gitignore so I can incrementally add config files. And it has already brought me a lot of peace of mind even if I'm only like 30% of the way done on the desktop.
mpv_sponsorblock
- YouTube artificially slows down video load times when using Firefox
-
favorite mpv youtube scripts
mpv_sponsorblock
-
Microsoft Edge is getting a video upscaler to make blurry old videos look better
Personally, it's not really any better than mpv filters like NIS [0] (Nvidia Image Scaling, which does not use AI but is somehow more sharp than these filters) as well as Anime4k [1] (which does use AI but only in the training phase to create the initial glsl file which then does not use AI inferencing but plain old image filters).
Combine mpv with its yt-dlp [2] and SponsorBlock support [3] and you have a competent way to upscale your own YouTube (and other types of [4]) videos.
[0] https://gist.github.com/agyild/7e8951915b2bf24526a9343d951db...
[1] https://github.com/bloc97/Anime4K
[2] https://www.funkyspacemonkey.com/replace-youtube-dl-with-yt-...
[3] https://github.com/po5/mpv_sponsorblock
[4] https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites....
-
New NVIDIA Driver with RTX Video Super Resolution is Now Available!
You might also want to grab the Sponsor block MPV script which will automatically skip/bypass ads.
-
Happy new year. I was wondering, what cool scripts would you recommend for mpv?
sponsorblock.lua: skip sponsors in yt videos.
-
Script suggestion post!
acompressor.lua: compressor. blur-edges.lua: fills the black bars on the side of a video with a blurred copy of its edges. createchapter.lua: self-explanatory. crop.lua: crop video in a visual manner. encode.lua: make an extract of the video currently playing using ffmpeg. reload.lua: reloads videos if an online video stops caching. seek-to.lua: go to timestamp. simplehistory.lua: stores whatever you open in a history file. skiptosilence.lua: skip past "previously on...". smartcopypaste_ii.lua: copy/paste links sponsorblock.lua: skip sponsors in yt videos. streamsave.lua: save looped section to a separate file. subit.lua: download subtitles to playing video. uosc.lua: feature-rich minimalist proximity-based ui (my fav!). webm.lua: similar to encode.lua but with more features and no external dependencies. webtorrent-mpv-hook: enable mpv to stream torrents using webtorrent. youtube-quality.lua: change quality of currently playing yt video.
-
query regarding streaming YT with MPV
It still isn't perfect though. Scripts like mpv-sponsorblock won't work if you play a video this way.
- LPT: Open VLC and drag a youtube link to it. It'll play in VLC (with all the capabilities of VLC), and it'll skip ads.
-
MPV Submissions + Extension Submissions
I started using SB with the Firefox extension, then eventually moved to FreeTube and then to MPV. I copied my user ID and display name to the MPV script that is responsible for skipping and submitting. When I close MPV and reopen the same video - my segment is skipped. Now, when I go to the extension to check my work - it still shows submissions while I was using the extension, not the ones from MPV. Also, when I open a YT video in the browser that has a segment submitted by me - it doesn't skip. With this one I might need to wait 6 hours (script default time to refresh SB database) or edit the script.
-
This video is sponsored by:
SponsorBlock for mpv
What are some alternatives?
hamster-system - Ultra-simple framework to organize your life.
sponsorblock-mpv-local - addon for local sponsor video blocking
tabist - Simple Tab Manager Extension for Chrome and Firefox.
mpv-scripts - This repository contain scripts I have made for mpv media player...
evafast - mpv script for hybrid fastforward and seeking
youtube-dl - Command-line program to download videos from YouTube.com and other video sites
lkmpg - The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
ytfzf - A posix script to find and watch youtube videos from the terminal. (Without API)
mpv-scripts - Various scripts for mpv
youtube-dl - Command-line program to download videos from YouTube.com and other video sites
yt-dlp - A feature-rich command-line audio/video downloader
qutebrowser - A keyboard-driven, vim-like browser based on Python and Qt.