org.mmbase.util.media.video
Class VideoUtils

java.lang.Object
  |
  +--org.mmbase.util.media.MediaUtils
        |
        +--org.mmbase.util.media.video.VideoUtils

public class VideoUtils
extends MediaUtils

Version:
$Id: VideoUtils.java,v 1.9 2002/02/20 10:43:29 pierre Exp $
Author:
vpro

Constructor Summary
VideoUtils()
           
 
Method Summary
static RawVideoDef getBestRawVideo(java.util.Vector rawvideos, int wantedspeed, int wantedchannels)
          Find a best match in rawvideos: - if a g2 file is found which is encoded (status=done), set this as preffered - else find r5 file with best match with respect to wanted speed/channels
static java.util.Vector getRawVideos(MMBase mm, int number)
          Vector with MMObjectNodes (rawvideos), number can be cdtrack or videopart
static java.util.Vector getRawVideos(MMBase mmbase, int tracknumber, boolean sort)
           
static java.lang.String getVideoUrl(MMBase mmbase, scanpage sp, int number, int speed, int channels)
           
 
Methods inherited from class org.mmbase.util.media.MediaUtils
getBestMirrorUrl, main, makeRealCompatible, plusToProcent20
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoUtils

public VideoUtils()
Method Detail

getRawVideos

public static java.util.Vector getRawVideos(MMBase mm,
                                            int number)
Vector with MMObjectNodes (rawvideos), number can be cdtrack or videopart

getBestRawVideo

public static RawVideoDef getBestRawVideo(java.util.Vector rawvideos,
                                          int wantedspeed,
                                          int wantedchannels)
Find a best match in rawvideos: - if a g2 file is found which is encoded (status=done), set this as preffered - else find r5 file with best match with respect to wanted speed/channels

getRawVideos

public static java.util.Vector getRawVideos(MMBase mmbase,
                                            int tracknumber,
                                            boolean sort)

getVideoUrl

public static java.lang.String getVideoUrl(MMBase mmbase,
                                           scanpage sp,
                                           int number,
                                           int speed,
                                           int channels)


MMBase build 1.6.5.20030923