001    package railo.runtime.video;
002    
003    import railo.runtime.type.Struct;
004    
005    public interface VideoInfo {
006            
007            public long getAudioBitrate();
008            /**
009             * @return the audioChannels
010             */
011            public String getAudioChannels();
012    
013            /**
014             * @return the audioCodec
015             */
016            public String getAudioCodec();
017    
018            /**
019             * @return the audioSampleRate
020             */
021            public long getAudioSamplerate();
022    
023            /**
024             * @return the duration
025             */
026            public long getDuration();
027            
028            /**
029             * @return the bitrate
030             */
031            public long getVideoBitrate();
032    
033            /**
034             * @return the framerate
035             */
036            public double getFramerate();
037    
038            /**
039             * @return the videoCodec
040             */
041            public String getVideoCodec();
042            
043            /**
044             * @return the videoFormat
045             */
046            public String getVideoFormat();
047    
048            /**
049             * @return the height
050             */
051            public int getHeight();
052    
053            /**
054             * @return the width
055             */
056            public int getWidth();
057            
058            /**
059             * returns the information as Struct
060             * @return
061             */
062            public Struct toStruct();
063    }