mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
parent
7426e1091a
commit
51d2a078c9
1 changed files with 4 additions and 4 deletions
|
@ -314,10 +314,10 @@ public void Video_Join_Image_Sequence()
|
||||||
public void Video_With_Only_Audio_Should_Extract_Metadata()
|
public void Video_With_Only_Audio_Should_Extract_Metadata()
|
||||||
{
|
{
|
||||||
var video = VideoInfo.FromFileInfo(VideoLibrary.LocalVideoAudioOnly);
|
var video = VideoInfo.FromFileInfo(VideoLibrary.LocalVideoAudioOnly);
|
||||||
Assert.AreEqual(video.VideoFormat, "none");
|
Assert.AreEqual("none", video.VideoFormat);
|
||||||
Assert.AreEqual(video.AudioFormat, "aac");
|
Assert.AreEqual("aac", video.AudioFormat);
|
||||||
Assert.AreEqual(video.Duration.TotalSeconds, 79);
|
Assert.AreEqual(79, (int)video.Duration.TotalSeconds);
|
||||||
Assert.AreEqual(video.Size, 1.25);
|
Assert.AreEqual(1.25, video.Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
|
|
Loading…
Reference in a new issue