README.md | 2 +- diff --git a/README.md b/README.md index 9349b7349c0522e8676cda7d4896c770364a9a1a..f615e84972611534e0a79042c2cdc89fa508482d 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ ### "My .ogg/.opus file doesn't play!" or "How do I play Opus in VLC / mplayer / ...?" Note: this package only does _encoding_ of your audio, to _raw opus data_. You can't just dump those all in one big file and play it back. You need extra info. First of all, you need to know how big each individual block is. Remember: opus data is a stream of encoded separate blocks, not one big stream of bytes. Second, you need meta-data: how many channels? What's the sampling rate? Frame size? Etc. -Look closely at the decoding sample code (not stream), above: we're passing all that meta-data in, hard-coded. If you just put all your encoded bytes in one big file and gave that to a media player, it wouldn't know what to do with it. It wouldn't even know that it's Opus data. It would just look like =/dev/random=. +Look closely at the decoding sample code (not stream), above: we're passing all that meta-data in, hard-coded. If you just put all your encoded bytes in one big file and gave that to a media player, it wouldn't know what to do with it. It wouldn't even know that it's Opus data. It would just look like `/dev/random`. What you need is a [container format](https://en.wikipedia.org/wiki/Container_format_(computing)).