首頁  >  文章  >  後端開發  >  一个解析mp3 ID3 tag 和 MPEG 信息的类_PHP教程

一个解析mp3 ID3 tag 和 MPEG 信息的类_PHP教程

WBOY
WBOY原創
2016-07-13 10:59:41913瀏覽

    /*
     * MP3 class
     *
     * rel. 0.1
     *
     * Copyright (c) 2000 Sumatra Solutions srl    http://www.sumatrasolutions.com
     *          Ludovico Magnocavallo    ludo@sumatrasolutions.com
     *
     * License type: GNU GPL http://www.gnu.org/copyleft/gpl.html
     *
     *    Heavily inspired by
     *          Perl Apache::MP3 module (L. Stein) -- great module to create an apache-based mp3 server
     *          Perl MP3::Info (C. Nandor) -- very complicated, hard stuff but useful
     *          Java class de.vdheide.mp3 (J. Vonderheide) -- great stuff, easy to read, had to debug synchronize() method
     *
     * ID3v2 tags support not completed
     *
     * MP3 header reference at http://www.mp3-tech.org/
     *
     * // quick start:
     * $mp3 = new MP3($myfilepath);
     * $mp3->get_info();          // file info in $mp3->info array
     * $mp3->get_id3();          // id3 info in $mp3->id3 array

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/631863.htmlTechArticle?php /* * MP3 class * * rel. 0.1 * * Copyright (c) 2000 Sumatra Solutions srlhttp://www.sumatrasolutions.com *Ludovico Magnocavalloludo@sumatrasolutions.com * * License type: GNU GP...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn