User Tools

Site Tools


doc:appunti:software:kodi_send_packet_failed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:appunti:software:kodi_send_packet_failed [2024/05/08 17:48] – created niccolodoc:appunti:software:kodi_send_packet_failed [2024/05/08 18:06] (current) niccolo
Line 1: Line 1:
 ====== Kodi ERROR: send packet failed: End of file ====== ====== Kodi ERROR: send packet failed: End of file ======
 +
 +I got a very strange problem with some MKV video files ripped from DVD. The files contain one video track and several other audio and subtitle tracks.
 +
 +During playback, at about 00:02:00, the video got stuck and only the audio continued to play. Into the kodi.log we can read the following error message:
  
 <file> <file>
Line 5: Line 9:
 T:472      INFO <general>: Skipped 511 duplicate messages.. T:472      INFO <general>: Skipped 511 duplicate messages..
 </file> </file>
 +
 +I started the playback again and pressed the **Ctrl+Shift+O** to display the **[[https://kodi.wiki/view/Player_process_info#Player_Debug_Info|Player Debug Info]]**. I turned out that near the critical time point the **video queue saturation** parameter (//vq//) drops to zero and does not recover.
 +
 +Playing the same file in a GNU/Linux computer using **mplayer**, we receive the followgin error message:
 +
 +<code>
 +Possibly bad interleaving detected.
 +Use -ni option if this causes playback issues and avoid or fix the program that created the file.
 +</code>
 +
 +This was quite surprising because the encoding and muxing were done with **ffmpeg**.
 +
 +Fortunately enugh it was possibile to fix the file files without re-encoding them. It was necessary to extract all the streams as single files and then re-mux them all together.
 +
 +
  
doc/appunti/software/kodi_send_packet_failed.1715183320.txt.gz · Last modified: 2024/05/08 17:48 by niccolo