r/ReplayOS • • 11h ago

Has anybody used the lo-tech/vga888 adapter yet?

1 Upvotes

I had found a guide about using it and what the config needs to be but I can’t find it anywhere now.
Really want to give this a try tonight


r/ReplayOS • • 19h ago

Hard facts, updated for 2027

Post image
3 Upvotes

r/ReplayOS • • 1d ago

Alpha Player network streaming plan

1 Upvotes

1. Objective and scope

Allow a local channel playlist to mix local files and network streams. Users load the playlist through the existing frontend or REST flow, then use L/R to change entries and B to display the current entry's name. Deliver all seven discussed requirements:

  1. Play HTTP/HTTPS URLs, including HLS stream URLs, from M3U playlists.
  2. Use L/R to navigate the URLs/files inside that channel playlist.
  3. Use optional outer #EXTINF titles for channel names.
  4. Disable unsupported seeking, hide live progress, and skip position resume for live streams without a meaningful duration.
  5. Bound network connection, probing, and stalled-read waits.
  6. Show actionable OSD messages for unavailable streams.
  7. Skip failed entries with bounded attempts, keeping channel navigation usable. UDP URLs are secondary, conditional on the linked FFmpeg build. Handle their addresses correctly and use protocol-appropriate timeout behavior, but do not delay the HTTP/HTTPS/HLS milestone for multicast or other advanced UDP setup.

2. Terminology and intended use cases

  • M3U channel list: the list Alpha Player navigates. Each entry represents a complete local media item or network channel.
  • HLS: HTTP Live Streaming. An HLS manifest, commonly .m3u8, identifies media segments and possibly alternative quality streams. FFmpeg handles these internal playlists and segments as one playable item. HLS supports both live broadcasts and on-demand content; a network URL alone does not imply live TV.
  • MPEG-TS: MPEG Transport Stream, a container carrying audio, video, and timing. It can contain H.264/AAC and is not limited to MPEG-2 video. It can be delivered continuously over HTTP/UDP or used for individual HLS segments.
  • Reported use case: Dispatcharr sends continuous MPEG-TS over an HTTP URL with no useful filename extension. HLS is an additional supported input type. Applicable home-server sources include ErsatzTV for scheduled library channels, Owncast for livestreaming, MediaMTX for relaying streams, and FFmpeg plus a web server for custom HLS output. Jellyfin HLS URLs may also work when the caller supplies a usable authenticated playback URL; session management is separate. This feature does not implement YouTube webpage resolution, Jellyfin/Plex library browsing or login, DRM, EPG/XMLTV, channel logos/groups, or a server/encoder inside Alpha Player. It consumes streams supplied by those systems.

3. Current implementation and affected code

Primary implementation file: ffmpeg_core.c.

  • playlist, playlist_count, playlist_index: store paths only; no titles.
  • parse_m3u_playlist(): prefixes every entry with the playlist directory and requires access(..., R_OK). This rejects URLs and mishandles absolute paths.
  • aplayer_path_is_m3u() / retro_get_system_info(): currently recognize .m3u as the outer playlist extension; .m3u8 needs explicit classification.
  • retro_load_game(): opens/probes synchronously through FFmpeg without network options or an interrupt callback.
  • display_media_title() and L/R OSD: derive names from filenames.
  • seek_frame(), dispaly_time(), bookmark helpers: already have some duration guards, but duration alone is not sufficient to determine seekability.
  • Decode loop: every negative av_read_frame() result currently becomes EOF.
  • retro_unload_game(): signals decoder shutdown and joins its thread; signals alone cannot interrupt a blocked FFmpeg network read.
  • Existing playlist retry logic uses internal reload flags consumed by retro_load_game(). Preserve playlist context explicitly across failed loads.
  • Fix the existing open-input error log's two %s placeholders with one argument while implementing network diagnostics.

4. Playlist representation and parsing

Introduce an entry structure containing the source string, optional display title, and source kind (local or supported network protocol). Keep the existing 256-entry limit for this milestone and report when additional entries are ignored. Update all navigation, bookmark matching, shuffle, and reload uses consistently. Parsing rules:

  • Resolve relative local paths against the playlist directory.
  • Preserve absolute local paths; retain local readability checks.
  • Recognize supported schemes at the start of the entry, case-insensitively. Preserve URLs, query parameters, and escaping exactly; skip filesystem checks for them. Reject unsupported schemes with a clear diagnostic.
  • Accept LF/CRLF and a UTF-8 BOM. Ignore blank lines and comments. Detect overlong lines and reject the entire entry instead of accepting a truncated URL/path.
  • Capture #EXTINF metadata for the following media entry. Find the first comma outside quoted attributes and preserve the complete following title, including any commas in that title. Clear pending metadata after consuming or rejecting its entry so it cannot attach to a later channel.
  • Treat -1 as unknown declared duration. Do not use it as the sole authority for live/seek capabilities; actual input properties take precedence.
  • Additional tvg-id, tvg-name, group-title, and logo attributes may be ignored. Their presence must not break title parsing. Example outer playlist:
#EXTM3U
#EXTINF:-1 tvg-id="news" group-title="TV",News
https://server.example/news/live.m3u8
#EXTINF:-1,Cartoons
http://192.168.1.20:9191/proxy/ts/stream/channel-id
#EXTINF:120,Local clip
../videos/clip.mp4

5. HLS handling and extension classification

Do not feed HLS segment or variant lists into Alpha Player's channel parser. Pass HLS input to avformat_open_input() and let FFmpeg manage it.

  • A URL inside an outer playlist goes directly to FFmpeg, regardless of extension.
  • Classify URLs before applying local extension-based handling; query strings must not turn a stream into a local playlist or MIDI input.
  • Add .m3u8 to advertised content extensions. For local playlist files, inspect HLS #EXT-X- tags: an HLS manifest goes to FFmpeg; an ordinary channel list goes to the channel parser. Apply this distinction to .m3u too, since the extension alone does not define the playlist's meaning.
  • Local HLS manifests can reference remote segments. Network limits and cancellation must cover nested FFmpeg requests as well as top-level URLs.
  • Never present HLS segments or quality variants as separate L/R channels.

6. Network opening, cancellation, and thread ownership

Allocate an AVFormatContext explicitly and install AVIOInterruptCB before opening. Give each load a cancellation token and monotonic deadline, separate from decode_thread_dead, whose current lifecycle is tied to active decoding. Use proper synchronization for state shared with the callback. Proposed initial limits, implemented as named constants:

  • 10 seconds total for opening plus stream probing of one network candidate.
  • 10 seconds without successful network read progress before declaring a stall.
  • Cancellation requested immediately on channel change or unload. Set rw_timeout where applicable and use protocol-specific options where needed. Use interrupt deadlines to cover overall open/probe work; a socket timeout alone does not bound all probing or HLS retries. Refresh read deadlines around active read operations, not while paused or blocked by a full decoded-data queue. Verify nested HTTP/HLS requests inherit the intended behavior. Audit resolver and TLS behavior on the shipped FFmpeg build before claiming a strict wall-clock bound for every possible failure. Initial retro_load_game() may remain synchronous with a bounded total startup budget, since the frontend needs a success/failure result. Use a 10-second total budget across initial candidates, rather than 10 seconds multiplied by 256. If exhausted, report failure clearly and return false. During playback, perform network open/probe for channel switching in a background loader. Keep the frontend loop available to poll input, display loading/error state, and cancel or replace the pending selection. Stage candidate FFmpeg state separately; publish it only after success. Keep frontend environment callbacks, OSD, GL setup, and final playback-state installation on the frontend thread. On unload, cancel pending loading and active reads, wake FIFO/video waiters, join threads, then release their contexts. Never free state still used by an interrupt callback or join a worker while holding a lock it needs to finish.

7. Names, live controls, and resume

Use one title helper for initial load, B, channel switching, and error messages: outer #EXTINF title first, then useful stream metadata for network media, then a safe URL basename/host fallback. Preserve current filename behavior for local files without an explicit playlist title. Do not expose URL credentials or query tokens in fallback titles or diagnostics. Determine duration validity, seekability, and live behavior separately. Combine FFmpeg input/demuxer capabilities, meaningful duration, and known live/HLS state; do not rely solely on duration or fctx->pb->seekable, since HLS manages nested inputs and can have a sliding duration window.

  • For live/unknown-duration streams: disable time seeking and position resume. A should display Live and optionally elapsed playback time as a notification, with no percentage or progress-bar message.
  • B and L/R remain available, including after a failed channel or ended stream. Move navigation outside the current !decode_thread_dead gate as needed.
  • Seekable on-demand streams may retain progress, seeking, and resume.
  • Preserve existing local-file, MIDI, and game-music restrictions.
  • A stale playlist bookmark must not seek a newly live entry. Restoring a channel selection can remain independent from restoring a playback timestamp; live timestamp saving/restoration stays disabled.
  • Live pause is a local pause with bounded buffers, not a DVR promise. On resume, reconnect to the live edge if the session/window is no longer usable. Do not treat deliberate pause/backpressure as network failure or accumulate media indefinitely. Local-file pause behavior remains unchanged.

8. Failure handling and channel navigation

Use an explicit result/state for loading, playing, switching, failed, and ended; do not represent every network error as ordinary EOF. Distinguish EOF, temporary EAGAIN, cancellation, timeout, and permanent open/read errors.

  • Show Connecting: <name> during network channel changes.
  • Show Stream unavailable: <name> or Stream timed out: <name> on failure; retain FFmpeg error details in sanitized logs.
  • On failure, try another channel with a visited-entry set and finite attempt limit. R and forward advancement move forward; L moves backward. Respect Play Once boundaries, wrapping modes, and Shuffle without retrying the same failed candidate indefinitely. Repeat Track must not trap the user on a dead channel; failure skipping overrides repetition for the current attempt.
  • Use the same candidate-selection logic for initial load, manual switching, automatic advancement, and runtime stream failure, with the startup budget described above. A new user selection cancels the previous attempt sequence.
  • After all eligible entries fail, show No playable channels and retain an idle playlist state for L/R retry and exit if content was already loaded. Initial startup failure instead returns false after its error notification.
  • Do not add unlimited reconnect loops. Explicit user cancellation must not be reported as a stream failure or trigger automatic skipping.

9. Implementation order

  1. Add playlist entry/title representation, URL classification, robust parsing, and HLS-versus-channel-list detection. Preserve local playlist behavior.
  2. Add interruptible FFmpeg opening/probing/reads, cancellation ownership, timeout diagnostics, and safe cleanup, including nested HLS requests.
  3. Replace fragile reload retries with shared candidate-selection logic and add cancellable background network switching plus frontend loading/error states.
  4. Add shared title display, live progress/seek/resume rules, and live pause policy.
  5. Verify shipped FFmpeg protocol/demuxer support and document playlist examples, limits, supported sources, and controls in README.md. The default build links system FFmpeg. Verify the actual RePlay/Pi libraries for HTTP, HTTPS/TLS, TCP, HLS demuxing, and the requested codecs; UDP is conditional. The optional bundled configuration currently disables HTTPS, so update and verify its TLS dependency configuration before advertising HTTPS for that build.

10. Focused validation and completion criteria

Keep validation limited to the changed behavior; no broad new test framework.

  • Small parser checks: relative/absolute local paths; mixed URLs/local files; BOM/CRLF; missing titles; quoted commas and title commas; query strings; overlong entries; local HLS versus ordinary M3U/M3U8 channel lists.
  • A controlled LAN source: continuous MPEG-TS over HTTP without an extension, HLS live, and HLS on-demand. Include a local HLS manifest with remote segments.
  • An unreachable/stalled endpoint: bounded initial load, readable OSD, working L/R during channel connection, and cancellation during reads and exit.
  • Mixed good/bad channels: broken first entry, mid-playback disconnect, all failed, backward skipping, Play Once boundaries, wrapping, Shuffle, and Repeat Track.
  • Live controls: title, no progress bar, disabled time seek, no timestamp resume, and bounded pause/resume behavior. Confirm on-demand seek/resume still works.
  • Compile with the normal project configuration and perform final playback checks on Raspberry Pi 5/RePlayOS, the reporter's target environment. Complete when the issue's HTTP MPEG-TS example and an HLS channel both work through the existing playlist flow, titles and L/R work, failures are bounded and visible, and local media playback remains functional. HLS support does not imply seamless adaptive bitrate switching or guaranteed playback of every service's protected or session-dependent URLs.

References

  • HLS structure and MPEG-TS segments: https://datatracker.ietf.org/doc/html/rfc8216
  • FFmpeg network options: https://ffmpeg.org/ffmpeg-protocols.html
  • FFmpeg interruption: https://ffmpeg.org/doxygen/trunk/structAVIOInterruptCB.html
  • FFmpeg HLS generation: https://ffmpeg.org/ffmpeg-formats.html#hls
  • ErsatzTV channels: https://ersatztv.org/docs/channels/
  • Owncast external playback: https://owncast.online/docs/watching-streams/
  • MediaMTX: https://mediamtx.org/docs/features/read
  • Jellyfin playback: https://jellyfin.org/docs/general/clients/codec-support/

r/ReplayOS • • 3d ago

DevLog #40 - RePlay OS v2.2.18 - New Native Games

Thumbnail
youtube.com
3 Upvotes

r/ReplayOS • • 5d ago

VGA to Retrotink Scart cable not compatible?

3 Upvotes

Im using raspberry pi 5, with a micro hdmi to hdmi, the vga dac bob from retrorgb recommended, and the vga to scart cable from retrotink. I have it set to crt, and changed the range to limited range to match his settings. No dice getting any picture.

Im using a scart modded sony. I use a scart switcher and every other console is fine. Maybe with a scart modded tv this setup isn’t viable?

I powered the dac and it gave me a image with incorrect sync(rolling rapidly). He used the dac without power so I can’t imagine this is related. Any ideas?


r/ReplayOS • • 5d ago

Ambiscan: only with RePlayOS, only on Pi devices

Thumbnail gallery
3 Upvotes

r/ReplayOS • • 13d ago

Can I use the RGB-Pi 1.0 "game packs" for RGB-Pi 2.0 as well?

2 Upvotes

Asking here because Mortaca never provides support for their products or answers after-sales questions according to my experience.


r/ReplayOS • • 17d ago

Now RTA is customising cores for RePlayOS

Post image
11 Upvotes

r/ReplayOS • • 26d ago

File format for save states (.sst)

2 Upvotes

I've recently been using Syncthing to sync saves and save states between several different devices and it works great.

I was going through the process of adding my Pi3 with ReplayOS to Syncthing but noticed that the save states are in a file format that ends in .sst# where # is the save state slot.

I thought ReplayOS used libretro cores. Does anyone know what the reason behind changing the file type for save states is or if the .sst file is interchangeable with a typical libretro save state?

BTW I have tested at least SNES to confirm that the save files generated by saving in game works and they do (.srm file type). I'm just curious about these .sst file types.


r/ReplayOS • • Nov 03 '26

BT controllers

3 Upvotes

Can you use BR controllers yet? I have not been keeping up on the project.


r/ReplayOS • • Nov 01 '26

DevLog #39 - RePlay OS v2.1.0 & Pi-DOS 1.0

Thumbnail
youtube.com
11 Upvotes

r/ReplayOS • • Oct 31 '26

RetroTV v0.3.4: a 90s cable box for ReplayOS, now a system of its own

Post image
25 Upvotes

RetroTV is a libretro core for ReplayOS on the Raspberry Pi 5. It plays live TV from an IPTV playlist (M3U) like an old cable box: channel up and down, a channel banner, a TV guide, static while it tunes, "NO SIGNAL" on a dead channel, and two CRTs at once if you have them. You can pause live TV for about 15 minutes, and the paused picture wobbles like a VHS tape on pause. You can also control it from your phone.

Demo video: https://youtu.be/OCvExU21ayg

What's new since v0.2.10

  • It's its own system now (ReplayOS 2.1.0+). "RetroTV" appears in the system list. It no longer borrows the A/V test or Virtual Boy slot, and ReplayOS updates don't remove it. If you have an older install, it gets moved over automatically and keeps your settings and last channel.
  • More than one line-up. Every .txt or .m3u file in roms/retrotv/ is a line-up you can pick like a game, and each one remembers its own last channel.
  • Updates from the TV. RetroTV checks for a new version once a day and shows a notice on the banner. Press X → Update → Install, or tap INSTALL on the phone remote. No ReplayOS restart is needed.
  • Reconnects dropped streams. If a live stream drops (a server restart, a flaky source), RetroTV holds the last picture and reconnects instead of going to NO SIGNAL.
  • Free Pluto TV channels. There's a new guide to using a community Pluto TV playlist (plus its TV guide) as a line-up. It works best with one Pluto channel at a time.
  • Better phone remote. It has a SWAP button for two-screen setups, and you can change picture settings for each screen separately.
  • Zaparoo.

    • RetroTV shows up as a system.
    • Channel cards tune channels.
    • The Zaparoo app shows the current channel as "now playing".
    • Channels in your history and recents launch straight back into that channel.
  • "NO CHANNEL" message when a card or the remote asks for a channel the line-up doesn't have, instead of failing silently.

Install (Pi 5, ReplayOS 2.1.0 or newer). Run this on the Pi as root:

curl -fsSL https://raw.githubusercontent.com/chris-skitch/retrotv-libretro/main/install.sh | bash

Then put your M3U link in retrotv/playlist.txt on your ReplayOS storage. Dispatcharr, Tunarr and plain M3U + XMLTV all work.

No IPTV source yet? You can try RetroTV with free Pluto TV channels. The guide shows how to add them as a line-up in a couple of minutes: https://github.com/chris-skitch/retrotv-libretro/blob/main/docs/PLUTO_TV.md

Updating from 0.2.x: first update ReplayOS to 2.1.0, then run Extra → retrotv_update.sh (or the one-liner again). From then on, updates come through the TV.

Repo: https://github.com/chris-skitch/retrotv-libretro

Feedback and bug reports are welcome!


r/ReplayOS • • Oct 31 '26

2.1.0 change list looks so good!!

Post image
16 Upvotes

I didn't get a chance to update yet, but this is awesome news!


r/ReplayOS • • Oct 29 '26

I made RetroTV: a libretro core that turns an IPTV playlist into a 90s cable box on ReplayOS (Pi 5, dual CRT support)

15 Upvotes

I've been building a libretro core for ReplayOS on the Pi 5 that makes an IPTV/M3U playlist behave like a 90s cable box on a CRT:

- Channel up/down with static and hiss while it tunes, and a NO SIGNAL screen

- Now/next banner and a 90-minute TV guide from your XMLTV listings

- Made for CRTs: 4:3, 50 Hz on PAL-rate channels, optional 240p, overscan margin

- Fit/Zoom for letterboxed 16:9 channels, remembered per channel

- Pause live TV (buffered in RAM, up to about 15 minutes) with a VHS-style wobbly still frame

- Two screens: uses ReplayOS's dual HDMI so each CRT gets its own channel, with the sound following the focus

- A phone remote and HTTP API on the Pi, so Zaparoo cards or scripts can change channel

It uses ReplayOS's own FFmpeg, so there's nothing extra to install. Works with Dispatcharr, Tunarr or any M3U with MPEG-TS or HLS streams.

Install

(one line over SSH):

curl -fsSL https://raw.githubusercontent.com/chris-skitch/retrotv-libretro/main/install.sh | bash

There's also a no-SSH option via Extras; details in the README.

The catch:

ReplayOS doesn't support custom cores yet, so RetroTV borrows a slot: the A/V test in Extras by default, or Virtual Boy (`--slot vb`) if you want remote start and Zaparoo channel cards. The uninstaller gives the slots back. Re-run the installer after a ReplayOS update.

Video of it running on two CRTs: https://www.youtube.com/watch?v=OCvExU21ayg

Code (MIT): https://github.com/chris-skitch/retrotv-libretro

Built with a lot of help from Claude Code; I review, test and maintain it. It's a prototype, so bug reports, ideas and "it didn't work on my setup" reports are all welcome, here or as GitHub issues.


r/ReplayOS • • Oct 16 '26

Retroflag SUPERPi case Pi 3 Safe Shutdown Script Doesn't Work

6 Upvotes

*SOLVED with Edit #4 below!*

TL;DR: The solution was to edit the script and replace it with the one in GitHub issue #150, set up a systemd service to run the script and then install the RPi.GPIO library.

________________________

Does anyone know why the safe shutdown script doesn't work with ReplayOS?

In my case I'm using the SUPERPi case from Retroflag and there are some errors installing the script.

I've heard that this support is baked in but doesn't seem to work on Pi 3 or maybe specifically with this case.

Edit to add more info:

When installing the script there isn't an option for ReplayOS however there is a script for RetroPie, RecalBox and Batocera. They all fail when trying to add the script to rc.local because rc.local desn't exist on ReplayOS.

Also there's closed github feature requests. The answer given is to use the scripts that come with the case in question.

Github links:

[FR] Add support for Retroflag SuperPi4 Case #190

Feature request: Retroflag Case suport for RPI3 #338

Edit #2:

Looks like these scripts need to be updated to support systemd i think.

Edit #3:

There is more info here which make me think I'm on the verge of making this work but I'm still missing something.

Here are the steps I took so far:

  1. Follow instructions in this github issue [Fix] SafeShutdown.py broken on Raspberry Pi OS Bookworm (Debian 12) — lgpio incompatibility + working script included #150
  2. Install PIP for Python3:

sudo apt-get update
sudo apt-get install python3-pip

3. Install RPi.GPIO because the script seems to use it:

pip install RPi.GPIO

4. Reboot

sudo reboot

Doesn't work yet but I think I'm close.

Edit #4:

So apparently "pip install RPi.GPIO" didn't work but the following did:

apt install python3-RPi.GPIO

And now everything works as expected!


r/ReplayOS • • Oct 16 '26

Composite filter coming in v2.1.0

Post image
19 Upvotes

r/ReplayOS • • Oct 12 '26

"Added automatic gameplay screenshots when saving states, so now Save/Load State menus display each corresponding screenshot"

Post image
16 Upvotes

r/ReplayOS • • Oct 04 '26

OmaCRT: driving the RGB-Pi 2 from a Linux PC (Hyprland), open source

Post image
17 Upvotes

Two things up front:

- It is written with AI, like most software in 2026. If that is not for you, that's fine, but please keep it civil. Other subreddits got personal, and I'd rather that did not happen here.

- It is experimental. I'd love it if a few people tried it and told me what works and what breaks.

I've been using my RGB-Pi 2 with a desktop PC instead of a Raspberry Pi, and the result became a project: OmaCRT, for retro gaming on a real 15 kHz CRT television from a Hyprland desktop.

The RGB-Pi 2 is a plain HDMI sink, so a PC can drive it. OmaCRT takes one HDMI output for the TV through DRM leasing and leaves your other monitors on the desktop. It sets the DAC's sync mode over I2C and switches modes per game (240p NTSC, 288p PAL). It also has a small launcher for games (RetroArch, and Supermodel for Model 3), music and video at 320x240.

It is not meant to replace RePlayOS. On a Pi, RePlayOS is the complete, polished option, and I learned a lot from its public scripts. OmaCRT is for people who already have a Linux PC next to the TV and want to use it.
So far it has been tested on one TV, with an AMD GPU and a stock kernel (no interlace). Written in Rust, MIT licence, no account or telemetry.

Site and manual: https://omacrt.com

Code: https://github.com/stefanomainardi/omacrt

RGB-Pi 2 on a PC (sync registers, EDID, what I measured): https://github.com/stefanomainardi/omacrt/blob/main/docs/rgb-pi-2.md

Feedback from other TVs and GPUs is very welcome, especially on AND vs XOR csync.


r/ReplayOS • • Sep 28 '26

V2 dropped

Post image
24 Upvotes

r/ReplayOS • • Sep 24 '26

Interesting RTA activity on github

Post image
11 Upvotes

r/ReplayOS • • Sep 24 '26

Mame question

3 Upvotes

Hi, I have a non merged romset in the version 0.289 from pleasuredome and ReplayOS in 1.8.

I have the latest v11 drivers.

But Mame for the most part doesn't work, many games missing and only shows a few gamedswith the full name.

Anything I'm missing here?


r/ReplayOS • • Sep 23 '26

New UI font option

Post image
12 Upvotes

r/ReplayOS • • Sep 18 '26

v3.5 of RGBpi2 has entered the beta testing phase

Post image
30 Upvotes

r/ReplayOS • • Sep 11 '26

PhosphorOS, a portable version of OS4, open-source retro gaming frontend designed for CRT-first devices. It’s fast, lightweight, and built around a universal theme system that works across platforms, from N64, Raspberry Pi, Wii and many more

Thumbnail
patreon.com
18 Upvotes

r/ReplayOS • • Sep 03 '26

Alpha Player changelog for upcoming v2 of OS

Post image
10 Upvotes