Live data from Hacker News

Rust-media, a portable media player framework for Rust

github.com

1–9 of 9 posts

Re: Rust-media, a portable media player framework for Rust

#3
post #2

IMO they should write their own decoders. Current C/C++ implementations of media codecs are notoriously buggy.

This was created primarily for Servo to use, and in general we don't have enough resources to Rust-ify all the things right now. Eventually, maybe, but not now.

Re: Rust-media, a portable media player framework for Rust

#6
post #2

IMO they should write their own decoders. Current C/C++ implementations of media codecs are notoriously buggy.

Definitely we'd like to, over time! This is just the start, and contributions are welcome :) Servo's a big enough project that we try to reuse C and C++ wherever possible, while being open to eventual Rust rewrites of those components. We're pragmatic above all else.

Also note that, for patent-encumbered codecs, to meet the goals of being freely distributable we unfortunately have to use the platform's native C and C++ implementations, so we're stuck (until the patents expire).

Re: Rust-media, a portable media player framework for Rust

#7
post #6
post #2

IMO they should write their own decoders. Current C/C++ implementations of media codecs are notoriously buggy.

Definitely we'd like to, over time! This is just the start, and contributions are welcome :) Servo's a big enough project that we try to reuse C and C++ wherever possible, while being open to eventual Rust rewrites of those components. We're pragmatic above all else. Also note that, for patent-encumbered codecs, to meet the goals of being freely distributable we unfortunately have to use the platform's native C and C…

Does this primarily refer to H.264?

Re: Rust-media, a portable media player framework for Rust

#8
post #7
post #6

Earlier quoted context omitted.

Definitely we'd like to, over time! This is just the start, and contributions are welcome :) Servo's a big enough project that we try to reuse C and C++ wherever possible, while being open to eventual Rust rewrites of those components. We're pragmatic above all else. Also note that, for patent-encumbered codecs, to meet the goals of being freely distributable we unfortunately have to use the platform's native C and C…

Does this primarily refer to H.264?

H.264/AVC, AAC, and MP3.

Re: Rust-media, a portable media player framework for Rust

#9
post #8
post #7

Earlier quoted context omitted.

Does this primarily refer to H.264?

H.264/AVC, AAC, and MP3.

Aha, I had no idea that MP3 was still encumbered. Looks like 2017 is the year to anticipate: http://www.tunequest.org/a-big-list-of-mp3-patents/20070226/