Skip Menu |
 

This queue is for tickets about the Audio-Scan CPAN distribution.

Report information
The Basics
Id: 83821
Status: new
Priority: 0/
Queue: Audio-Scan

People
Owner: Nobody in particular
Requestors: tsui [...] dice.net
Cc:
AdminCc:

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



Download (untitled) / with headers
text/plain 895b
mp3_find_frame should try to find three consecutive frames (like _mp3_parse) before returning the offset. Current implementation only check for one frame. use Audio::Scan; print Audio::Scan->find_frame( "bad.mp3", 3300 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3310 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3320 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3330 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3340 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3350 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3360 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3370 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3380 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3390 ) . "\n"; print Audio::Scan->find_frame( "bad.mp3", 3400 ) . "\n"; Output: 53034 Bad 53034 Bad 53498 53498 53498 53612 Bad 53916 54334 54334 54334 54680 Bad
Subject: bad.mp3
Download bad.mp3
audio/mpeg 64.6k

Message body not shown because it is not plain text.

Subject: mp3_find_frame not accurate
From: tsui [...] dice.net
Correct output should be like this, 53080 53080 53498 53498 53498 53916 53916 54334 54334 54334 54752 On Thu Mar 07 17:37:43 2013, willtsui wrote: Show quoted text
> mp3_find_frame should try to find three consecutive frames (like > _mp3_parse) before returning the offset. Current implementation only > check for one frame. > > use Audio::Scan; > print Audio::Scan->find_frame( "bad.mp3", 3300 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3310 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3320 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3330 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3340 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3350 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3360 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3370 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3380 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3390 ) . "\n"; > print Audio::Scan->find_frame( "bad.mp3", 3400 ) . "\n"; > > Output: > 53034 Bad > 53034 Bad > 53498 > 53498 > 53498 > 53612 Bad > 53916 > 54334 > 54334 > 54334 > 54680 Bad >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.