-
public class MediaInformationJsonParserA parser that constructs MediaInformation from FFprobe's json output.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKEY_STREAMSpublic final static StringKEY_CHAPTERS
-
Method Summary
Modifier and Type Method Description static MediaInformationfrom(String ffprobeJsonOutput)Extracts MediaInformationfrom the given FFprobe json output.static MediaInformationfromWithError(String ffprobeJsonOutput)Extracts MediaInformation from the given FFprobe json output. -
-
Method Detail
-
from
static MediaInformation from(String ffprobeJsonOutput)
Extracts
MediaInformationfrom the given FFprobe json output. Note that thismethod does not throw JSONException as fromWithError does andhandles errors internally.- Parameters:
ffprobeJsonOutput- FFprobe json output
-
fromWithError
static MediaInformation fromWithError(String ffprobeJsonOutput)
Extracts MediaInformation from the given FFprobe json output.
- Parameters:
ffprobeJsonOutput- ffprobe json output
-
-
-
-