Opened 6 years ago
Closed 6 years ago
#2 closed defect (fixed)
Telemeta does not recognize my audio files
| Reported by: | Olivier Guilyardi <olivier@…> | Owned by: | anonymous |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Model | Version: | |
| Keywords: | Cc: |
Description
Whenever I try to backup an audio file, I get an error saying it's "not an audio file". I tried with several WAV files.
I'm using Telemeta 0.2.5-2, from the Debian package.
Here's the log:
olivier@etoile:/tmp/telemeta$ telemeta --create test telemeta v0.2.5 (c) 2006 Guillaume Pellerin <pellerin@parisson.com> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Warning: creating a telemeta collection... tag_table ? [ARTIST,TITLE,ALBUM,DATE,GENRE,SOURCE,ENCODER,COMMENT]: collection_dir ? [/home/olivier/test]: /tmp/coll_test collection_name ? [test]: net_backup_dir ? [/home/olivier/telemeta/]: /tmp/coll_test_bak type_list ? [mp3,ogg,flac,wav,aiff]: net_backup_host ? [domain.com]: Collection created ! You can now --backup media in it... olivier@etoile:/tmp/telemeta$ telemeta --backup test /tmp/untitled.wav telemeta v0.2.5 (c) 2006 Guillaume Pellerin <pellerin@parisson.com> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Warning: backup mode... Parsing collection XML file... OK /tmp/untitled.wav is not an audio file !
Change History (5)
comment:1 Changed 6 years ago by Guillaume
- Owner changed from somebody to anonymous
- Status changed from new to assigned
comment:2 Changed 6 years ago by Olivier Guilyardi <olivier@…>
Here's the output:
/tmp/burglar.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44099 Hz
telemeta issues:
/tmp/burglar.wav is not an audio file !
burglar.wav is a WAV file exported from Jackbeat, as the untitled.wav file in my original post.
I though the framerate (44099 Hz) was a bit weird so I made another WAV file out of my mp3s, using mpg123.
Here's what file says:
/tmp/superstition.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
And telemeta still complains:
/tmp/superstition.wav is not an audio file !
comment:3 Changed 6 years ago by Olivier Guilyardi <olivier@…>
By the way, I'm using revision r27
comment:4 Changed 6 years ago by olivier
I see that you now rely on the detected mime type:
source:trunk/telemeta/export/core.py@56#L178
This bug seems fixed. The exporters properly process my WAV files. I think you should close this bug.
comment:5 Changed 6 years ago by yomguy
- Resolution set to fixed
- Status changed from assigned to closed
OK

Telemeta analyses the content of the audio file to get the right type (OGG, MP3, FLAC, WAV or AIFF).
This feature is given by a 'file' command. Could you give me the output of a :
Thanks
Yomguy