001 package railo.runtime.video; 002 003 import railo.commons.io.res.Resource; 004 005 public interface VideoOutput { 006 007 008 009 /** 010 * limit size of the output file 011 * @param size the size to set 012 */ 013 public void limitFileSizeTo(int size); 014 015 /** 016 * set time offset of the output file based on input file in seconds 017 * @param offset 018 */ 019 public void setOffset(double offset); 020 021 /** 022 * sets a comment to the output video 023 * @param comment 024 */ 025 public void setComment(String comment); 026 027 /** 028 * sets a title to the output video 029 * @param title 030 */ 031 public void setTitle(String title); 032 033 /** 034 * sets a author to the output video 035 * @param author 036 */ 037 public void setAuthor(String author); 038 039 /** 040 * sets a copyright to the output video 041 * @param copyright 042 */ 043 public void setCopyright(String copyright); 044 045 046 047 /** 048 * @param maxFrames the maxFrames to set 049 */ 050 public void setMaxFrames(long maxFrames); 051 052 /** 053 * @param resource the resource to set 054 */ 055 public void setResource(Resource resource); 056 057 058 /** 059 * @param format the format to set 060 */ 061 public void setFormat(String format); 062 063 /** 064 * @param fileLimitation the fileLimitation to set 065 */ 066 public void setFileLimitation(int fileLimitation); 067 068 069 /** 070 * @return the res 071 */ 072 public Resource getResource(); 073 074 075 /** 076 * @return the offset 077 */ 078 public double getOffset(); 079 080 /** 081 * @return the comment 082 */ 083 public String getComment(); 084 085 086 /** 087 * @return the title 088 */ 089 public String getTitle(); 090 091 092 /** 093 * @return the author 094 */ 095 public String getAuthor(); 096 097 098 /** 099 * @return the copyright 100 */ 101 public String getCopyright(); 102 103 /** 104 * @return the fileLimitation 105 */ 106 public int getFileLimitation(); 107 108 /** 109 * @return the maxFrames 110 */ 111 public long getMaxFrames(); 112 113 /** 114 * @return the format 115 */ 116 public String getFormat(); 117 118 public void setFrameRate(int framerate); 119 public int getFrameRate(); 120 121 122 }