Thanks. I'll keep playing in case it's something else I'm missing in the stream/ffmpeg/TVhead settings. Otherwise hopefully ffmpeg 8.0.1 provides the magic.
Posts by kidhazy
-
-
I can't get ffmpeg to display subtitles from a Free To Air live IPTV stream - and I think it may be ffmpeg version related.
Setup is LibreELEC 12.2.0 on RPi4, running TVHeadend 4.3 and TVHeadend client. FFMPEG-tools addon (12.2.0.1)
If I play a live stream (HLS) via TVHeadend I can't get the subtitles exposed (TvHead is using pipe ffmpeg output) (VLC will display the subtitles from the stream)
No errors - there's just no subtitle track available to choose in player.
I found this ffmpeg defect that appears to match https://trac.ffmpeg.org/ticket/7337
but it says it was fixed 5 months ago, but I can't determine if this fix is in the version currently used in the FFMPEG-Tools addon (which shows ffmpeg v7.1.1)
1) Has anyone got FFMPEG displaying live subtitles from IPTV streams?
2) Is there a way to know if the defect is included in the current ffmpeg version built in FFMPEG-Tools addon?
3) Should I be heading in a different direction to figue out how to get the subtitles exposed?
Thanks.
-
Found them.
/usr/lib/systemd/system/tmp-emulation-retroarch-*.mount
Code
Display More[Unit] Description=Basic Input Output System directory After=systemd-tmpfiles-setup.service DefaultDependencies=no [Mount] What=none Where=/tmp/emulation/bios Type=overlay Options=lowerdir=/usr/share/retroarch/bios,upperdir=/storage/bios,workdir=/storage/.cache/retroarch/bios-workdir [Install] WantedBy=kodi.target -
I'm trying to do a manual rebuild of this environment to work on LibreElec 12 (RPi4), so I picking apart the build with the thinking to make it into a semi-addon.
I'm trying to figure out how the original build auto mounts the overlay mounts to the /tmp/emulation folder:
Codetmpfs 256.0M 0 256.0M 0% /tmp/emulation none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/cores none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/autoconfig none 54.3G 4.9G 49.4G 9% /tmp/emulation/bios none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/coreinfo none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/assets none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/shaders none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/overlay none 54.3G 4.9G 49.4G 9% /tmp/emulation/retroarch/databaseI can see their overlay filesystems, but I'm trying to find how the original build automatically creates these overlay mounts at boot time. Any ideas?
Codetmpfs on /tmp/emulation type tmpfs (rw,relatime,size=262144k) none on /tmp/emulation/retroarch/cores type overlay (rw,relatime,lowerdir=/usr/lib/libretro,upperdir=/storage/.config/retroarch/cores,workdir=/storage/.cache/retroarch/cores-workdir) none on /tmp/emulation/retroarch/autoconfig type overlay (rw,relatime,lowerdir=/usr/share/retroarch/autoconfig,upperdir=/storage/.config/retroarch/autoconfig,workdir=/storage/.cache/retroarch/autoconfig-workdir) none on /tmp/emulation/bios type overlay (rw,relatime,lowerdir=/usr/share/retroarch/bios,upperdir=/storage/bios,workdir=/storage/.cache/retroarch/bios-workdir) none on /tmp/emulation/retroarch/coreinfo type overlay (rw,relatime,lowerdir=/usr/share/retroarch/coreinfo,upperdir=/storage/.config/retroarch/coreinfo,workdir=/storage/.cache/retroarch/coreinfo-workdir) -
I'm using an RPi4 running a custom LibreELEC (ST): RR-20230215-6a5ed68 11.0 build.
The LibreELEC Add-on is v10.80.12. (repository.libreelec.tv v10.80.12)
This no longer exists on https://addons.libreelect.tv
So any attempt to install from the repo or update the repo fails.
I can't figure out how to update/install the LibreELEC addon repo to point to the latest https://addons.libreelec.tv/11.80.2/ARMv8/arm/
Any guidance?
Thanks.
Update:
I think I've worked around the problem by manually updating a copy of the repo addon based on info from here
Code
Codecp -a /usr/share/kodi/addons/repository.libreelec.tv/ /storage/.kodi/addons/ sed -i 's|10.80.12|11.80.2|g' /storage/.kodi/addons/repository.libreelec.tv/addon.xml systemctl restart kodiI guess until I get an updated custom build that's the best way?
-
..
I checked the codec of the snaps and they're YUV420.
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 224x384 [SAR 9:7 DAR 3:4], 472 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default)
...
Looks like it was format issue.
Whilst the original video previews had been converted (about 1 year ago - ffmpeg v4.2.4) from YUV44 using "ffmpeg -i <<input_file>> -pix_fmt yuv420p <<output_file>>" resulting in format:
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 224x384 [SAR 9:7 DAR 3:4], 472 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default)
They wouldn't play.
Reconverting the yuv444 source videos with a new install of ffmpeg v4.4 "ffmpeg -i <<input_file>> -pix_fmt yuv420p <<output_file>>" they now result in format:
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 224x384 [SAR 9:7 DAR 3:4]
This format does play under EmulationStation albeit a bit 'blockier' than the h264 format - but at least it's playing for now (I'll play around with ffmpeg to see how high I can push the resolution)
Edit: Added the qscale option improved the quaility:
"ffmpeg -i <<input_file>> -pix_fmt yuv420p -qscale:v 0 <<output_file>>"
-
Display More
...
I've just got a small issue getting my video snaps working in EmulationStation.
I'm using the mp4 that were working under EmulationStation in RetroELEC.
...
Anyone got video snaps working within ES in this image?
Thanks.
So I got the audio from the Video Snaps (Video Previews) working by RTFM PulseAudio for Video Previews but I still can't see video.
es_settings.cfg is set not to use the OMX player
<bool name="VideoOmxPlayer" value="false" />
What does emulationstation use when not the omx player? (VLC? libvlc)
I checked the codec of the snaps and they're YUV420.Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 224x384 [SAR 9:7 DAR 3:4], 472 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 59.94 tbc (default)
Anyone got any pointers?
Thanks.
-
Hey SupervisedThinking thank you for this image. I had previously had a RetroELEC image all working fine on my RPi4, but the LibreElec image was getting a bit old, so great to be 'up-to-date'.
I've just got a small issue getting my video snaps working in EmulationStation.
I'm using the mp4 that were working under EmulationStation in RetroELEC.
The directory structure I'm using is:
The boxes and wheel/marque all work fine, but the snaps don't play (no video or audio).
I'm using the "es-theme-ComicBook_SE-Wheelart-master" theme which worked in the RetroELEC image.
I've been trying to figure out what drives the videos within EmulationStation for the snaps.
Anyone got video snaps working within ES in this image?
Thanks.
-
Because Gamestarter is not compatible with Kodi 19 Matrix ...
Doh!
-
Am I missing something basic here? I just installed the GameStarter repo as pointed to from GitHub - bite-your-idols/Gamestarter: Retrogaming kodi add-on repository for LibreELEC
(This is on a RPi4 running Libreelec 9.97.1)
The repo installs. When I go to select to install the other components from the GameStarter repo - all it lists is the "Add-on repository" category pointing to the GameStarter repo .
Looking at the repo xml it appears to be correct, and the URLs are up.
XML
Display More<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="repository.gamestarter" name="Gamestarter add-on repository" version="3.0.0" provider-name="Bite Your Idols!"> <extension point="xbmc.addon.repository" name="Gamestarter add-on repository"> <info compressed="true">https://github.com/bite-your-idols/Gamestarter/raw/master/repository.gamestarter/addons.xml</info> <checksum>https://github.com/bite-your-idols/Gamestarter/raw/master/repository.gamestarter/addons.xml.md5</checksum> <datadir zip="true">https://raw.githubusercontent.com/bite-your-idols/Gamestarter/master/repository.gamestarter/</datadir> </extension> <extension point="xbmc.addon.metadata"> <summary>Gamestarter add-on repository</summary> <description lang="en">Gamestarter add-on repository</description> <platform>all</platform> </extension> </addon>Any idea why I'm not seeing the contents from the Repo to install?
Thanks.
-
Thank you - I appreciate the fast response.
-
I've been running LibreELEC-RPi4.arm-9.97.1.img.gz on an early RPi4 (2GB Board b03111) all fine with a USB attached keyboard.
I just bought a new RPi4 (2GB Board b03114) and just swapped the SD card into the new box - but the USB attached keyboard (and wifi) won't work.
I booted up Raspberry Pi OS and the keybaord and wifi both work fine.
I updated the bootloader and firmware whilst in Raspberry Pi OS to the lastest.
Tried to boot again into 9.97.1 and the USB keyboard still doesn't work.
Dropping back to a 9.2.6 Libreelec the USB keyboard works fine.
I also tried a brand-new install of 9.97.1 and it wouldn't recognise the keyboard at the first screen.
What may I be missing in Libreelec 9.97.1 that's stopping the USB keyboard connecting?
(I haven't got easy ethernet access for the RPi yet to try ssh)
Thanks.
-
Running LibreELEC 9.2.6 (on RPi 3 and 4) I find that if I use Airplay via an iPhone to play some music (and 'Allow Volume Control' is enabled in AirPlay Service Settings) I find that when I disconnect from AirPlay that the overall volume in the LibreELEC/Kodi system has been turned down, and I need to go into the Audio Settings when I start a movie and put the volume back up to 0.0 dB.
Is there a setting I'm missing that will allow me to play Airplay and control the volume on my phone, but when Airplay disconnects the volume returns to the previous level (typically 0.0 dB) ?
Thanks.
-
Sorry if I've missed something around the RetroElec builds - but has development slowed/stopped?
I see the latest RPi4 image is 30 April, Generic x86 image mid-July. I see a new Silverlake image on the download site.
I'm using the RPi4 and generic x86 images and just wondering if it's still being worked on/updated.
Thanks. -
I'm also starting to play with the latest Generic build on a laptop that is connect to an external screen via a DisplayPort to HDMI cable.
On boot up I get the RetroELEC boot splash screen on both Laptop and external screens.
It boots up into Kodi, but only the Laptop screen is enabled, and I can't see anywhere in the Kodi System Video settings to change displays.
If I switch to Desktop I get the display on both screens.
....
I tried a different laptop today with an external HDMI monitor. Same issue. Kodi doesn't see external screen, and no sway service available whilst Kodi running. When desktop is active, the display is spanned across the 2 displays.
Anyone able to run the latest generic build on a laptop external display?
Thanks.
-
I'm also starting to play with the latest Generic build on a laptop that is connect to an external screen via a DisplayPort to HDMI cable.
On boot up I get the RetroELEC boot splash screen on both Laptop and external screens.
It boots up into Kodi, but only the Laptop screen is enabled, and I can't see anywhere in the Kodi System Video settings to change displays.
If I switch to Desktop I get the display on both screens.
If I switch to RetroArch the laptop screen is active, but I can activate the external screen by switching to display #2, but it reverts to the laptop screen when I launch a MAME game.
On the generic LibreELEC build I used to use xrandr commands to active the external screen and disable to laptop screen, but xrandr doesn't appear to be in the RetroELEC build.
Is sway meant to replace xrandr ???
I found the sway config and did some reading, but when I was booted into Kodi I couldn't get info on sway
CodeRetroELEC (community): devel-20200716014709 (Generic.x86_64) LibreELECusb:~ # swaymsg -t get_outputs 00:00:00.000 [common/ipc-client.c:67] Unable to connect to /run/sway.sockIs there a set of commands (possibly to put in an autostart.sh) that can control/force external displays in the various environments for Kodi, RetroArch, MAME, Desktop ?
Thanks.
-
Comparing the RPi4 and generic x86 builds I've noticed that when switching between environments (LibreELEC/ES/MAME) on the x86 build it quickly switches to the desktop screen (with the car background) as it transitions between systems.
I don't see that transition on the RPi4 build.
Is that just a quirk on the generic x86 build, or is it something that can be configured to just display blank during the transition?
I notice this when: selecting EmulationStation menu item in LibreELEC; Starting a MAME2003plus game within ES; exiting game/Retroarch and returning to ES. I don't notice it when I leave ES and Start Kodi via the ES menu.
This is version 20200716014709 of the Generic.x86_64 build.
Cheers.
-
Resolved: Found mame2003_plus core here index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/) Manual download and copy worked.
Is it possible to get MAME2003_Plus core installed and working on the x86 Generic build?
I've got a working RetroELEC build on a RPi4 with MAME2003_Plus ROMs and config. I was looking to see if I could easily transfer/build it on to a spare laptop.
I've installed RetroELEC-Generic.x86_64-9.2-devel-20200716014709 build, but it doesn't have a MAME2003_plus core.
I'm looking to reuse my existing MAME2003_plus ROMs (on a shared NAS), so looking to get the 2003_plus core installed on the generic build rather than a different set of ROMs.
Is this possible?The RetroArch Online Updater interface on RetroELEC doesn't show the option to download cores, and I haven't been able to find it anywhere to download.
Cheers.