Posts by VLouis

    Hi,

    I have 3 RPi3B's, all with IR receiver connected to GPIO pins, and old HP Media center remote (RC6 protocol as MCE remote).

    I'm using some buttons remapped, the "Power" to send the specific "Power" IR code for my TV (GPIO IR Diode), "Pause" remapped to "Stop", and the "subtitle" remapped to "PlayerProcessInfo" in case of playing media and to "ContextMenu" for anything else. And all is done using this remote.xml file in userdata\keymaps:

    <?xml version="1.0" encoding="UTF-8"?>

    <keymap>

    <global>

    <remote>

    <pause>Stop</pause>

    <power>System.Exec("/storage/.kodi/userdata/TV_Pwr.sh")</power>

    <subtitle>ContextMenu</subtitle>

    </remote>

    </global>

    <FullscreenVideo>

    <remote>

    <subtitle>PlayerProcessInfo</subtitle>

    </remote>

    </FullscreenVideo>

    </keymap>

    The "TV_Pwr.sh" is for sending to Kodi a player-stop command (kodi-send --action="Stop") and send the IR code for TV (ir-ctl -S nec:0x408 -S nec:0x408 -S nec:0x408 -S nec:0x408 -S nec:0x408 for my LG).

    If your remote codes is recognized (as standard protocol: nec), did you tried to use only your remote.xml (...<one>seek(-15)</one>...) without anything else?

    I've upgraded two Raspi4 from 9.2.8 to 10.0.4. One works just perfectly fine but the other one has some funny issue. After playing a file for quite some time (>30 minutes at least) the video somehow gets out of sync, it stutters for a short moment, then plays way too fast to catch up with the sound to stutter again and so on. This happens until playback is stopped. When restarting the video from the previous position, everything is fine again for some time before the issue comes up again. This happens for different formats, for example mk4 or ts streams so I would guess that this is not file related but some LE/Kodi issue.

    Is there any setting I could check or could the Raspi be damaged?

    I had too some strange audio-video desync...

    At system display settings, try to change the display resolution, use same resolution with another frequency, ex. 1920x1080p 60Hz change to 1920x1080p 50Hz. As you have two RPi's, both display have same settings?

    At least, that was the solution in my case. I think sometimes the player unable to correctly handle the "conversion" of movie resolution-FPS to display's FPS.

    This is not quite correct, the kernel update PR (which fixes glitches on all RPis and "no signal with some TVs on RPi4) and an ffmpeg patch update (which can potentially fix playback issues) were merged after 10.95.0 was built

    https://github.com/LibreELEC/LibreELEC.tv/pull/7426

    https://github.com/LibreELEC/LibreELEC.tv/pull/7410

    so long,

    Hias

    Hi,

    Thank you for informations, that ffmpeg patch could be the difference.

    I had picture issues with theadend stream, h264, fullHD and the "famous" deinterlace...

    Works far better with the LE11 nightly (LibreELEC-RPi2.arm-11.0-nightly-20230129, device: RPi3B+).

    Well it is a Raspberry Pi 3B, if i am not mistaken it is not fully supported by the latest version. There may be some incompatibilities. Anway, it is no big deal. I will just turn it on after i turn on the tv :)

    I have 2 RPi3B and 1 RPi3B+, all have the edid data saved and didn't seen any issue because that. I think that edid data is used only at startup, instead to be read thru HDMI cable. And probably starting with the LE10, is the only way the RPi-LE to "know" what display have connected even if the display is switched off.

    And I'm waiting too, for to be the RPi4 available again on the market, without waiting time or too high price.

    Can anybody confirm that this release actually reads the config.txt. Because even when i add the line "hdmi_force_hotplug=1", i can't get any output on my tv if i turn the tv on "after" the pi. That wasn't the case before. After adding this line, i could turn the tv on anytime (before or after the pi is on) and could get tv output. Now i have to first turn the TV on and then plug in the pi. Which makes me think that this version ignores the lines added to config.txt.

    Hi,

    Start with TV on, SSH to RPi and use the "getedid create" command. That will save your display/TV parameters and will use it at every startup (even if the TV is off). If you want to know more: https://wiki.libreelec.tv/configuration/edid

    Hi, Check if at "System-Libreelec-Connections-Yourconnection-Edit" the "Connect Automatically" is enabled.

    Many times when the network connection is edited, that changing to "off" and need to enabled again.

    I did think of that, and will be trying it, but I don't know if it will work and remember someone saying about clone and touching some file.

    Two things:

    1. For backup (and clone) I'm using the "Win32DiskImager", latest version (1.0.0 - 2017) have option to don't save empty parts. So for cloning, I made a backup (image), then write the image to another card. That is complicated in case of big cards with a lot of data...

    2. I prefer to use small (high speed) SD card for system (LE), and for any other data a big USB-stick. It's a huge advantage, when I need to reinstall the LE and don't need to take care about all other files, downloads, music, video... because is stored in the USB-stick...

    I've decided to upgrade the 64GD micro SD card in the RPi3 I use for TVHeadend to a 128GB card. I know I can clone from a smaller to a larger card but there's something about touching a file to tell the Pi on the next boot that it should expand to fill the space.

    My questions are a) which file and b) how do you touch a file?

    I don't know if the LE able to do something like this, to resize the partition what is mounted and in use. Maybe thru SSH and some linux commands? If I don't mistake, at the first boot is created the "userdata" (Ext4) partition using the available space.

    If you probably already use a PC to clone the card, why don't use a partition tool to resize the partition on the new card? Like "Minitool Partition Wizzard Free" (Windows) or "Gparted" (Linux).

    It sounds so complicated. You guys need to be honest when releasing Generic stable versions. No Nuc , No intel...

    It sounds so complicated.

    It's not complicated, just try to understand how it works...

    The remote commands are received by the hardware (in your case beelink ap34) and processed by the software (LibreElec - Linux).

    The shutdown works, because all is on, the hardware with loaded software... when you want to power up... no software loaded to process that command... And that it's not only for this hardware, it's same for Raspberry and others.

    Even if i send a wake on Lan , this means more skills to do that. And Yatse is no option for me.

    I just want to get working my remote. For sure i can press the power button manually but it is annoying.

    If for you is too hard to learn a bit about your device (wake on lan options), and this is so "annoying", please think about the houndreds and thousands of hours what developers spent to made this Libeelec, free...

    I did a clean install from the nightly and things seem to be working. I haven't yet reinstalled TVHeadend since I only have the one tuner device and its on the RPi3 and I haven't seen the "remote communications server failed to start" message again so I'm suspecting its TVHeadend that's causing it.

    What versions of LE did you tried? Did you tried to change the "Wait for network before starting Kodi" in LibreELEC settings?

    I don't know if what I experienced is the same.... Where I live probably because of old electrical grid, sometime we have 1 second power down. Sometimes 1-2 per day, sometimes without a single power down in a month. So, I had some kind of network issues after the short power down. Mostly with TVheadend, but in that case the weather app was not functional too. After a reboot always was functional again. That was when I used the LE 10.0.2 (3x RPi3). Tried to switch to Le11 nightly, increased the "wait-for-network" time (from 10 sec. to 120) in LibreElec settings. I think was something when the router wasn't back yet and the LE don't wait enough for network (?). Now I'm using the LE 10.0.3 stable with increased "wait-for-network" and looks like without network issue...

    Just in the case if any of these information useful for you...

    Hi,

    Actually my case is same as yours HDMI and DAC (Hifiberry) RPi3..

    The addon is interesting, I will check it out.

    Nevertheless Did I undersand right that you did not solved the pulseaudio issue at all? Or you at least found what causes the "echo"?

    Anybody else had /resolved the same issue?

    First of all, to be clear, the "Audio Profiles" addon don't have option for simultaneous audio. And if no simultaneous audio... no echo.

    I'm using without pulse-audio, only with the default alsa sound and enabled in the config.txt the hifiberry module. I set the addon to change the sound output to DAC for audio type media (listening music) and to HDMI for video. Also the addon can be set to toggle the sound outputswith a remote button (ex for youtube, never tried...).

    Basically I wanted to be able to listen my favorite internet radio channel using the better quality DAC output, without to be necessary to start the TV, so I reprogrammed a remote button (remote.xml) to start the music, and the addon automatically switch the sound output to DAC. :cool:

    Not sure if this is pulseaudio problem or HW is just too weak to send audio to 2 sinks.. (RPi3)


    anyone knows?

    I had almost same "result" when tried to get working the HDMI and DAC sound on my RPi3.

    The "echo" problem you have probably because the hdmi and the bluetooth have different delay in sound processing, I had too when tried to use same setup. Because I didn't need simultaneous audio (HDMI for video, DAC for music/net-radio), I dropped the pulse-audio and using the "Audio profiles" addon. That able to auto switch the audio output for different types of media.

    Currently it's the case, that if I connect a bluetooth speaker. HDMI disappear and only work again if I reset the audiosettings and restart reboot libreelec.

    Because the bluetooth connection starts the pulseaudio?

    I you have patience (a lot!), first read here: https://wiki.libreelec.tv/configuration/pulseaudio

    If you will be lucky and find a working config (simultaneous audio), put it in the "autostart.sh", to be loaded at every startup.

    Probably will be an "echo" between HDMI and Bluetooth sound (different delay). Another challenge to synchronize them...

    I have the same requirement.

    Not only for tv. My libreelec not only output TV but also Music. I have some bluetooth speaker. I wish to have Music-output on TV and the Bluetooth speaker.

    VLouis
    August 24, 2022 at 1:22 PM

    Never tried with Bluetooth speaker. Once had a working config with simultaneous sound on TV and Speakers (from audio jack), was a delay between outputs and created a strange (annoying) echo... maybe can be resolved that too, but I never had a stable and good sound quality config for simultaneous audio.

    Hi,

    I don't know if my case was same as your... RPi3B, LE 10 or 11, LG TV, and sometimes when I started the TV... no signal...

    In my case, if the RPi restarted when the TV was in stand-by, wasn't detect the TV at HDMI cable.

    The solution was using the "getedid create" command in the SSH terminal when the TV is on (and working with LE :) ). This is save the TV display parameters and on the startup the RPi will use it, and does not try to read it thru HMDI cable.

    And looks like working with RPi4B too:

    HiassofT
    April 25, 2021 at 5:32 PM