Skip Menu |

This queue is for tickets about the MP3-Info CPAN distribution.

Report information
The Basics
Id: 42413
Status: new
Priority: 0/
Queue: MP3-Info

People
Owner: Nobody in particular
Requestors: svanni [...] vecsys.fr
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug with length ?
Date: Wed, 14 Jan 2009 19:15:32 +0100
To: <bug-MP3-Info [...] rt.cpan.org.>
From: "Stephan VANNI" <svanni [...] vecsys.fr>
Hello, Great module, but i possibly found a bug in _get_info : ... $h->{'length'} = ($i->{SIZE} * 8) / $h->{bitrate} / 10; $i->{SECS} = $h->{'length'} / 100; ... But to get seconds you've got to divide by 1024 and not 1000 (10*100). My english is poor but did you understand I'm quit sure and have try with some wave files converted in mp3 with exact length and the module returned the length + a little offset. Thank you very much for your response, ------------------------------------------------------------------------- Stephan VANNI VECSYS ZA de COURTABOEUF - LES ULIS 3, rue de la Terre de Feu 91952 COURTABOEUF CEDEX FRANCE Tél. : +33 (0)1 69 29 87 94 Fax : +33 (0)1 69 07 58 58 <mailto:svanni@vecsys.fr> <http://www.vecsys.fr <http://www.vecsys.fr/> >
Subject: RE: [rt.cpan.org #42413] AutoReply: bug with length ?
Date: Thu, 15 Jan 2009 09:36:55 +0100
To: <bug-MP3-Info [...] rt.cpan.org>
From: "Stephan VANNI" <svanni [...] vecsys.fr>
Hello, I made a mistake ... There's no bug just a little offstet and this is not 1024 like i said but 1000 like the program did ... ------------------------------------------------------------------------- Stephan -----Message d'origine----- De : Bugs in MP3-Info via RT [mailto:bug-MP3-Info@rt.cpan.org] Envoyé : mercredi 14 janvier 2009 19:16 À : Stephan VANNI Objet : [rt.cpan.org #42413] AutoReply: bug with length ? Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "bug with length ?", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [rt.cpan.org #42413]. Your ticket is accessible on the web at: http://rt.cpan.org/Ticket/Display.html?id=42413 Please include the string: [rt.cpan.org #42413] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, bug-MP3-Info@rt.cpan.org ------------------------------------------------------------------------- Hello, Great module, but i possibly found a bug in _get_info : ... $h->{'length'} = ($i->{SIZE} * 8) / $h->{bitrate} / 10; $i->{SECS} = $h->{'length'} / 100; ... But to get seconds you've got to divide by 1024 and not 1000 (10*100). My english is poor but did you understand I'm quit sure and have try with some wave files converted in mp3 with exact length and the module returned the length + a little offset. Thank you very much for your response, ------------------------------------------------------------------------- Stephan VANNI VECSYS ZA de COURTABOEUF - LES ULIS 3, rue de la Terre de Feu 91952 COURTABOEUF CEDEX FRANCE Tél. : +33 (0)1 69 29 87 94 Fax : +33 (0)1 69 07 58 58 <mailto:svanni@vecsys.fr> <http://www.vecsys.fr <http://www.vecsys.fr/> >