MediaPlayer.Position freezes while playing .mp4
Summary
Hello, LibVLCSharp team! Great job! I made simple MediaPlayer, all perfect, but some videos cause problems. If you play some videos, you will notice that the Position freezes and does not change. This only happens with videos .mp4 while playing from Memory Stream, because when we play this video from Uri(string path) everythin works correctly. I think that it from these videos that cannot be seeked (the similiar problem exists in ffmpeg with input Pipe format, when we use Memory Stream to play videos). But not all of mp4 files play with this problem, I have more mp4 examples which play correctly (e.g. example.mp4)) Also, if you rewind this video, the Postiton will change for a second and freezes again.
Minimal project and steps to reproduce
- Start any mediaPlayer that based on LibVLCSharp, for example you can take any media player from your samples.
- Play any video attached to this post (e.g. cat.mp4)
- Check MediaPlayer.Position
What is the current bug behavior?
Position doesn't change
What is the expected correct behavior?
Position changes while video is playing
Does it work on other plaforms? Does it work with the official VLC apps?
These videos play with Official VLC Player with out problems
Relevant logs and/or screenshots
This is my log of freezing Position (from timer.Tick with interval 100ms):
Environment
- OS: Windows
- Version 10
- Device: hp laptop
- LibVLC version and architecture 3.0.11, x64]
- LibVLCSharp version 3.4.8 testBug.7z
Yours faithfully
Fedor (@Feodoros)