getid3_mpeg example

break;

            case 'CDXA':
                $info['fileformat'] = 'vcd'; // Asume Video CD                 $info['mime_type']  = 'video/mpeg';

                if (!empty($thisfile_riff['CDXA']['data'][0]['size'])) {
                    getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.audio-video.mpeg.php', __FILE__, true);

                    $getid3_temp = new getID3();
                    $getid3_temp->openfile($this->getid3->filename, $this->getid3->info['filesize']$this->getid3->fp);
                    $getid3_mpeg = new getid3_mpeg($getid3_temp);
                    $getid3_mpeg->Analyze();
                    if (empty($getid3_temp->info['error'])) {
                        $info['audio']   = $getid3_temp->info['audio'];
                        $info['video']   = $getid3_temp->info['video'];
                        $info['mpeg']    = $getid3_temp->info['mpeg'];
                        $info['warning'] = $getid3_temp->info['warning'];
                    }
                    unset($getid3_temp$getid3_mpeg);
                }
                break;

            
Home | Imprint | This part of the site doesn't use cookies.