vincelwt / RaspberryCast

:tv: Transform your Raspberry Pi into a streaming device. Videos can be sent from mobile devices or computers (Chrome extension).
MIT License
868 stars 139 forks source link

playback of mp4 suddenly stops #84

Open rolero opened 5 years ago

rolero commented 5 years ago

On Pi3 the playback suddenly stop and Raspberry is ready screen suddenly pops up again. I tried several MP4 files and it happens every-time again. If I load the same mp4 again it seems it happens later. I would almost say there is some lag issue.

No log entry:

10-15 15:13:12 - DEBUG - Running state as been asked : 0
10-15 15:13:13 - DEBUG - Received URL to cast: https://www4088.playercdn.net/187/0/Y0rpDgWuJDiCC3RIGCrhIw/1539637855/180811/H5pQ4UO6HQGLxNo.mp4
10-15 15:13:13 - DEBUG - No subtitles for this stream
10-15 15:13:14 - INFO - Extracting source video URL...
10-15 15:13:14 - DEBUG - Parsing source url for https://www4088.playercdn.net/187/0/Y0rpDgWuJDiCC3RIGCrhIw/1539637855/180811/H5pQ4UO6HQGLxNo.mp4 with subs :False
10-15 15:13:14 - DEBUG - Direct video URL, no need to use youtube-dl.
10-15 15:13:14 - DEBUG - Full video URL fetched.
10-15 15:13:14 - INFO - Starting OMXPlayer now.
10-15 15:13:14 - INFO - Attempting to read resolution from configuration file.
10-15 15:15:00 - INFO - Playlist empty, skipping.
10-15 15:19:45 - DEBUG - Running state as been asked : 0
10-15 15:19:47 - DEBUG - Received URL to cast: https://www4088.playercdn.net/187/0/Y0rpDgWuJDiCC3RIGCrhIw/1539637855/180811/H5pQ4UO6HQGLxNo.mp4
10-15 15:19:47 - DEBUG - No subtitles for this stream
10-15 15:19:47 - INFO - Extracting source video URL...
10-15 15:19:47 - DEBUG - Parsing source url for https://www4088.playercdn.net/187/0/Y0rpDgWuJDiCC3RIGCrhIw/1539637855/180811/H5pQ4UO6HQGLxNo.mp4 with subs :False
10-15 15:19:47 - DEBUG - Direct video URL, no need to use youtube-dl.
10-15 15:19:47 - DEBUG - Full video URL fetched.
10-15 15:19:47 - INFO - Starting OMXPlayer now.
DanielGlaas commented 4 years ago

The presented url in the example is not valid any more. Can you reproduce this issue with an now working url and the current code version?