AV1 test
parent
0000450a81
commit
15028bb1f1
Binary file not shown.
|
@ -5,6 +5,18 @@
|
|||
<Message Text="Runtime ID: $(RuntimeIdentifier)" Importance="high"/>
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\..\moonlibs\video_shaders\video_fullscreen.vert.refresh">
|
||||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
<Content Include="..\..\moonlibs\video_shaders\video_yuv2rgba.frag.refresh">
|
||||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))">
|
||||
<Content Include="..\..\moonlibs\windows\FAudio.dll">
|
||||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
|
@ -18,6 +30,10 @@
|
|||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="..\..\moonlibs\windows\dav1dfile.dll">
|
||||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))">
|
||||
<Content Include="..\..\moonlibs\lib64\libFAudio.*">
|
||||
|
@ -32,6 +48,10 @@
|
|||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="..\..\moonlibs\windows\libdav1dfile.*">
|
||||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))">
|
||||
<Content Include="..\..\moonlibs\osx\**\*.*" >
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace MoonWorks.Test
|
|||
private Buffer vertexBuffer;
|
||||
private Buffer indexBuffer;
|
||||
|
||||
private Video.Video video;
|
||||
private Video.VideoAV1 video;
|
||||
private VideoPlayer videoPlayer;
|
||||
|
||||
public VideoPlayerGame() : base(TestUtils.GetStandardWindowCreateInfo(), TestUtils.GetStandardFrameLimiterSettings(), 60, true)
|
||||
|
@ -60,12 +60,12 @@ namespace MoonWorks.Test
|
|||
GraphicsDevice.Wait();
|
||||
|
||||
// Load the video
|
||||
video = new Video.Video(TestUtils.GetVideoPath("hello.ogv"));
|
||||
video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu"));
|
||||
|
||||
// Play the video
|
||||
videoPlayer = new VideoPlayer(GraphicsDevice, AudioDevice);
|
||||
videoPlayer.Load(video);
|
||||
videoPlayer.Play();
|
||||
videoPlayer.Play();
|
||||
}
|
||||
|
||||
protected override void Update(System.TimeSpan delta)
|
||||
|
|
Loading…
Reference in New Issue