Sascha-L / WPF-MediaKit

Microsoft Public License
363 stars 115 forks source link

Can't open larger videos #90

Open miguelgomezmunoz opened 5 years ago

miguelgomezmunoz commented 5 years ago

Hi, I have an application that can open 12 videos simultaneously.

When using videos of 2-3 minutes it works good. However, when I try to open 12 videos with a duration of 1 hour (around 3 GB per video) it can only open 6 or 7 of them. The application does not crash, it just do not render the other videos. Is there any way of playing larger videos?

jluisestrada commented 5 years ago

Happened something similar long ago, and it was solved improving the graphics card.


From: miguelgomezmunoz notifications@github.com Sent: Tuesday, December 11, 2018 10:08 AM To: Sascha-L/WPF-MediaKit Cc: Subscribed Subject: [Sascha-L/WPF-MediaKit] Can't open larger videos (#90)

Hi, I have an application that can open 12 videos simultaneously.

When using videos of 2-3 minutes it works good. However, when I try to open 12 videos with a duration of 1 hour (around 3 GB per video) it can only open 6 or 7 of them. The application does not crash, it just do not render the other videos. Is there any way of playing larger videos?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Sascha-L/WPF-MediaKit/issues/90, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGe0EM8tZ39QT-0WLV7R6fhI4v5H2X4-ks5u39iHgaJpZM4ZNum9.

xmedeko commented 5 years ago

It seems to me like codec/graphic card issue, too. Are you able to open them with MPC-HC player? (Open 12 MPC-HC instances).

miguelgomezmunoz commented 5 years ago

Thank you for your answer, I have installed the MPC-HC player and I am able to open the 12 videos at the same time with this player.

I have a NVIDIA GeForce GTX 1080, if I go to its properties it says: Total Available Graphics Memory: 24510 MB Dedicated Video Memory: 8192 MB System Video Memory: 0 MB Shared System Memory: 16318 MB

xmedeko commented 5 years ago

Can you open 12 instances of your app with one large video only?

miguelgomezmunoz commented 5 years ago

If I open 12 instances, all videos are rendered

xmedeko commented 5 years ago

It seems like some limitation per process. Frankly, I have no clue what it may be. Check what filters/decoders do you use and try to ask authors of these filters.