Comments (12)
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on July 25, 2012 02:06:08
This issue was closed by revision r122 .
Status: Fixed
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From towolf on April 16, 2012 09:35:51
Joe? Will you merge this?
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on April 19, 2011 08:16:15
Changes:
- get bitrate using file size; the calculation was wrong for sv4-7: bps/1000+0.5 instead of just bps
- move sv8_int, peak/gain in functions, IOError in sv8_int after limit is reached
- move sv8 parsing in a seperate method
- I've checked the replaygain calculation with GStreamer and it's correct.
- correctly ignore empty gain/peak fields (this needs to be fixed in QL).
- include version and bitrate in pprint
Attachment: mpc-sv8-v3.patch
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on October 31, 2010 05:20:54
Sorry it's taken so long. I guess it's still technically October...
Comments on the patch:
I really don't like the "while 1". Can it be replaced with a real loop invariant? I'd rather just chunk frames as we go rather than repeat the validation logic for each frame type we care about, stopping as soon as we find an AP.
Do we really need to parse every frame in the file just to get the approximate bitrate? It's going to be very slow (and still not accurate at all). Just let the file length / time case take care of it.
I don't like the get_sv8_int staticmethod. This should probably be a bare function or part of the cdata module. I also don't see a reason why it stops after 9 bytes except as a sanity check - in which case it should throw an exception, not return 0, after failing to stop after reading 8 bytes.
If the exceptions are going to claim it's a Musepack file with an invalid frame, it should explain why it's an invalid frame.
I'd like someone from the Musepack team to explain why their new Replay Gain format is so incredibly bad. Until then, Mutagen shouldn't try to parse it.
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on August 22, 2010 13:36:38
For the record, this is the #1 thing in my Mutagen pile right now; unfortunately Mutagen is about the #-1 thing in my overall pile. I'm hoping to get to it by October.
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on August 15, 2010 15:37:19
> Hi, it would be nice to merge this patch into the trunk :) cheers
another cheers on that :D
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on July 15, 2010 14:10:00
Hi, it would be nice to merge this patch into the trunk :) cheers
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on April 13, 2010 02:50:27
Thanks Philipp.
Updated patch and test sample attached.
Attachment: mpc-sv8-v2.patch sv8_header.mpc
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From ph.wolfer on April 12, 2010 12:46:07
I just played with your patch and found a file that will cause a
MusepackHeaderError("Invalid Frame") in line 84. The attached file is a SV8 file with
zero audio length. I have also attached the WAV source from which I generated the
file. The SV7 version of the same file can be read without problems.
Other files seemed to work so far.
Attachment: test_sv8.mpc test.wav
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on March 24, 2010 13:21:59
Patch+Testfile attached.
I made the peak calculation the same as with SV7, but I think it is wrong in both
cases, or QL needs to convert them somehow.. I guess you know more about this.
Attachment: mpc-sv8.patch sv8_header.mpc
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on July 19, 2009 19:48:57
Summary: Musepack: Support new Musepack SV8 API
from mutagen.
Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):
From [email protected] on July 06, 2009 00:00:45
Wow, they made the header format really crap.
Labels: -Type-Defect Type-Enhancement Component-Logic
from mutagen.
Related Issues (20)
- FLAC objects that compare equal do not have the same hash value
- mid3v2 not working with .opus files. HOT 4
- Unable to add artwork to `.ogg` [vorbis] file HOT 9
- Add support for Audiobooks (.m4b) tags to EasyMP4
- Help with implementing ID3v3.2 spec in dart
- Name of tag is cut off when displaying (.m4a file) HOT 1
- album metadata is not being written to when using EasyID3 HOT 4
- ffmpeg + ogg vorbis: header remain warning HOT 1
- Duration not displayed for some MPEG-4 audio files.
- Writing new ID3 tags to .aiff files HOT 5
- Can I sort by track number? HOT 1
- IOError (not enough bytes) in read_full() on WAV file with extended ID3 header HOT 4
- EasyID3 is not used for wav files
- mid3v2 produces file that mutagen can't read again HOT 1
- AcoustID Fingerprint HOT 2
- mutagen - 1.47.0 - Error with reading FLAC tags and values HOT 7
- Bad chapter timestamps for Mp4 files HOT 2
- Please use built-in enums HOT 1
- Errors with opus files previously tagged with picard/mutagen HOT 5
- Writing Library Tag HOT 2
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 mutagen.