I've been using cdg2bin.py to burn MP3+Gs to CD+G, and all was working well…then I found some MP3+Gs that would produce gibberish graphics when converted to CD+G and burned to disc. The corresponding MP3+G plays fine in PyKaraoke.
I managed to find another copy of the same MP3+G that worked when converted to CD+G, and compared the .cdg files using xxd. They were very different. The strange thing is, the .cdg that cratered when converted to CD+G, is all zero bytes until 7,536 bytes into the file, yet it displayed just fine in PyKaraoke! I'm at a loss to explain this.
Any idea where to go with this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Depending on the CDG there may be hardly any graphic updates in the first few seconds of the file. In this case 7,536 bytes is just over two seconds. There usually is a splash screen or something though at startup.
It does sound odd, though, that files which work in PyKaraoke would not work in cdg2bin. If you'd like to send the file over I could take a look.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've been using cdg2bin.py to burn MP3+Gs to CD+G, and all was working well…then I found some MP3+Gs that would produce gibberish graphics when converted to CD+G and burned to disc. The corresponding MP3+G plays fine in PyKaraoke.
I managed to find another copy of the same MP3+G that worked when converted to CD+G, and compared the .cdg files using xxd. They were very different. The strange thing is, the .cdg that cratered when converted to CD+G, is all zero bytes until 7,536 bytes into the file, yet it displayed just fine in PyKaraoke! I'm at a loss to explain this.
Any idea where to go with this?
Hi,
Depending on the CDG there may be hardly any graphic updates in the first few seconds of the file. In this case 7,536 bytes is just over two seconds. There usually is a splash screen or something though at startup.
It does sound odd, though, that files which work in PyKaraoke would not work in cdg2bin. If you'd like to send the file over I could take a look.
Have you had a chance to look at this yet?
Hi,
Thanks for sending the sample file - I'll take a look this evening.
Best regards.