简体   繁体   English

无法解析音频文件 track1.m4a

[英]Could not parse audio file track1.m4a

Interrupt message: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/gosu-1.4.3/lib/gosu/compat.rb:116:in `initialize': Could not parse audio file track1.m4a (RuntimeError): Couldn't open track1.m4a I'm trying to open some tracks in Ruby using Gosu, but the system does not accept the file.中断消息:C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/gosu-1.4.3/lib/gosu/compat.rb:116:in `initialize': 无法解析音频文件 track1。 m4a (RuntimeError): Couldn't open track1.m4a 我正在尝试使用 Gosu 打开 Ruby 中的一些曲目,但系统不接受该文件。 May I ask why and how to fix the problem?请问为什么以及如何解决这个问题?

I've tried to input the file using Gosu::Song.new but the interrupt message appeared.我尝试使用 Gosu::Song.new 输入文件,但出现了中断消息。 I was expecting it load the media files.我期待它加载媒体文件。

Try converting the audio file into.mp3 or.ogg files.尝试将音频文件转换为 .mp3 或 .ogg 文件。 Ruby does not accept mp4 or m4.A Ruby 不接受mp4或m4.A

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM