mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-10 19:35:15 -05:00
* use "Encoded_Library_Name" MediaInfo property (renamed from Encoded_Library/Name in newer versions of libmediainfo)
This commit is contained in:
parent
f02c4656b3
commit
4744546e13
@ -289,7 +289,7 @@ public class MediaBindingBean {
|
||||
@Define("vc")
|
||||
public String getVideoCodec() {
|
||||
// e.g. XviD, x264, DivX 5, MPEG-4 Visual, AVC, etc.
|
||||
String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library/Name", "CodecID/Hint", "Format");
|
||||
String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library_Name", "Encoded_Library/Name", "CodecID/Hint", "Format");
|
||||
|
||||
// get first token (e.g. DivX 5 => DivX)
|
||||
return new Scanner(codec).next();
|
||||
|
Loading…
Reference in New Issue
Block a user