Package railo.runtime.video

Examples of railo.runtime.video.VideoOutput


   
   
    if("mpeg1video".equals(info.getVideoCodec()))
      return new Pair(vi.getResource(),toStruct(info));
   
    VideoOutput tmp = new VideoOutputImpl(pageContext.getConfig().getTempDirectory().getRealResource("tmp-"+new Random().nextInt()+".mpg"));
    try {
      doActionConvert(vi,tmp,null,null,NAMECONFLICT_ERROR);
      return new Pair(tmp.getResource(),toStruct(info));
    }
    catch(PageException pe) {
      tmp.getResource().delete();
      throw pe;
    }
    catch(IOException ioe) {
      tmp.getResource().delete();
      throw ioe;
    }
   
  }
View Full Code Here

TOP

Related Classes of railo.runtime.video.VideoOutput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.