public void IndexerMatroska() { Indexer indexer = new Indexer("h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv"); Assert.AreEqual(5, indexer.NumberOfTracks); Assert.AreEqual(FFMSSharp.TrackType.Video, indexer.GetTrackType(0)); Assert.AreEqual("matroska", indexer.FormatName); Assert.AreEqual("h264", indexer.GetCodecName(0)); }
public void IndexerGetCodecNameOutOfRange() { Indexer indexer = new Indexer("h264_720p_hp_5.1_3mbps_vorbis_styled_and_unstyled_subs_suzumiya.mkv"); indexer.GetCodecName(6); }