LiteGamer
Posts: 2
Joined: Sun Jun 16, 2019 9:43 pm

Can't create CHD for laser game

I am trying to create a CHD image of a laser game from a .ogg file and a .m2v file.
I started by converting them to an .avi file with the following.
$ ffmpeg -i game.m2v -i game.ogg game.avi
Then i tried to create the CHD with the followin.
$ ./chdman createld -i game.avi -o game.chd
I got the error message unsupported audio. I am guessing I need some flags for ffmpeg to make it work.

Thanks
User avatar
Klez
Posts: 21
Joined: Mon Jan 07, 2019 11:38 am

Re: Can't create CHD for laser game

I don´t think you can use OGG vorbis audio in a AVI container.

Maybe you can convert the audio to WAV or MP3 first, and then trying again ?

Depending of the title it may be in the software list, so getting that version would be preferable in my opinion
LiteGamer
Posts: 2
Joined: Sun Jun 16, 2019 9:43 pm

Re: Can't create CHD for laser game

Still having problems! So I tried a bunch of of audio and video formats. I found the FLAC format got rid of the unsupported audio message. But then I got a unsupported video message. So I tried the huffyuv video format. Now I am getting another error message.
"Error reading audio samples 18394-920 from channel 0: invalid frame index"
I am not sure what you mean by in the software list. Thank for your help so far Klez and don't worry if you don't have another answer for the invalid frame index.

Return to “MAME Discussion”