1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 22:35:04 -05:00

* {bitrate} binding

This commit is contained in:
Reinhard Pointner 2014-01-08 14:26:39 +00:00
parent af0f4892f7
commit 32f119756b

View File

@ -540,6 +540,11 @@ public class MediaBindingBean {
return null; return null;
} }
@Define("bitrate")
public Float getBitRate() {
return new Float(getMediaInfo(StreamKind.General, 0, "OverallBitRate"));
}
@Define("duration") @Define("duration")
public Integer getDuration() { public Integer getDuration() {
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration")); return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));