libretro / libretro/RetroArch

Cannot use custom recording on RetroArch for iOS (App Store)

Open
#17,559 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform: ios
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

FIRST, THIS IS NOT A BUG IN RETROARCH FRONTEND, BUT IT'S NOT FROM THE CORES OR GAMES EITHER!

I can't start the recording when trying to use a custom configuration.

I created a custom recording configuration nice_lossless.cfg:

vcodec = libx264rgb
acodec = flac
format = mkv
pix_fmt = rgb24
video_preset = ultrafast
video_tune = animation
sample_rate = 48000

Saved the file in ~/Documents/RetroArch/records_config/nice_lossless.cfg.

On "RetroArch" App, I went to "Settings" -> "Recording".

  • Option "Recording Quality" I changed to "Custom".
  • Option "Custom Recording Configuration" I selected my custom config: ~/Documents/RetroArch/records_config/nice_lossless.cfg.

I'm trying to record a Sega Master System game with "Genesis Plux GX Wide".

I can successfully record using any pre-made preset, such as the "lossless" one that comes with RetroArch. However, it records the audio at 44100 Hz, even though I set the audio output to 48000 Hz, which is what made me want to create a custom recording file.

retroarch__2025_02_11__21_32_13.log

Expected behavior

Let the video recording be done just like with the existing presets, respecting the file's settings.

Steps to reproduce the bug

At description.

Version/Commit

1.20.0

Bisect Results

ab3b175848

Present in the nightly version

I don't know

Platform & operating system

iOS 18.3.1

Affected Cores

All

Environment information

No response

Relevant log output
[INFO] [Recording]: Custom timing given: FPS: 59.92, Sample rate: 44100.00
[INFO] [Recording]: Recording to /private/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Documents/RetroArch/records/Golvellius - Valley of Doom (UE) [!]-250211-212538.mkv @ 256x192. (FB size: 284x240 pix_fmt: 0)
[INFO] [FFmpeg] Loading FFmpeg config "/private/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Documents/RetroArch/records_config/nice_lossless.cfg".
[ERROR] [Recording]: Failed to start recording.
[INFO] [Recording]: Custom timing given: FPS: 59.92, Sample rate: 44100.00
[INFO] [Recording]: Recording to /private/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Documents/RetroArch/records/Golvellius - Valley of Doom (UE) [!]-250211-212538.mkv @ 256x192. (FB size: 284x240 pix_fmt: 0)
[INFO] [FFmpeg] Loading FFmpeg config "/private/var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Documents/RetroArch/records_config/nice_lossless.cfg".
[ERROR] [Recording]: Failed to start recording.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached log and the custom records_config/nice_lossless.cfg path, comparing the custom-configuration flow with the working built-in presets on iOS. Reproduce the failure using the listed settings and verify that custom recording starts and honors the requested 48 kHz audio rate.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ios
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.