Tries (and fails) to transcode FLAC file
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)
The default chromecast receiver app is awful, so vague and etc. I have two other receiver apps because I was so frustrated with not even being able to see WHY it fails. Even with custom apps, all I can see is the error codes but they also don't explain much. Also the transcoding is in this project never worked for me, I made a custom transcoding server for my project and always using that instead.