PyMiniRacer
mpv
Our great sponsors
PyMiniRacer | mpv | |
---|---|---|
4 | 830 | |
692 | 25,960 | |
2.9% | 2.7% | |
3.7 | 9.9 | |
4 days ago | 4 days ago | |
Python | C | |
ISC License | GNU General Public License v3.0 or later |
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.
PyMiniRacer
-
YouTube-dl has a JavaScript interpreter written in 870 lines of Python
Embedding V8 can work quite well: https://github.com/sqreen/PyMiniRacer
You probably have to emulate some of the DOM, but you can interact directly with whatever obfuscated/packed scripts in a more lightweight and secure way than driving an entire browser.
-
connecting languages
First learn what forms computer code can be in. Source code combine js and python or to combine c and C++ object code with a linker or at runtime if you want to shell out and run from the prompt
-
Web Browser Engineering
If you want battle-hardened, I figure you can't do better than V8. Here's a Python wrapper that I've poked at a bit (it's not quite 100% feature-complete but it seems to essentially work): https://github.com/sqreen/PyMiniRacer
mpv
- MPV: Vulkan Video Decoding: Usage Guide and FAQ
-
Firefox slow to load YouTube? Just another front in Google's war on ad blockers
https://mpv.io/ has yt-dlp support, if yt-dlp is installed you just need to throw the URL at it and it plays the video (without download).
-
Can't save frame as JPG
See https://github.com/mpv-player/mpv/issues/9053
-
Video stops on furst frame, audio continues to play,seek works
I apologise for not following procedure. I am in the middle of building mpv 0.37 from source. Irrespective of the outcome I will document what I had to do in addition to the instructions on mpv.io and if the problem perststs, where it happens and where not with kernel version, mpv version taken from the screen, and the terminal output.
- PC Gopro playback help needed
-
S23 8k video freezes when played on VLC computer
Use MPV. Partticularily shinchiro's builds. Extract the folder where you want its installation directory to be, if you decide to install it. Otherwise, just drag and drop files on top of its window or executable.
-
Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
Author of ripgrep here.
Like automatic encoding detection and transparently searching UTF-16?
Or simple ways for composing character classes, e.g., `[\pL&&\p{Greek}]` for all codepoints in the Greek script that are letters. Another favorite of mine is `\P{ascii}`, which will search for any codepoint that isn't in the ASCII subset.
Or more sophisticated filtering features that let you automatically respect things like gitignore rules.
Those are all things that ripgrep does that grep does not. So I do not favor this explanation personally.
ripgrep has just about all of the functionality that GNU grep does. I would say the two biggest missing pieces at this point are:
* POSIX locale support. (But this might be a feature[1].)
* Support for "basic" regexes or some equivalent that flips the escaping rules around. i.e., You need to write `\+` to match 1 or more things, where as `+` will just match `+ literally.
Otherwise, ripgrep has unfortunately grown just about as many flags as GNU grep.
[1]: https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02...
-
PCSX2 Disables Wayland Support
- https://github.com/mpv-player/mpv/issues/8692
- C Locales
-
Yorick is an interpreted programming language for scientific simulations
https://mpv.io played it without fuss.
What are some alternatives?
quickjs - Thin Python wrapper of https://bellard.org/quickjs/
GStreamer - GStreamer open-source multimedia framework
dukpy - Simple JavaScript interpreter for Python
yt-dlp - A feature-rich command-line audio/video downloader
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
celluloid - A simple GTK+ frontend for mpv
tube-get - A tube-site downloader
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
mini_racer - Minimal embedded v8
glsl-shaders - This repo is for glsl shaders converted by hand from libretro's common-shaders repo, since some don't play nicely with the cg2glsl script.
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
VideoLAN Client (VLC) - VLC media player - All pull requests are ignored, please follow https://wiki.videolan.org/Sending_Patches_VLC/