I delete the paired and trusted device listed as "AR", the console comes up for a few seconds and then it goes back to the Kodi main screen, I then go to Bluetooth delete it a second time along with the new addition "Am", it again shows the console for a few seconds and the goes back to the Kodi main screen, I then go to Bluetooth again and click on the device (that is still there) and called "Am" and click connect and the remote then works perfectly... Until I restart...
I will again log into the LibreELEC Pi4 machine via SSH and again run pastekodi and drop that URL as well in a little while.
The new result after connecting the remote (which now works) is:
If I may ask how are you fixing it with a keyboard and mouse?
Further testing and it looks like issue is with my streams and even recordings...ffmpeg is showing many errors while transcoding both live tv and recordings..strange thing is these corrupt segments are not teally visible when watching live tv and not even on recordings...my reception is a bit on the low side tough..about 43%..
It does work now but same issue..thanks for your help.
Sorry man ... my bad , forgot to include that lib in the zip file.
this link is updated. Just tested in a fresh LibreELEC 9.26 running in RPi3:
thanks i ll try tonight as im at work now..i ll let you know if it works
About your error:
is strange, I use libreelec 9.2.6 and my ffmpeg works ok.
libdrm.so.2 is in /usr/lib/libdrm.so.2
Have you tried executing ffmpeg from a ssh shell ?
I do my tests with vlc in PC to connect to tvheadend in my Rpi trough a m3u list got from http://tvheadend_ip_address:9981/playlist/channels
This transcoding, takes some seconds to start, after starting 5 to 10s after it stops for 2 seconds (buffering), but then it plays all the time without issues, providing I have a good network connection. of course.
There is also a nice free tvheadend client for iOS devices that works great, and it is easy to select a codec profile from it.
No idea what s going on then..
I have no /usr/lib/libdrm.so.2 on rpi3 le9.2.6
I don t have it even on my rpi2 I use as frontened also with 9.2.6
This is very strange.
I use the exact same approach with a RPi3 and a RPi4, but I have none of those issues.
As I've posted in another thread, this is my ffmpeg command line,Code
The major diferences are that I'm not forcing the frame rate nor the pixel format and I use a different ffmpeg version.
I use a ffmpeg version compiled directly in my RPi3 from the official ffmpeg sources.
If you want to test with it, just download from this link:
Install the add-on directly from libreelec's kodi interface.
ffmpeg path is:
Note: Also take a look into gpu_mem in /flash/config.txt (i'm using 256 in my RPi3, and 512 imnRPi4)
Note: It is a personal add-on that I've not yet released, which includes ffmpeg to help nginx to serve as a transcode server
(if you are interested in knowing more, just read the txt file inside the add-on, or take a look at http://RPi_ip_address:9996/cgi-bin/movies.cgi?/storage after install - user/pass)
Another thing: What client are you using to test the stream ?
Thanks I will try that soon..
I used vlc and kodi on windows with iptv simple client and libreelec iptv simple client
I m still on Libreelec 9 not 10
I'm using 'mpegts spawn profile' in tvheadend and adding that command in spawn settings command line..you can add that in a script and add path to script in spawn settings command line..
I assume that is using ffmpeg from ffmpeg-tools addon as it doesn't work without the addon installed..so same as adding full path..
To play channels I made a playlistCode
transcoding frofile enabled for user in TvHeadend settings..
Been watching mem and cpu trough Htop while transcoding and cpu doesn't exceed 75%
This is free -m during a working transcodeCode
Transcoding is defo working..as an mpeg2 stream with mp2 audio is transcoded to h264/aac..problem is it doesn t last long...all I get from tvheadend is unsubscibing from channel and a sigkill from ffmpeg.
Not sure where to find ffmpegx?
I don t think it s a memory issueCode
Memory usage is low...cpu usage is high at ffmpeg but not bad..
I tried all 4 available ffmpeg versions for rpi 3 from repo..so either it s another issue or they all have same issue..they all have omx support..
Tonight I tried libx264 from another built...to test and same issue..and altough it was not built for rpi it s still watchable...cpu full blast tough..still stops after a while
I've tried nextpvr in my RPi4 with libreelec.
As i have docker installed is wuite easy, just need to add privileges and devi /dev/dvb/adapter0, and adjust directories.
But ...... NEXTPVR fails the transcoding in RPI devices.
AND ... does not support encrypted channels.
Tvheadend, even with not much updates in the past years is still the best pvr backend.
TRANSCODING WITH TVHEADEND AND FFMPEG
About some issues, some people asked some threads above, regarding transcoding with tvheadend.
I use tvheadend nighlty build (4.3 beta) which support spawning.
I'm using ffmpeg compiled with omx installed in libreelec.
for reference I share my ffmpeg transcoding for tvheanded.
I call it "transcode-omx". It uses about 60% of RPi4 total performance:Code
Just add-it "configuration/ stream" in tvheaded webui.
some additional tweaks I use for it in the attached picture.
This configuration summary:
- codec omx from Raspberry Pi hardware
- output video 640x360,
- ar 16:9
- video bitrate 512 kbps
- audio bitrate 128 kbps
- audio resync (to handle some drop frames that could happen during reception of channels).
This profile is great for watching tv channels in a rmeote smartphone connected to tvheadend running in libreelec.
This profile can also be applied to record programmes with lower bitrates
Gonna try your command...you have some code I never tryed before..
what is this for?
Still stopping on my setup..max it plays is 10 minutes...are you using FFMPEG addon from Libreelec repo?
I know ppl had it working at RPi3 and Tvh, so it may be a problem at the cmd you are using.
Nothing obviouse if you ask me. I would cut down the commandline as much as possible, maybe some command combination creates problems.
I tryed so many commands that I m running out of ideas...problem is that even with the simplest of commands with just copy and no transcoding...stream just stops..
Maybe someone comes up with a working command so I can hopefully know if issue is with command or something else..
So I decided to kill some time playing with transcoding and I'm getting frustrated..
Im not even sure if this is possible..
I m trying to transcode an mpeg2 stream to h264..
So far I only managed to get it working not longer then 10 minutes after that stream just drops...
While it's working cpu is averaging around 50% so no big deal I suppose...
Output is h264/aac as command...no buffers or glitches..
Command i m using right now is this tough I tryed loads and loads of different versions...Code
Anyone got this working?Or I m asking too much from my little computer
Brilliant, you were right.
I went to 'toggle audio stream' and that solved it.
I forgot that was there for individual things.
I was thinking it was for the whole thing.
Every day is a school day.
Thanks loads for that.
I am looking forward to watching the rest of the recording, but more importantly, I know what to do if I do the same again in the future.
Thank you for this, I hadn't thought of that.
I sort of forget that this is now just data that I can remove and stuff.
I shall remember this for the future.
It would have been a great way to narrow it down.
Probably that was some visually impaired audio stream or something to the liking
And that s not only for individual things...if you set it to make default for all media ,everything will use that setting
what are you using to be spawned ?
if using ffmpeg with logs activated, you can inspect the journal to understand why it stopped
Hi..just using a tiny script 1 liner with ffmpeg input pipe:0 output pipe:1
Anyway I test it it always stops...sometimes after 10 min and sometimes less...while it's playing it's fine...no buffering or anything..
Log is here maybe you have an idea what's failing..I m suspecting it's a cpu issue...tried everything in ffmpeg command..setting cpu threads,buffer etc..