Forum
[PROBLEM] Video freeze playing a playlist of .mp4 files - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [PROBLEM] Video freeze playing a playlist of .mp4 files (/thread-3887.html)



Video freeze playing a playlist of .mp4 files - Halfbrain - 1st Mar, 2017 05:37 AM

I get a Video freeze after some time (more than 24h) at exactly the same position if I have a specific .mp4 inside my folder which is played as a playlist.

I also recognized that my RAM somehow shrinks.

Is there a known issue? Any hints considering configuration or video formats?

Im using xbian release that was the latest at 15. January.


RE: Video freeze playing a playlist of .mp4 files - Nachteule - 1st Mar, 2017 06:49 AM

More information please.

I suppose your mp4 file is broken


RE: Video freeze playing a playlist of .mp4 files - Halfbrain - 2nd Mar, 2017 04:53 AM

(1st Mar, 2017 06:49 AM)Nachteule Wrote:  More information please.

I suppose your mp4 file is broken

I generated a python script using PlayMedia(media[,isdir][,1],[playoffset=xx]) from http://kodi.wiki/view/list_of_built-in_functions which starts playing the videos inside the folder forever.
There are actually 3 short (1-2min long) mp4-files inside this folder. The System is able to play them all several times one after another. But after some Hours I get a freeze at a specific position of one video. And it's always this video and the same position where the freeze happens. Kodi doens't crash since am able to exit video to kodi dashboard. The same Video was played several Times before without any freeze. I also noticed while that my RAM shrinks at a Rate of approx 10MB/25min while I was loggin RAM status.

Freeze only occurs if this one video is inside the folder otherwhise i never get a freeze.


RE: Video freeze playing a playlist of .mp4 files - Nachteule - 2nd Mar, 2017 05:01 AM

Ah, ok. A little bit more clear now

Sounds like mem leaks in Kodi or again, your mp4 file is broken. Already looked in Kodi log?


RE: Video freeze playing a playlist of .mp4 files - Halfbrain - 2nd Mar, 2017 05:09 AM

(2nd Mar, 2017 05:01 AM)Nachteule Wrote:  Ah, ok. A little bit more clear now

Sounds like mem leaks in Kodi or again, your mp4 file is broken. Already looked in Kodi log?

Kodi log, no. Where can i find it?


RE: Video freeze playing a playlist of .mp4 files - Nachteule - 2nd Mar, 2017 05:10 AM

/home/xbian/.kodi/temp/kodi.log


RE: Video freeze playing a playlist of .mp4 files - Halfbrain - 2nd Mar, 2017 05:26 AM

(2nd Mar, 2017 05:10 AM)Nachteule Wrote:  /home/xbian/.kodi/temp/kodi.log

Thanks a lot will start a new test series and wait for the freeze and then watch the log. Until now no error when playing the problem video. I only get "Get- failed to get Stream" and "Got MSGQ_ABORT or MSGQ_IS_ERROR return true" when playing the other two videos.

(2nd Mar, 2017 05:10 AM)Nachteule Wrote:  /home/xbian/.kodi/temp/kodi.log

Thanks a lot will start a new test series and wait for the freeze and then watch the log. Until now no error when playing the problem video. I only get "Get- failed to get Stream" and "Got MSGQ_ABORT or MSGQ_IS_ERROR return true" when playing the other two videos.

(2nd Mar, 2017 05:10 AM)Nachteule Wrote:  /home/xbian/.kodi/temp/kodi.log

freeze happend right after i was writing to you. log from where the video was opened:

Code:
19:24:21 76771.406250 T:1953284096  NOTICE: DVDPlayer: Opening: /home/xbian/Video/01_Seerestaurant_Pauli_dirty.mp4
19:24:21 76771.406250 T:1779758000  NOTICE: Creating InputStream
19:24:21 76771.406250 T:1779758000  NOTICE: Creating Demuxer
19:24:21 76771.531250 T:1779758000  NOTICE: Opening stream: 0 source: 256
19:24:22 76771.539062 T:1779758000  NOTICE: Creating video codec with codec id: 28
19:24:22 76771.546875 T:1779758000  NOTICE: Creating video thread
19:24:22 76771.546875 T:1779758000  NOTICE: Opening stream: 1 source: 256
19:24:22 76771.546875 T:1779758000  NOTICE: Finding audio codec for: 86018
19:24:22 76771.546875 T:1586492336  NOTICE: running thread: video_thread
19:24:22 76771.554688 T:1779758000  NOTICE: Creating audio thread
19:24:22 76771.554688 T:1660220336  NOTICE: running thread: CDVDPlayerAudio::Process()
19:24:22 76771.554688 T:1660220336  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
19:24:22 76771.562500 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 4 packets of duration 21
19:24:22 76771.625000 T:1660220336  NOTICE: Previous line repeats 2 times.
19:24:22 76771.625000 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 21
19:24:22 76771.718750 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:24:31 76781.273438 T:1779758000  NOTICE: Previous line repeats 1 times.
19:24:31 76781.273438 T:1779758000   ERROR: CDVDMsgGeneralSynchronize - timeout
19:24:38 76787.703125 T:1586492336   ERROR: Previous line repeats 17 times.
19:24:38 76787.703125 T:1586492336  NOTICE:  fps: 50.000000, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
19:24:38 76787.703125 T:1586492336  NOTICE: Display resolution ADJUST : 1280x800 (1152x720) @ 60.00 - Full Screen (28) (weight: 0.200)
19:24:38 76787.773438 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:24:46 76795.679688 T:1660220336  NOTICE: Previous line repeats 1 times.
19:24:46 76795.679688 T:1660220336   ERROR: CDVDMsgGeneralSynchronize - timeout
19:24:47 76796.718750 T:1660220336   ERROR: Previous line repeats 17 times.
19:24:47 76796.718750 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:24:47 76796.773438 T:1660220336  NOTICE: Previous line repeats 5 times.
19:24:47 76796.773438 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21
19:24:54 76804.531250 T:1660220336   ERROR: CDVDMsgGeneralSynchronize - timeout
19:24:56 76805.570312 T:1660220336   ERROR: Previous line repeats 17 times.
19:24:56 76805.570312 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:24:56 76805.617188 T:1660220336  NOTICE: Previous line repeats 5 times.
19:24:56 76805.617188 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21
19:25:03 76813.375000 T:1660220336   ERROR: CDVDMsgGeneralSynchronize - timeout
19:25:04 76814.421875 T:1660220336   ERROR: Previous line repeats 17 times.
19:25:04 76814.421875 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:25:04 76814.468750 T:1660220336  NOTICE: Previous line repeats 5 times.
19:25:04 76814.468750 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21
19:25:12 76822.226562 T:1660220336   ERROR: CDVDMsgGeneralSynchronize - timeout
19:25:13 76823.265625 T:1660220336   ERROR: Previous line repeats 17 times.
19:25:13 76823.265625 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:25:13 76823.320312 T:1660220336  NOTICE: Previous line repeats 5 times.
19:25:13 76823.320312 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21
19:25:21 76831.078125 T:1660220336   ERROR: CDVDMsgGeneralSynchronize - timeout
19:25:22 76832.117188 T:1660220336   ERROR: Previous line repeats 17 times.
19:25:22 76832.117188 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:25:22 76832.171875 T:1660220336  NOTICE: Previous line repeats 5 times.
19:25:22 76832.171875 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21
19:25:30 76839.929688 T:1779758000   ERROR: CDVDMsgGeneralSynchronize - timeout
19:25:31 76840.968750 T:1660220336   ERROR: Previous line repeats 17 times.
19:25:31 76840.968750 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 21
19:25:31 76841.015625 T:1660220336  NOTICE: Previous line repeats 5 times.
19:25:31 76841.015625 T:1660220336  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 21

freeze happens right a the beginning of this video. If you have any clues let me know Wink

forget to mention: No RAM Issue this time when the error occured. Maybe RAM was only a sideeffect the other times I had the error...?