Login   Register  
PHP Classes
elePHPant
Icontem

File: src/PHPVideoToolkit/FfmpegParserFormatsArgumentOnly.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Oliver Lillie  >  PHP Video Toolkit  >  src/PHPVideoToolkit/FfmpegParserFormatsArgumentOnly.php  >  Download  
File: src/PHPVideoToolkit/FfmpegParserFormatsArgumentOnly.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Video Toolkit
Manipulate and convert videos with ffmpeg program
Author: By
Last change: updated copy right years and a incorrect version number
updated version number in class files
Date: 5 months ago
Size: 2,511 bytes
 

Contents

Class file image Download
<?php
    
    
/**
     * This file is part of the PHP Video Toolkit v2 package.
     *
     * @author Oliver Lillie (aka buggedcom) <publicmail@buggedcom.co.uk>
     * @license Dual licensed under MIT and GPLv2
     * @copyright Copyright (c) 2008-2014 Oliver Lillie <http://www.buggedcom.co.uk>
     * @package PHPVideoToolkit V2
     * @version 2.1.1
     * @uses ffmpeg http://ffmpeg.sourceforge.net/
     */
     
     
namespace PHPVideoToolkit;
     
    
/**
     * This class provides generic data parsing for the output from FFmpeg.
     * Parts of the code borrow heavily from Jorrit Schippers version 
     * of PHPVideoToolkit v 0.1.9.
     *
     * @access public
     * @author Oliver Lillie
     * @author Jorrit Schippers
     * @package default
     */
    
class FfmpegParserFormatsArgumentOnly extends FfmpegParserAbstract
    
{
        
/**
         * Returns the raw data returned from ffmpeg about the available supported codecs.
         *
         * @access public
         * @author Oliver Lillie
         * @param boolean $read_from_cache 
         * @return string
         */
        
public function getRawCodecData($read_from_cache=true)
        {
            return 
$this->getRawFormatData($read_from_cache);
        }
        
        
/**
         * Returns the raw data returned from ffmpeg about the available supported filters.
         *
         * @access public
         * @author Oliver Lillie
         * @param boolean $read_from_cache 
         * @return string
         */
        
public function getRawFiltersData($read_from_cache=true)
        {
            return 
$this->getRawFormatData($read_from_cache);
        }
        
        
/**
         * Returns the raw data returned from ffmpeg about the available supported bitstream filters.
         *
         * @access public
         * @author Oliver Lillie
         * @param boolean $read_from_cache 
         * @return string
         */
        
public function getRawBitstreamFiltersData($read_from_cache=true)
        {
            return 
$this->getRawFormatData($read_from_cache);
        }
        
        
/**
         * Returns the raw data returned from ffmpeg about the available supported protocols.
         *
         * @access public
         * @author Oliver Lillie
         * @param boolean $read_from_cache 
         * @return string
         */
        
public function getRawProtocolsData($read_from_cache=true)
        {
            return 
$this->getRawFormatData($read_from_cache);
        }
    }