百度智能云

All Product Document

          Multimedia Cloud Processing

          Mediainfo

          As for the certain Object in BOS, you can get the media information through the following code

          public void getMediaInfoOfFile(MediaClient client, String bucket, String key) { 
              GetMediaInfoOfFileResponse mediaInfo = client.getMediaInfoOfFile(bucket, key); 
              System.out.println("fileSizeInByte: " + mediaInfo.getFileSizeInByte()); 
              System.out.println("etag: " + mediaInfo.getEtag()); 
              System.out.println("type: " + mediaInfo.getType()); 
          } 
          Previous
          Preset
          Next
          Thumbnail-Job