omxplayer icon indicating copy to clipboard operation
omxplayer copied to clipboard

OMXPLAYER error tvservice-client: Failed to connect to TV service

Open carlosfelipe29 opened this issue 5 years ago • 1 comments

Hi, could someone help me to solve the issue:

tvservice-client: Failed to connect to TV service -1

that appears when a raspberryPi play several audio files, it seems to use 2 channels but the htop process show several threads working , as omxplayer launched for 1 play several process (pid)

I expanded the gpu memory to 512 , but I still keep the same problem.

I use Python to play with omxplayer, but the exception never catch up the error, maybe it is hardware.

Any ideas to try.

thank you

carlosfelipe29 avatar Feb 24 '20 01:02 carlosfelipe29

Maybe you are running too many omxplayer instances? Each omxplayer instance starts several threads as there are a thread for audio/video/subtitle Have a look at the raspberrypi / firmware github issue 441 and 373 which mention your issue. Don't know if nowadays the 4 is still the limit.

jehutting avatar Mar 01 '20 12:03 jehutting