web-codecs
lossless-cut
Our great sponsors
web-codecs | lossless-cut | |
---|---|---|
14 | 308 | |
899 | 22,155 | |
2.2% | - | |
8.1 | 9.5 | |
8 days ago | 6 days ago | |
HTML | TypeScript | |
GNU General Public License v3.0 or later | 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.
web-codecs
-
Replacing WebRTC: real-time latency with WebTransport and WebCodecs
Encoding alpha, please! https://github.com/w3c/webcodecs/issues/672
-
Real-Time Video Processing with WebCodecs and Streams
From developer.mozilla.org [0]
> WebCodecs API
> The WebCodecs API gives web developers low-level access to the individual frames of a video stream and chunks of audio. It is useful for web applications that require full control over the way media is processed. For example, video or audio editors, and video conferencing.
And from w3c [1]:
> The WebCodecs API allows web applications to encode and decode audio and video
All this looks really promising, I wouldn't have thought that we could use browsers directly to render videos. Maybe Puppeteer could then stream the content of the page it is rendering, for example a three.js animation.
[0] https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_A...
[1] https://github.com/w3c/webcodecs
-
Microsoft Clipchamp
As I understand it, Web Codecs is quite a ways away from being a web standard - it is currently just a draft[1] for a recommendation for a possible future standard.
Just beware of any major API changes or any indication that it might be dropped in its entirety!
[1]:https://w3c.github.io/webcodecs/
-
Chrome 94 Beta: WebCodecs, WebGPU, Scheduling, and More
WebCodecs has Mozilla and Microsoft coauthors: https://w3c.github.io/webcodecs/
WebGPU was chartered in 2017, with more Apple people in the initial membership than Mozilla or Google people: https://gpuweb.github.io/admin/cg-charter.html
Google specifically has approached Apple for input about scheduler.postTask(), and they say they've presented the proposal before at a working group that Apple is part of: https://lists.webkit.org/pipermail/webkit-dev/2021-June/0319...
I won't disagree that there's a ton that can be improved about the process, but it seems pretty unsubstantiated to claim that Google is "rushing forwards as fast as possible" given that they've been spending years working on these APIs in public. You can see from the rest of the post that they're running some experiments which they're specifically choosing not to enable by default, though they could.
-
Show HN: I made a meme creator that makes around $4k a month
I work for PaperlessPost.com, and for our Flyer product we export mp4s from ffmpeg compiled to WASM, which is similar to ffmpeg.js but optimized for our use case which sounds similar. We have this WebAssembly method working well but iOS 15 (and the other major browsers) now support MediaExporter which might be a better way to go if you have something else to convert these files. This becomes and issue because you can't control the format MediaRecorder is recording to but the management of memory, the image quality, the compression, the performance hit will be more ideal than these other methods. OMGgif is very slow and will produce large files or very bad looking ones. Keep in mind that GIFs limit the colors so something that looks nice on the screen might not look the same after it is saved. The other thing to look out for is the WebCodecs APIs which should be the ultimate way to handle all of this in the future but it is only working in Chrome I think https://github.com/w3c/webcodecs
-
Loading Audio in Node JS
While in theory it might be possible to run ffmpeg through emscripten and run it in a web worker (I certainly assume someone has done this), it's not necessarily practical to try and use the same technique from node to transcode audio on the web. The good news is that the w3c has chartered a working group to focus on web codecs. While this is at the time of writing still in early stages, the working group is powering ahead on designing and proposing an API to enable media transcoding on the web, and hopefully that will become available to us in the near future.
- WebCodecs
- What's the deal with the WebCodecs and InsertableStreams APIs?
- WebCodecs is a flexible web API for encoding and decoding audio and video
lossless-cut
-
Show HN: CompressX, my FFmpeg wrapper for macOS, made $9k in the last 4 months
For lossless cut, there's the LosslessCut [1] app, which even has an experimental but mostly working version of a "smart cut" feature [2] (aka. only re-encode the minimal mandatory amount of frames if you trim at a point between 2 key frames)
[1]: https://github.com/mifi/lossless-cut
[2]: https://github.com/mifi/lossless-cut/issues/126
-
Cleaning up my 200GB iCloud with some JavaScript
> thought I cropped/edited a video, it is still there in full length and resolution
It's been possible to create a clip from a video file that merely changes what parts of the video are displayed without effecting the data in the original since the Classic Mac OS days.
If you want to completely remove unwanted portions of a video to reduce the size without a loss of quality, there are many options. LosslessCut is one option that is both free and open source.
https://github.com/mifi/lossless-cut
-
windows photos app wont let me trim videos
LosslessCut
- Best way to cut down 6 hr footage?
- FFmpeg is getting better with multithreaded transcoding pipelines
- Lossless Cut: The Swiss army knife of lossless video/audio editing
-
Lossless Cut is my new favourite tool to cut parts from a video without any hassle
Lossless Cut is probably the simplest way to cut out parts of a video without having to re-encode it or use an online service. It is open source, free and available for all platforms. It is in essence a frontend for FFMPEG and cuts without re-encoding, so the results are instantaneous.
-
Tips and utilities to manage collections of videos.
Additionally I would like if possible to shorten (both to reduce dimension and to make them less boring) my videos by trimming the beginning and/or ends where often there is nothing interesting happening and possibly change the thumbnails for easier identification. Do you know of any tool that does the job with the minimum quality degradation possible? Many years ago I've tried with some videos and a tool I don't remember anymore, ending up with a bunch of corrupted files :( I've found https://github.com/mifi/lossless-cut for the point above.. need to try it. please let me know what experience you have with it.
-
Why is Clipchamp Ruining My Videos?
Lossless Cut would probably be a better choice for this. Will let you cut out the commercials without having to re-encode the video.
-
VidCutter: A program for lossless video cutting
>Of course, you could only re-encode only the GoPs that get broken while keeping the rest intact, and I guess this would be better and a lot faster than re-encoding everything. I don't know if any application tries to do this.
LosslessCut does have experimental support for this partial re-encode called "smart cut" [1]. Since it's using ffmpeg internally, the challenge become how to instruct ffmpeg to do this[2]?
[1]: https://github.com/mifi/lossless-cut/issues/126
What are some alternatives?
web-bugs - A place to report bugs on websites.
HandBrake - HandBrake's main development repository
moq-js - Typescript library for Media over QUIC
ReelSteady-Joiner - ReelSteady Joiner merge multiple GoPro separate video files into one without losing the gyro data
webrtc-rtptransport - Repository for the RTPTransport specification of the WebRTC Working Group
yt-dlp - Fork of youtube-dlc with additional features and fixes [Moved to: https://github.com/yt-dlp/yt-dlp]
meyda - Audio feature extraction for JavaScript.
ShareX - ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
standards-positions
obs-StreamFX - StreamFX is a plugin for OBSĀ® Studio which adds many new effects, filters, sources, transitions and encoders! Be it 3D Transform, Blur, complex Masking, or even custom shaders, you'll find it all here.
webrtc-for-the-curious - WebRTC for the Curious: Go beyond the APIs
openshot-qt - OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.