libretro / libretro/RetroArch

No audio recording when building from latest FFmpeg

Open
#11,667 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I've built RetroArch v1.8.8 from source, with latest FFmpeg. However I don't get any audio when recording. The logs are full of:

[ERROR] [FFmpeg]: Cannot send audio frame. Return code: Invalid argument.

This has happened since FFmpeg commit 93016f5d1d280f9cb7856883af287fa66affc04c, an older version will still record audio fine.

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 by reproducing audio recording with RetroArch v1.8.8 built against current FFmpeg and inspect the FFmpeg recording path around the reported "Cannot send audio frame" error. Compare behavior before and after FFmpeg commit 93016f5d1d280f9cb7856883af287fa66affc04c; done means audio recording works with the latest FFmpeg.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.