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.8 2002/01/29 12:42:38 pierre Exp $
- Author:
- vpro
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VideoUtils
public VideoUtils()
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 2002