Comments (5)
Some more information on this. When decoding the ogg file I linked above, it reports that it has 14436798 samples. The decoded wav file only ends up with 14407104 samples, though, so somehow samples are getting dropped.
Loading the ogg file directly into Audacity shows the expected 14436798 sample length.
from nvorbis.
I did some testing with older versions. Decoding works fine in v0.9.1 and the problem occurs in v0.10.0-alpha. So it looks like something in the 0.10 rewrite caused the problem. Unfortunately with all of the changes in that version it may be hard to track down.
from nvorbis.
Yeah, v0.10 has a completely new implementation of the Ogg format reader that addresses performance and memory usage issues previous versions had. Unfortunately it appears to have a few issues.
We've been snowed-in for the last week, but lemme see if I can find some time to take a look at this later today or tomorrow.
from nvorbis.
Let me know if there is anything I can do to help, or if you need any other files that show this behavior.
from nvorbis.
Thanks - good to see this fixed!
from nvorbis.
Related Issues (20)
- Weird issue ? HOT 10
- Exception when reading certain ogg files. HOT 6
- "Ran out of packets?!" when seeking HOT 14
- Granule Position was -1 but page does not have exactly 1 continued packet.
- "Could not read pre-roll packet!" exception when seeking HOT 1
- IndexOutOfRangeException in PacketProvider.CreatePacket while seeking HOT 5
- rollForward results in negative value on seeking, resulting in negative _prevPacketStart HOT 2
- ForwardOnlyPageReader exception on last page
- Documentation is ambiguous HOT 1
- Build on .NET 6 HOT 1
- Dead loop in StreamDecoder.Read() HOT 4
- VorbisReader class SamplePosition issue
- Please document that vorbis.SamplePosition/vorbis.TotalSamples are in Frames not samples HOT 2
- Seeking fails with "Could not read pre-roll packet"
- Seeking causes entire stream to be fetched HOT 16
- SamplePosition consistantly fails if you seek near the end of a file
- Dead loop in StreamDecoder.Read()
- Add additional TFM so dependencies can be eliminated
- Update package readme
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 nvorbis.