[ python-Bugs-1611944 ] sndhdr.what() does not recognize wav file
SourceForge.net
noreply at sourceforge.net
Sat Dec 9 11:02:48 CET 2006
Bugs item #1611944, was opened at 2006-12-09 03:37
Message generated for change (Comment added) made by klankschap
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1611944&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Floris van Manen (klankschap)
Assigned to: Nobody/Anonymous (nobody)
Summary: sndhdr.what() does not recognize wav file
Initial Comment:
using 2.5 on osx 10.4
the sndhdr.what() function fails to recognize some wav headers.
however these wav files are recognized correctly by other 'standard' applications like quicktime and itunes.
----------------------------------------------------------------------
>Comment By: Floris van Manen (klankschap)
Date: 2006-12-09 11:02
Message:
Logged In: YES
user_id=1064918
Originator: YES
Apparently the sndhdr.what() function does not skip the embedded comment
chunk at the start.
----------------------------------------------------------------------
Comment By: Floris van Manen (klankschap)
Date: 2006-12-09 10:56
Message:
Logged In: YES
user_id=1064918
Originator: YES
Attached you find (in a rar file) a 260kb wav file, 2 tracks, 24 bit,
44.1kHz
You can play it, ask either OSX or XP to show the properties.
Yet sndhdr.what() returns None
File Added: Audio01.rar
----------------------------------------------------------------------
Comment By: Georg Brandl (gbrandl)
Date: 2006-12-09 09:55
Message:
Logged In: YES
user_id=849994
Originator: NO
We'd need some more information about these specific wave files in order
to improve sndhdr.what().
Can you try to find out why they aren't recognized correctly, or what
their header (sndhdr reads the first 512 bytes) looks like?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1611944&group_id=5470
More information about the Python-bugs-list
mailing list