/// <summary>
 /// Constructs a new <see cref="MatroskaInfoReader"/>.
 /// </summary>
 /// <param name="lfsra">
 /// <see cref="ILocalFsResourceAccessor"/> pointing to the MKV file to extract information from; The caller
 /// is responsible that it is valid while this class is used and that it is disposed afterwards.
 /// </param>
 public MatroskaInfoReader(ILocalFsResourceAccessor lfsra)
 {
     _lfsra          = lfsra;
     _mkvInfoPath    = FileUtils.BuildAssemblyRelativePathForArchitecture("mkvinfo.exe");
     _mkvExtractPath = FileUtils.BuildAssemblyRelativePathForArchitecture("mkvextract.exe");
 }
示例#2
0
 /// <summary>
 /// <see cref="FFMpegLib"/> provides access to the "ffmpeg.exe" and "ffprobe.exe" programs for processing video and its metadata.
 /// </summary>
 static FFMpegBinary()
 {
     _ffMpegBinPath  = FileUtils.BuildAssemblyRelativePathForArchitecture(FFMPEG_EXECUTABLE);
     _ffProbeBinPath = FileUtils.BuildAssemblyRelativePathForArchitecture(FFPROBE_EXECUTABLE);
 }