Check audio settings for that recording from the osd menu...
Probably you changed audio stream to something else..
Check audio settings for that recording from the osd menu...
Probably you changed audio stream to something else..
AML S905 does not have the horsepower to do "proper" transcoding. AML has a GPU encoder but no driver for it because AML does not care
remuxing ofc is easily possible, so *.ts -> *.mkv etc is no problem
On rpi it just works for few minutes then it just stops
when it works it works fine no buffering or any issues
No, it's not an rpi, it's a tv box based on the amlogic S905D
You can probably transcode too but don't use the codecs profiles cause I m sure CVH told us they are broken on some post few months ago..
Use FFmpeg pipe options..
Just create new streaming profile choose mpeg-ts spawn/ built-in and add your ffmpeg command in their or by a script..
Display MoreYes.
I also tried switching the HDMI cable to the other port, as well as creating an EDID file for both monitors.
Please understand how much I appreciate the help. I've never dug this deep into LE so I'm ignorant of the details but it's nice to learn more about the system.
Without this change, the screen stays black. With this change, it shows the LE version and hangs. So, it is one step closer to working.
This is the bottom of the config.txt
I don t own a Rpi 4 yet but your issue might easily be an unsupported resolution the rpi is trying to change to on boot as no monitor is detected...can you try to whitelist some commonly used resolutions like 1920x1080 60hz in the video settings and try to reboot again
If you r using rpi that wont work..just delete that libx264 profile..you are supposed to create new codec profile with omx_h264..then set that when you create new transcoding profile but even that is not working..only audio is transcoded and no video..I m sure it used to work before with older builds..As I understand it..Tvheadend uses it s own ffmpeg build and something is broken there as Omx h264 works on Ffmpeg provided with Libreelec
Sorry, I was referring to (what I think is) real time transcoding of live tv (stream profiles/codec profile) in order to serve lower bitrate content to mobile devices connected to cellular data. I never managed to configure that in tvheadend, I'm not sure it's possible at all on a tv box (e.g. the "webtv-h264" codec profile is disabled and cannot be enabled).
Not sure what you mean by disabled but the last time I looked it was a bit confusing..I am on Rpi but codecs available for transcoding in tvheadend for rpi don't work with Rpi..like libx264 encoder...I only managed to get OMx to work but not with stream transcoding....just with recordings and that was not through codec profiles but through ffmpeg command..so something is broken or Im doing something wrong..
Regarding transcoding I did manage to make it work with tvheadend stream urls and ffmpeg pipe but rpi struggles so I gave up...was more for experimenting then that I need transcoding..
I can confirm that /storage/.config/autostart.sh does not run when the Pi is started before the TV is powered up.
Is there a way to launch a script that is not blocked if LE doesn't find a monitor? Also, if LE is going to block on a no monitor event, how come it doesn't keep trying to discover a monitor every few seconds and then launch the platform if it discovers one?
You need to pass the monitor EDID file to your RPi...
try this
ssh
ssh
take the edid.dat from storage and place it in the flash directory
then add this line to config.txt
ssh
restart
Thank you, Mario. That would be brilliant if there were a running process that could execute my script. I'm trying to find that process. This is the root of my question.
You can always start script with autostart.sh..until while loop breaks and monitor is on startup will be paused as script loop will be running..not tested tough..that was just an idea..
My advice = leave RPi on 24hrs
Or have a look how to create EDID for Rpi..that might help
Here is what it looks like when it works.
For various reasons, it takes my TV 15 seconds to turn on and LE thinks it is not connected to a monitor until that time. At the moment, I have to unplug the Pi4 and then reconnect when the TV turns on before starting the system or it won't come up. It's hugely annoying.
Here is what it looks like when it works.
CodeHTPC1:~/.config # tvservice -s state 0x120009 [HDMI CEA (95) RGB lim 16:9], 3840x2160 @ 30.00Hz, progressive
Is there a script that won't get blocked waiting for monitor discovery? Even better, is there a way to have it retry every few seconds until it finds something?
Don't think there are ready made scripts but you can always create something...perhaps a while loop comes to mind..
something like
Please, tell me more (the only stream profile I ever managed to use is "pass")
A way to do it is to create your own small script...not sure how your setup is but you might need to create 2 profiles...1 for your MPEG2 streams that will run the script to transcode,comskip or whatever you want to do with your recordings and another for your h264 streams to leave as is...
If it was for my personal usage I will go another way...just leave 1 profile for all recordings and set script to do what you want...using ffprobe...ex if video_codec = MPEG-2 video then continue script and run ffmpeg command else exit script..
Hi, from the time I tried libreelec 10 I am facing an issue ,every time I start libreelec it crashes , appears as an error argon one fan and buttons stopped working on the logo screen and after it restarts and work normally, any way to fix that problem
so bluetooth is currently broken on libreelc to transfer files from android device to libreelec and i want to transfer files from libreelec to android device by some way and not the opposite,plus bluetooth transfers are very slow
I know what you mean..I have no idea how you can do that offline without network then besides an sd card or root your phone so you can find an apk like "SD card as USB drive" that enables the beloved usb mass storage device we had before as standard on old phones..saying that old phones should still work fine when you connect...
Otherwise you ll have to go online..then you ll have many options
Is there any way that I can transfer files from libreelec (raspberry pi 4b) to a mobiles devices like a smartphone through mtp drivers or other ways offline? I am not interested online but only offline ways.
Thank you all a lot for your time
What you mean by offline?Is it cable only what you want?
Did you try bluetooth?
I installed Watchdog and played with settings. It doesn't clean library as described but it does after restarting player, so it helps, it does a job.
This weekend I will try to find option to send command to players from server (WHS 2011) or from PC (WIN7, 8 or 10) and also try to create service following
Might need a restart on first install to start services..
Mario, I have to do it in one of players/clients, right?
yes running Libreelec
Just in case you missed my other post..if you manage to do it this way you can do the job from 1 box across all your boxes..
Option 2 is you install Watchdog addon from Kodi repo..it's listed as a service addon..it does the job same way for you and it's ready made..you don t need any scripts..slight problem is that you will have to install this addon on every box..only takes few seconds anyway..you don t even have to set it up as it watches your video library paths automatically..
I have no idea with batch files..that script you run as service with libreelec and it monitors your movie folder...
so let me try to explain
create directory
create a file in
with the below code and name it inotify.sh , could be anywhere under storage this is just an example
#!/bin/sh
monitor() {
/storage/.kodi/addons/virtual.system-tools/bin/inotifywait -m -r -e close_write,delete --format "%e %T %w%f" --fromfile /storage/.config/scripts/paths --timefmt "%d_%b_%Y_%T_%Z" --exclude '(\.jpg|\.nfo|\.edl|\.removing|\.logo.txt)' |
while read event; do
if [[ $event = "CLOSE_WRITE,CLOSE" ]]; then
kodi-send --host=192.168.1.106 --port=8080 --action="UpdateLibrary"
kodi-send --host=192.168.1.107 --port=8080 --action="UpdateLibrary"
kodi-send --host=192.168.1.108 --port=8080 --action="UpdateLibrary"
kodi-send --host=192.168.1.109 --port=8080 --action="UpdateLibrary"
elif [[ $event = "DELETE" ]]; then
kodi-send --host=192.168.1.106 --port=8080 --action="CleanLibrary"
kodi-send --host=192.168.1.107 --port=8080 --action="CleanLibrary"
kodi-send --host=192.168.1.108 --port=8080 --action="CleanLibrary"
kodi-send --host=192.168.1.109 --port=8080 --action="CleanLibrary"
fi
done
}
monitor &
Display More
then create another file in same directory /storage/.config/scripts and name it "paths"
in this file put the paths to your movie/shows folder..just one under the other...you can monitor how many folders you want..
as you can see the script above points to this file with the following line --fromfile
contents of paths file example;
Then you need to start inotify.sh on startup either with autostart.sh or service via system.d
Now if your movie folders are on a remote location you might need to mount that path to the box you will be running this script from..
You need to install virtual.system-tools addon from LibreElec Repo for this to work
Also you basically don't need the part
I m using that in my script as my script is much more then just that and has logging..but don t complicate things for now.you can leave as is..still works.