Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.1

Bug #21164 File_Ogg returns 0 length for 34-second FLAC file
Submitted: 2017-01-18 17:26 UTC
From: brion Assigned: brion
Status: Closed Package: File_Ogg (version SVN)
PHP Version: Irrelevant OS: Linux, macOS
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 18 - 3 = ?

 
 [2017-01-18 17:26 UTC] brion (Brion Vibber)
Description: ------------ This Ogg FLAC file: https://upload.wikimedia.org/wikipedia/commons/2/20/Zeev_El%27kin_voic e.oga on Wikimedia Commons has its length listed as 0 via the getLength() method, though the actual file is 34 seconds long when played back, or retrieved via ffprobe. Downstream bug report at Wikimedia: https://phabricator.wikimedia.org/T87619 Test script: --------------- $f = new File_Ogg('zeev.oga'); echo $f->getLength(); Expected result: ---------------- 34.06 Actual result: -------------- 0

Comments

 [2017-01-18 17:29 UTC] brion (Brion Vibber)
-Assigned To: +Assigned To: brion
 [2017-01-18 18:03 UTC] brion (Brion Vibber)
Fix at https://github.com/pear/File_Ogg/pull/8 but I'm not quite sure yet how to get full write access to that repo. Might just move it off the PEAR github.
 [2017-01-19 17:27 UTC] brion (Brion Vibber)
-Status: Assigned +Status: Closed
Fix merged on github: https://github.com/pear/File_Ogg/pull/8