anilbeesetti / nextplayer

An Android native video player
GNU General Public License v3.0
1.8k stars 79 forks source link

[BUG] Cannot play an incomplete download MKV file with HEVC stream #1098

Open h0tk3y opened 1 month ago

h0tk3y commented 1 month ago

Describe the bug Upon an attempt to open an MKV file that is still being downloaded, Next Player shows an error and fails to play the file.

Screenshot_20240906_191642_Next Player

The MX Player and the built-in Samsung Gallery / Video players manage to play the downloaded prefix of the file.

The media information of the file as shown in the properties dialog from the Next Player's file browser: Screenshot_20240906_193151_Next Player

To Reproduce Steps to reproduce the behavior:

  1. Start downloading a large file sequentially
  2. While the download is incomplete but a big part of the file is downloaded, try to open the file in Next Player either via the in-app file browser or in a file manager app

Expected behavior The start of the file is played, until the incomplete part is encountered.

Device info (please complete the following information):

Additional context Add any other context about the problem here.

h0tk3y commented 1 month ago

I can look for more specific logs if pointed to what to look for, like a tag to filter the logcat.