-
-
Notifications
You must be signed in to change notification settings - Fork 415
Media.Duration returns zero duration #665
Comments
Interesting enough, if after VlcControl.SourceProvider.MediaPlayer.Play() I call the same: VlcMedia media = VlcControl.SourceProvider.MediaPlayer.GetMedia(); without Media.Parse() method, it returns me correct duration. |
I was able to get correct duration using ParseAsync + ParsedChanged event. However, I think that sync event must also work or be removed. |
Hello,I do a lot of time to get a duraton with:
But i still get 0:0:0 ! Hope you can reply me, Thank you :) |
Why are you using a file stream instead of passing the file name directly to vlc ? If libvlc returns wrong values, I don't think I can do something about it. |
Yes, But i also want FileStream can, Because of others' limited ! |
I have an issue about Vlc.DotNet.
Generic information
Summary
My code
fills 0:0:0 in duration.
The text was updated successfully, but these errors were encountered: