<?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 FluxMedia\FFMpeg\Format\ProgressListener;

/**
 * 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=(.*?) /';
    }
}
