MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / describeVideo

Method describeVideo

src/test/Test_Video.java:279–285  ·  view source on GitHub ↗
(String resource, String name)

Source from the content-addressed store, hash-verified

277 }
278
279 @SuppressWarnings("unused")
280 private void describeVideo(String resource, String name) throws IOException {
281 VideoReader vr = new VideoReader(resource);
282 //List<Map<String, Object>> contents = vr.getContents(true);
283 System.out.println("codec = " + vr.getCodec());
284 main.setTitle(name + " " + vr.getFileType() + "|" + vr.getCodec());
285 }
286
287 private void showProperty(String key) {
288 System.out.println(key + "=" + HTML5Video.getProperty(jsvideo, key));

Callers

nothing calls this directly

Calls 4

getCodecMethod · 0.95
getFileTypeMethod · 0.95
printlnMethod · 0.65
setTitleMethod · 0.65

Tested by

no test coverage detected