Comments (12)
Is it ok if we don't use FFmpeg or AudioUnit.framework and write a decoder in Rust instead?
from rust-media.
It is, but that decoder should be treated as a fallback for when no hardware decoder is available. Sadly, the only way to use HW decoders is typically the platform APIs, due to the closed proprietary nature of decoders :(
from rust-media.
But isn't that only for Win + Mac? For Linux we're using software decoding anyways, aren't we?
from rust-media.
Yeah, I don't think desktop Linux usually uses HW decoding, so a pure Rust solution sounds just fine there. Assuming it works and is fast enough, of course :)
from rust-media.
It would be an interesting experiment :)
from rust-media.
How would we go about per-frame headers and info (ex. sampling rate)? It is common practice to assume that every frame will be like the first, but that's not correct per se.
from rust-media.
@pcwalton ^^
from rust-media.
Usually I've been following the way mkv does these things. For example, the notion of cluster/track/etc. is taken from mkv. So I guess my answer would be "however mkv handles it".
from rust-media.
@pcwalton Well, it seems like mkv handles it exactly the way I put it (at least judging by this), which assumes that each frame has the same headers, but this is not correct, and it will not allow features such as variable bitrate
from rust-media.
Any update on MP3 support?
from rust-media.
Nobody is working on rust-media at this point.
from rust-media.
Hi, here new https://crates.io/crates/minimp3
from rust-media.
Related Issues (20)
- Support Gifs with partial frames HOT 2
- Support Gifs with transparency
- Support looping in Gifs
- Move away from old_io HOT 3
- Building example with Rust 1.6 errors because sdl2-sys HOT 3
- Moving to piston's gif crate?
- Moving to lewton
- Modern ffmpeg gives linker error
- Build error HOT 2
- Support VA-API for hardware acceleration on linux HOT 2
- cargo build failed HOT 3
- Project Status HOT 4
- License of this project? HOT 1
- Does not compile on macOS any more HOT 2
- Panic on Player::new() HOT 1
- Packed BGRA conversion
- Not compileable on ARM
- Is it possible to split a video with this library?
- cd example;cargo build fails in current Manjaro Linux
- cargo build throws error - error: ISO C++ forbids comparison between pointer and integer [-fpermissive] in mp4v2-sys v0.1.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-media.