You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up a simple watchdog that restarts the player process if network activity is low. This is just a temporary solution, because the restart results in 10 sec of black screen. The playback is publicly visible, so any black screens or lags are not desired.
When the playback hangs, the video on screen freezes, but stats on command line continue normally, except for the strange values (as posted in my inital post).
Hello,
I am using omxplayer to play RTMP stream to HDMI TV. It is supposed to play the stream for weeks or even months without stopping, but after a day the playback stopped and the image on screen looked like the video was paused. Values in stats were strange too. Normaly stats look like this:
M:233595403 V: 0.62s 0k/ 4800k A: 0.62 0.43s/ 6.07s Cv: 0k Ca: 0k
But after the playback stopped, the stats looked like this:
M:15673529318 V:4196039.50s 4800k/ 4800k A:4196037.00 4196036.50s/ 6.07s Cv: 10236k Ca: 1607k M:15673699136 V:4196039.00s 4800k/ 4800k A:4196037.00 4196036.50s/ 6.07s Cv: 10236k Ca: 1607k M:15673870192 V:4196039.00s 4800k/ 4800k A:4196036.50 4196036.50s/ 6.07s Cv: 10236k Ca: 1607k M:15674038372 V:4196038.50s 4800k/ 4800k A:4196036.50 4196036.00s/ 6.07s Cv: 10236k Ca: 1607k M:15674207351 V:4196038.50s 4800k/ 4800k A:4196036.50 4196036.00s/ 6.07s Cv: 10236k Ca: 1607k M:15674378944 V:4196038.50s 4800k/ 4800k A:4196036.00 4196036.00s/ 6.07s Cv: 10236k Ca: 1607k M:15674549517 V:4196038.00s 4800k/ 4800k A:4196036.00 4196035.50s/ 6.07s Cv: 10236k Ca: 1607k M:15674719479 V:4196038.00s 4800k/ 4800k A:4196036.00 4196035.50s/ 6.07s Cv: 10236k Ca: 1607k M:15674888066 V:4196038.00s 4800k/ 4800k A:4196035.50 4196035.50s/ 6.07s Cv: 10236k Ca: 1607k M:15675057536 V:4196037.50s 4800k/ 4800k A:4196035.50 4196035.00s/ 6.07s Cv: 10236k Ca: 1607k M:15675227744 V:4196037.50s 4800k/ 4800k A:4196035.50 4196035.00s/ 6.07s Cv: 10236k Ca: 1607k M:15675396418 V:4196037.50s 4800k/ 4800k A:4196035.00 4196035.00s/ 6.07s Cv: 10236k Ca: 1607k M:15675565314 V:4196037.00s 4800k/ 4800k A:4196035.00 4196034.50s/ 6.07s Cv: 10236k Ca: 1607k
How can I play the stream for weeks without stopping?
My version of omxplayer:
omxplayer - Commandline multimedia player for the Raspberry Pi
Build date: Sun, 11 Mar 2018 11:37:45 +0000
Version : 2ee17b2 [master]
Repository: https://github.com/popcornmix/omxplayer.git
Kernel version is 4.9.59-v7+
Omxplayer command:
omxplayer --adev hdmi --nodeinterlace --stats --no-osd --no-keys --live --timeout 5s rtmp://......
Thank you
The text was updated successfully, but these errors were encountered: