ffmpeg-android-maker icon indicating copy to clipboard operation
ffmpeg-android-maker copied to clipboard

Input channel layout "" is invalid or unsupported. Any idea of what this could be?

Open GamingCity opened this issue 3 months ago • 0 comments

Im porting a game from linux to android. I builded ffmpeg and the videos play ok but i get no audio. Now, im not sure if this is an issue on the ffmpeg end or in the game code, but i get these errors.

FFmpeg: Using video codec Theora (theora). FFmpeg: Using audio codec Vorbis (vorbis). FFMPEG Log: [SWR @ 0xb400007e84204010] Input channel layout "" is invalid or unsupported. Frame 0 too long!!: frametime = 50.033 (50.033) FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized FFMPEG: Error while converting audio! FFMPEG Log: [SWR @ 0xb400007e84204010] Context has not been initialized

The game uses OpenAL soft (with the Oboe backend) for audio.

Any help would be apreciated.

GamingCity avatar Sep 01 '25 20:09 GamingCity