Hi Jay,

Here's an interesting idea, BTW: have we thought about, instead of
ripping to MP3 and CDG files, ripping and then rendering to an MPEG or
XVID monolithic file and playing that back?  Clearly the rendering
would take time; would we save space in addition to complexity?

One of the Pykaraoke users was asking after a CDG->MPEG convertor the other day. There's no MPEG encoding capabilities in pygame, unfortunately, so it's not as simple as calling the right library routine.

A few options I've thought about are:

1. Most naff option is to generate lots (and lots) of still image files within pycdg.py. These can then be passed to mplayer/mencoder to generate whatever format you like.

2. Use pymedia instead of pygame. I haven't looked at pymedia in detail but it purports to offer encoding capabilities, and would bring with it support for playing back other formats (e.g. divx). This might also be useful as an alternative to pymad for the mp3 playback, and I wonder whether the author would be interested in incorporating libsoundtouch in there as well. Kill a few birds with one stone.

3. Write a CDG codec for ffmpeg (i.e. write a new decoder in C). I've been planning on doing this for some time now, as it would be very versatile, would be available in the many players that use ffmpeg (mplayer etc). As pycdg.py has fulfilled my needs, I haven't had much impetus to do this yet though.

Kelvin.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Pykaraoke-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss

Reply via email to