public class TrackAnalyzer extends Object
Requires: mplayer package
| Constructor and Description |
|---|
TrackAnalyzer(File device,
int track)
Creates a new TrackAnalyzer.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Integer> |
getAudioIds()
Audio IDs found in the track.
|
Dimension |
getDimension()
Video dimensions of the track.
|
public TrackAnalyzer(File device, int track) throws IOException
The track is analyzed immediately. This may take some seconds.
The results can be read from class properties.
device - DVD device to analyzetrack - Track numberIOExceptionpublic Dimension getDimension()
null if unknown.public Set<Integer> getAudioIds()
null if unknown.Copyright © 2016. All rights reserved.