original_string: public function clipWebM($src, $dest, $from, $to)
      {
          $ffmpeg = FFMpeg::create();
          $video  = $ffmpeg->open($src);
  
          if($from >= $to) 
              throw new Exception("The start clipping time must be less than end clipping time");
              
          $video
              ->filters()
              ->clip(Coordinate\TimeCode::fromSeconds($from), Coordinate\TimeCode::fromSeconds($to));
  
          $video
              ->save(new Video\WebM(), $dest);
  
          if($video) return true;
          else return false;
      }
code: public function clipWebM($src, $dest, $from, $to)
      {
          $ffmpeg = FFMpeg::create();
          $video  = $ffmpeg->open($src);
  
          if($from >= $to) 
              throw new Exception("The start clipping time must be less than end clipping time");
              
          $video
              ->filters()
              ->clip(Coordinate\TimeCode::fromSeconds($from), Coordinate\TimeCode::fromSeconds($to));
  
          $video
              ->save(new Video\WebM(), $dest);
  
          if($video) return true;
          else return false;
      }
code_tokens: public function clipWebM ( $ src , $ dest , $ from , $ to ) { $ ffmpeg = FFMpeg :: create ( ) ; $ video = $ ffmpeg -> open ( $ src ) ; if ( $ from >= $ to ) throw new Exception ( "The start clipping time must be less than end clipping time" ) ; $ video -> filters ( ) -> clip ( Coordinate \ TimeCode :: fromSeconds ( $ from ) , Coordinate \ TimeCode :: fromSeconds ( $ to ) ) ; $ video -> save ( new Video \ WebM ( ) , $ dest ) ; if ( $ video ) return true ; else return false ; }
docstring: Clips the given video
  
  Create a new clipped video of type WebM
  from the given video
  
  
  @access public
  @param  src        Video resource source path
  @param  dest       Video resource destination path
  @param  from       Clipping start time
  @param  to         Clipping end time
  @return boolean
  
  @since   Method available since Release 1.4.4
  @version 1.4.4
  @author  lakshmajim <lakshmajee88@gmail.com>
docstring_tokens: Clips the given video