Вход Регистрация
Файл: vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Format/ProgressListener/AudioProgressListener.php
Строк: 20
<?php

/*
 * This file is part of PHP-FFmpeg.
 *
 * (c) Alchemy <info@alchemy.fr>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace FFMpegFormatProgressListener;

/**
 * Parses ffmpeg stderr progress information. An example:.
 *
 * <pre>
 *       size=    3552kB time=00:03:47.29 bitrate= 128.0kbits/s
 * </pre>
 *
 * @author Robert Gruendler <r.gruendler@gmail.com>
 */
class AudioProgressListener extends AbstractProgressListener
{
    public function 
getPattern()
    {
        return 
'/size=(.*?) time=(.*?) /';
    }
}
Онлайн: 0
Реклама