Ignore:
Timestamp:
2012-09-24T10:41:07+12:00 (12 years ago)
Author:
jmt12
Message:

Extending debug comments with an indicator of whether this is IO time or processor (PR) time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video-and-audio/trunk/src/opt/Terrier/VideoDocument.java

    r26214 r26235  
    125125    Path raw_video_path = Paths.get(properties.get("filename"));
    126126    Path target_path = assoc_path.resolve(target_filename);
    127     logger.info("VideoDocument - symlinking original video into assoc directory");
     127    logger.info("VideoDocument - symlinking original video into assoc directory [IO]");
    128128    try
    129129    {
     
    142142    if (!target_path.toFile().exists())
    143143    {
    144       logger.info("VideoDocument - symlink failed, copying instead");
     144      logger.info("VideoDocument - symlink failed, copying instead [IO]");
    145145      try
    146146      {
     
    155155
    156156    // 1. Extract Metadata using MediaInfo and store as properties
    157     logger.info("VideoDocument - extracting video metadata");
     157    logger.info("VideoDocument - extracting video metadata [PR]");
    158158    try
    159159    {
     
    199199
    200200    // 2. Convert Video to streamable format using HandbrakeCLI
    201     logger.info("VideoDocument - convert video to streamable format");
     201    logger.info("VideoDocument - convert video to streamable format [PR]");
    202202    Path converted_video_path = assoc_path.resolve("tsv.mp4");
    203203    try
     
    243243    // 3. Generate keyframes from streamable video and attach the shot names
    244244    //    as a property
    245     logger.info("VideoDocument - extracting keyframes from video");
     245    logger.info("VideoDocument - extracting keyframes from video [PR]");
    246246    try
    247247    {
     
    268268        throw new Exception("Keyframe command failed (exit status: " + keyframe_status + ")");
    269269      }
     270
     271      logger.info("VideoDocument - associating keyframes to video [IO]");
    270272      File files[] = assoc_path.toFile().listFiles();
    271273      Arrays.sort(files);
Note: See TracChangeset for help on using the changeset viewer.