-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Support for ogg and mp3 soundtrack #794
Comments
I thought support for this was added in version 2.13 in #688. Did you try in the latest version? |
I did today with version 2.13.2 and tried mp3 and ogg tracks inside the music folder, only putting back the flac files reproduce jingles, background sound and music. Unless there's a very specific way to make both formats working that I'm not aware of. |
I also couldn't get a different media container to work but thought it was likely just a naming scheme problem. |
@carlo-bramini do you have any ideas? Tagging since you wrote the feature. |
Yes, the ogg/mp3 files have been saved in planar format.
but it does not support these one:
More details on those types can be found here: In my opinion, if you really want to use other file formats, the fastest solution is to save the audio files with samples in interleaved mode rather than planar mode. |
I'm not an expert, so I can't tell the difference, does the reply above mean that the user needs to convert the lossless flac to a specific mp3 or ogg container that are different than the normal converters around? I've tried three different software to convert those to either mp3 or ogg, being ffmpeg itself and Audacity without success, the engine will only reproduce the flac files. |
Since we're the only project to use ffmpeg which was a decision made to maximize compatibility with third party containers, I think it's worth pursuing adding the conversion code. |
Perhaps, libswresample can do it for us with little effort. |
Clarification, because I was in a hurry when writing the original comment – I meant that it's worth to add this function for two reasons, first being of course the usability and compatibility with various formats, and the other about paving the way for other projects that might want to fork/reference our code, to make it more thorough/universal. |
What I find odd is this: |
Turns out this was a problem with the way we decoded the audio, which got fixed in LostArtefacts/libtrx@23fa947 (TR1X 4.2). Currently waiting for Danath to confirm. |
Danath confirmed the files work for him. |
Currently, only FLAC is supported
The text was updated successfully, but these errors were encountered: