Comments (5)
What’s the scope of this? In a standalone media player, "subtitle support" might involve:
- Decoding various file formats
- Font management
- Text layout (including line breaking) and rendering
- Overlay/compositing on top of video frames
The first item should definitely be part of rust-media, but in the context of Servo everything else can (and should) be achieved by having the text be rendered as if it was in an HTML element. So all that logic should not be duplicated in rust-media. However this may not be idea for non-Servo users.
from rust-media.
I've been thinking that rust-media can accept features that are outside the scope of Servo, but they go behind Cargo features so that we can compile them out for Servo.
from rust-media.
That said, line breaking and text layout may want to be a separate crate entirely.
from rust-media.
Something like Pango? Yes, that would probably be useful to the Rust ecosystem at large. But I suggest we consider out of scope for rust-media at first, and reconsider if/when someone asks for it. A non-Servo user might happen to be using a UI toolkit that already does text rendering.
from rust-media.
Sounds good to me.
from rust-media.
Related Issues (20)
- 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
- failed to compile on stable channel
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.