jsmpeg
PythonCall.jl
Our great sponsors
jsmpeg | PythonCall.jl | |
---|---|---|
3 | 3 | |
6,238 | 670 | |
- | 4.9% | |
0.0 | 8.6 | |
over 1 year ago | 5 days ago | |
JavaScript | Julia | |
MIT License | MIT License |
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.
jsmpeg
-
Making Python 100x faster with less than 100 lines of Rust
>Today, there is a Python package for everything.
The same could be said about CPAN and NPM. Yet Perl is basically dead and JavaScript isn't used for any machine learning tasks as far as I'm aware. WebAssembly did help bring a niche array of audio and video codecs to the ecosystem[1][2], something I'm yet to see from Python.
I don't use Python, but with what little exposure I've had to it at work, its overall sluggish performance and need to set up a dozen virtualenvs -- only to dockerize everything in cursed ways when deploying -- makes me wonder how or why people bother with it at all beyond some 5-line script. Then again, Perl used to be THE glue language in the past and mod_perl was as big as FastAPI, and Perl users would also point out how CPAN was unparalleled in breadth and depth. I wonder if Python will follow a similar route as Perl. One can hope :-)
[1] https://github.com/phoboslab/jsmpeg
-
Looking for a simple (MJPEG-like) browser-friendly way to stream live video
There's also mpegts over websockets if you don't need iphone support. https://github.com/phoboslab/jsmpeg
-
RTCP stream in HTML throught WebSocket
We will use jsmpeg to display the video on the page
PythonCall.jl
-
I just started into Julia for ML
For point 3 you can use https://github.com/cjdoris/PythonCall.jl or https://github.com/JuliaPy/PyCall.jl (and their respective Python sister packages).
-
Select Python environment for PyCall
https://cjdoris.github.io/PythonCall.jl/stable/ may try this https://cjdoris.github.io/PythonCall.jl/stable/pythoncall/#pythoncall-config
-
Making Python 100x faster with less than 100 lines of Rust
You can have your cake and eat it with the likes of
* PythonCall.jl - https://github.com/cjdoris/PythonCall.jl
* NodeCall.jl - https://github.com/sunoru/NodeCall.j
* RCall.jl - https://github.com/JuliaInterop/RCall.jl
I tend to use Julia for most things and then just dip into another language’s ecosystem if I can’t find something to do the job and it’s too complex to build myself
What are some alternatives?
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
jnumpy - Writing Python C extensions in Julia within 5 minutes.
ustreamer - µStreamer - Lightweight and fast MJPEG-HTTP streamer
NodeCall.jl - Call NodeJS from Julia.
node-rtsp-stream - Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
PyCall.jl - Package to call Python functions from the Julia language
Streama - Self hosted streaming media server. https://docs.streama-project.com/
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
numexpr - Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more
rayon - Rayon: A data parallelism library for Rust
ruff - An extremely fast Python linter and code formatter, written in Rust.
PackageCompiler.jl - Compile your Julia Package