Skip to content

Tries (and fails) to transcode FLAC file #229

@MartiCode

Description

@MartiCode

I'm trying to play FLAC files but get the error:

go-chromecast --device "HT-A9" load test.flac
time="2025-11-14T10:18:12+08:00" level=error msg="error transcoding" error="exit status 0xffffffea" filename=test.flac package=application

My understanding is that FLAC files should not even be transcoded to begin with? The file is a properly formed FLAC file originally compressed with ffmpeg

Works fine with the same file manually transcoded to MP3 with ffmpeg:
go-chromecast --verbose --device "HT-A9" load test.mp3

This is on Windows 11 x64 using latest binaries.

Edit: Digging around the code, it seems that in application/application.go, FLAC files are recognized as audio/flac but that mime type is then not in the accepted Chromecast formats. Google documentation list flac as a supported codec but not as a supported container. I am not sure if this is an oversight on their part or if flac files need to be repackaged into an Ogg-flac container (which is apparently a thing, albeit unpopular)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions