Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black video when opening media with multiple players active #647

Open
1 of 4 tasks
fmanso opened this issue Jul 7, 2023 · 1 comment
Open
1 of 4 tasks

Black video when opening media with multiple players active #647

fmanso opened this issue Jul 7, 2023 · 1 comment

Comments

@fmanso
Copy link

fmanso commented Jul 7, 2023

Black video when opening media with multiple players active

I have an use case that involves having 4 or more MediaElement playing video files. Some video files ar MPEG2 and others are H264.
While playing video, when changing media file for some MediaElement, the MediaElement goes black and plays nothing. If I change the media file again it starts working again. I couldnt manage to find reproducible steps, it appears to be random.

Is there any recommendation, or better practice, to implement this use case?

Issue Categories

  • Bug
  • Feature Request
  • Question
  • [ x] Not sure

Version Information

  • [X ] NuGet Package 4.4.350
  • FFMPEG ffmpeg-n4.4-latest-win64-lgpl-shared-4.4

Sorry to not be able to share any reproducible code.

@MrBean2016
Copy link
Contributor

I have a similar application. What I have done is to create a component encapsulating a video player class with its own view model. So multiple instances share nothing on an instance level and they act completely independent . Maybe your implementation needs more separation? Difficult to answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants