Posts by pbo10

    I recorded this RTSP stream as a small file and when playing this in Kodi the audio works perfectly so it doesn't appear to be unsupported codecs.

    I noticed when running the RTSP stream the audio is shown as "[Unknown] - AAC mono - 1 channels (1/1)" but when running the recorded video it's "Undetermined - AAC Stereo - 2 channels [default] (1/1)".

    Does anyone know if it's the same player software used in Kodi for both local files and RTSP network streams? Or is there any other difference that might explain why the audio just doesn't work when it's played back as a network stream?

    Hi

    I posted this over at the Kodi forum but no one has been able to help so I thought I'd try here as well.

    I'm trying to play an RTSP video stream which runs perfectly fine in VLC with video and audio on a couple of laptops I've tried with but in Kodi for some reason I get no audio. To play the stream I've put the RTSP stream URL in a file called "TV PC.strm" which I then open through Kodi and it plays the video but not the audio.

    I've uploaded my full log here:

    hastebin

    Can anyone see what might be the issue. Is there a missing codec in Kodi or Libreelec?

    Thanks

    Hi

    I hope this is the right place for this question, it is to do with using Kodi/Librelec controls, but also a shell script and I'm hoping someone can help. I'm using my remote control through LibreElec to call an external URL to perform other functions such as turning lights on/off which is done through OpenHAB. The way I've done this currently is editing my remote.xml to have the following attached to a button:

    <blue>System.Exec("/storage/LampsToggle.sh")</blue>

    Then in the LampsToggle.sh file I have the following:

    curl --request POST 'http://192.168.1.20/basicui/CMD?Livingroom_Lamps=TOGGLE'

    This works very well and controls all the other devices perfectly by using the TV remote, however I've got a problem where each time I press the button to call one of these functions if I'm watching a video in Kodi it freezes briefly for a split second. This isn't a huge deal but one of the functions I'm using requires repeated presses of a button to change the level of another device and that can be a bit painful as the if you need to press the button 10 times or similar it really interrupts the TV.

    I'm wondering if anyone can suggest an alternative method? I'm not an expert by any means, but I assume the video playback freezes while the URL is opened and that to avoid this I would possibly need to in some way make the URL open in a separate thread so the video playback continues uninterrupted while the URL opens in the background with a lower priority?

    I would appreciate any advice on this if someone can point me in the right direction.

    Thanks