Open mscott161 opened 6 years ago
What is your graphic card ? Did you try disabling the hardware acceleration ?
I am using a Surface Pro 3 16gb ram running Windows 10 Fall Creator Update. The program ran fine twice then stopped working in Visual Studio 2017.
Could you try with the new version 3.0.1 ?
Tried version 3.0.1 on 2 different computers. The second computer has a high end graphics card with 32gb of ram. i turn hardware acceleration off and still no difference. the message i get is
"The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect.\r\nEnable the D3D debug layer in order to see details via debug messages.\r\n\r\nCould not create swapChain"
I even put the start media source to the big buck bunny video. I tested the url to make sure it was good first.
I met this problem too. Version 3.0.1 Device: HP desktop PC with AMD HD5450 OS: Windows 10 1709 Hardware acceleration: False Stack trace:
at libVLCX.Instance..ctor(IList`1 argv, SwapChainPanel panel) at VLC.MediaElement.
d178.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VLC.MediaElement. d 191.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VLC.MediaElement.<b__166_1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c. b__6_0(Object state) at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()
Changing target version to 16299 fixed this problem Crash: min 14393 target 14393 on 16299 Ok: min 14393 target 16299 on 16299
As it doesn't seem to work on Anniversary Edition, maybe we should change this line in the readme file:
Requires Windows 10 Anniversary Edition and matching Windows SDK.
Error D3D when running 6 MediaElements in an UWP app. I setup a Grid with 2 rows and 3 columns. I set the source URL in the Loaded event. I do not have to call Play because it errors with a D3D error.
<Page x:Class="UWP.VLCViewer.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:UWP.VLCViewer" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vlc="using:VLC" mc:Ignorable="d" Background="Black" Loaded="Page_Loaded">