Karaoke CD+G support?

Feature requests for VLC.
underlord

Karaoke CD+G support?

Postby underlord » 13 Aug 2004 19:52

How 'bout supporting a very simple format? CD+G Karaoke files consist of an audio MP3 and a very low res graphic file .CDG. There are existing peices of work that support this format, however they are few and far between.

https://sourceforge.net/projects/cdg123/

I can help provide information on decoding the .CDG file, and even supply original CD+G's and encoded files. http://vipkaraoke.com Check out the songs section. I've got quite a few of these files and would really like to be able to play them back on a computer. There are CD+G only solutions, but I would like to use VideoLAN's ability to play captured DVD rips to take advantage of the growing DVD Karaoke supply.[/url]

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 14 Aug 2004 21:44

The VLC core team will not do this, there are other more important tasks at hand. However if someone were to contribute the code we would more than welcome it.
Don't use PMs for support questions.

Smickers

Postby Smickers » 24 Aug 2004 21:30

I'd like to see that too. Hope someone will assist. :)

dumarjo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Dec 2003 21:03

Postby dumarjo » 28 Aug 2004 00:00

yes me too this should be great

Jonathan

anhlunnhaque
Blank Cone
Blank Cone
Posts: 18
Joined: 01 Sep 2006 21:36

Postby anhlunnhaque » 24 Oct 2006 18:16

Yes, I would love to see VLC supports CD+G...it would complete the picture of "The Perfect Media Player"...well at least for me..!!! I hope you guys implement this support in future releases....

Thanks

ekin
New Cone
New Cone
Posts: 1
Joined: 28 Oct 2006 07:36

Postby ekin » 28 Oct 2006 07:41

I too...would love to have VLC support CD+G....please please have the support to play CDG files...since VLC is know for a variety of different file support why not CDG...?? IT would be awesome !!!

thx

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 01 Nov 2006 20:55

The VLC crew is very limited in it's time, and without some japanese guy who loves karaoke joining the team, I doubt you will every see this feature.
Don't use PMs for support questions.

DGMurdockIII
Big Cone-huna
Big Cone-huna
Posts: 534
Joined: 14 Sep 2006 16:46
VLC version: y
Operating System: windows 10 64bit Pro
Contact:

Postby DGMurdockIII » 20 Nov 2006 15:11

me too i like to see this

ozzman32
New Cone
New Cone
Posts: 1
Joined: 09 Jan 2007 20:45

CDG Playback

Postby ozzman32 » 09 Jan 2007 20:49

i would love be able to play back cdg files through vlc media player. i've been searching for the past three months online trying to find a suitable cdg player with no luck. vlc would be the ultimate video player! PLEASE ADD CDG PLAYBACK!

DGMurdockIII
Big Cone-huna
Big Cone-huna
Posts: 534
Joined: 14 Sep 2006 16:46
VLC version: y
Operating System: windows 10 64bit Pro
Contact:

Postby DGMurdockIII » 05 Feb 2007 19:59

please

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 05 Feb 2007 20:22

Really, code it... Or pay someone to do it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

captainkaraoke
New Cone
New Cone
Posts: 1
Joined: 20 Aug 2007 03:00

Re: Karaoke CD+G support?

Postby captainkaraoke » 20 Aug 2007 03:08

I would think that looking at all the posts requesting this feature that it would be beneficial to you to at least think about adding it. To be so adamant as to say, this will never be implemented could alienate a lot of people who otherwise love your program (including me). I would love to see this feature. The results could be phenomenal.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Karaoke CD+G support?

Postby Jean-Baptiste Kempf » 20 Aug 2007 03:31

Yes, we fully understand that. But we are short staffed, so this is not with a very high priority.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Karaoke CD+G support?

Postby Jean-Baptiste Kempf » 29 Sep 2007 11:54

This has been implemented in development versions of VLC.

Would you be able to test?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: Karaoke CD+G support?

Postby CloudStalker » 29 Sep 2007 21:06

However, this has been implemented in latest versions of VLC. can someone test?
Nope. :lol:

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Karaoke CD+G support?

Postby Jean-Baptiste Kempf » 29 Sep 2007 22:08

However, this has been implemented in latest versions of VLC. can someone test?
Nope. :lol:
thx
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jazzsinger56
New Cone
New Cone
Posts: 1
Joined: 07 Oct 2007 02:39

Re: Karaoke CD+G support?

Postby jazzsinger56 » 07 Oct 2007 02:55

Hi j-b,

"This has been implemented in development versions of VLC.

Would you be able to test?"

I've been using vlan since the beginning, and I work with cdg all the time, so I'd be happy to test and report ...

regards,
Cheryl

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Karaoke CD+G support?

Postby Jean-Baptiste Kempf » 08 Oct 2007 05:54

Then use a nightly build version and tell us how it did work, or not....
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke
New Cone
New Cone
Posts: 3
Joined: 23 Oct 2007 11:51

Re: Karaoke CD+G support?

Postby luke » 23 Oct 2007 16:14

Hey,
I've downloaded a few nightly snapshots and CDG support seems to be basically working, all though there are still many problems...

Firstly it seems that in the latest snapshot I tried ( vlc-0.9.0-svn-20071022-0523 ) there has been some sort of regression and CDG playback doesn't work at all. Basically when you click the play button the slider moves and the play time increments, but no video window appears displaying the CDG. Hopefully this is a fairly simple regression, because an earlier snapshot ( vlc-0.9.0-svn-20071015-0002 ) does play back CDGs successfully.

There are a few other rough edges:

* When you open up a CDG file it doesn't play the associated mp3 file - so you get lyrics with no music. Basically .cdg and .mp3 files usually come in pairs. So you will have aaa.cdg and aaa.mp3 sitting in the same directory. The only way to to get both the music playing and lyrics displaying is to go to media -> open file, then choosing your CDG file. While in the open dialog you then have to tick 'show more options' -> tick 'play another media synchronously' and selecting the appropriate mp3 file. This is not really very intuitive - when playing .cdgs it should search for an .mp3 with the same file name, in the same directory as the .cdg and if it exists play it.

* Seeking and Fast forwarding doesn't seem to work very well - this seems to be because my cdg files don't include many key frames - so you just get the text from the point you fast forwarded to drawing all over the old text. Is it possible to just play every intervening frame even when seeking and fast forwarding? I know this will incur a performance hit, but cdgs are so small and simple even old PCs should be able to handle it. How does VLC deal with other video files that have very few key frames?

* The .cdg file extension needs to be added to the open dialogs 'filter' drop down. It probably should be listed under 'media files' and 'video files'.

If somebody can validate my username on trac (its just 'luke' ), I'll enter tickets for these items. All these problems occurred running VLC media player under windows XP. If anybody needs copies of the .cdg files just send me a message and I can e-mail them to you.

Thanks

- Luke

fenrir
Blank Cone
Blank Cone
Posts: 45
Joined: 09 Mar 2004 21:45

Re: Karaoke CD+G support?

Postby fenrir » 23 Oct 2007 17:33

In VLC, you just need to open the mp3 (and not the CDG), then the CDG file will be automatically found for you.
In fact, CDG files act just like a subtitle.
Doing the other way around will be a bit to intrusive in VLC.
Plus, that way you do not even need to add .cdg to the interface ;)

Now about the seeking, yes it is an issue. As there is no index, VLC would need to replay the whole file from start and/or preparse the file to find synchronizations points (none except at the start in my samples). I will have a look but I don't promise anything ;)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Karaoke CD+G support?

Postby Jean-Baptiste Kempf » 23 Oct 2007 19:17

Your trac account is deactivated. And CDG should appear as a registered format in the GUI.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke
New Cone
New Cone
Posts: 3
Joined: 23 Oct 2007 11:51

Re: Karaoke CD+G support?

Postby luke » 24 Oct 2007 01:38

Wow, thanks for the Wow, thanks for the rapid reply. AFAIK selecting the mp3 didn't get the CDG to play. I'll try again tonight with the vlc-0.9.0-svn-20071024-0000-win32 nightly build and report back any problems and enter them into trac.

Thanks

- Luke

luke
New Cone
New Cone
Posts: 3
Joined: 23 Oct 2007 11:51

Re: Karaoke CD+G support?

Postby luke » 25 Oct 2007 15:54

I just tried with vlc-0.9.0-svn-20071025-0000 and all the problems I described still seem to be present. I'll be entering them into trac shortly. Is anybody else having any luck playing CDG with the nightly builds?

Thanks
- Luke

jeffsw6
New Cone
New Cone
Posts: 4
Joined: 20 Mar 2008 17:52

Re: Karaoke CD+G support?

Postby jeffsw6 » 20 Mar 2008 18:29

Dear VideoLAN Team,

I was pleased to see some work on CD+G support in VLC. I would love to use VLC to play and transcode CD+G files. I tried the latest nightly build available to me on the web site, vlc-0.9.0-git-20080320-0003-win32. I opened an MP3 file and it automatically found the CDG subtitles file. Selecting the subtitle file manually also produces both the audio and video (CDG) playback. Using the transcode wizard does not work, and produces the below error text for me. I assume the GUI is building the command string incorrectly?

Code: Select all

File reading failed: VLC could not open the file ""M:\karaoke\T\Tim McGraw\If You're Reading This.mp3" :sub-file="M:/karaoke/T/Tim McGraw/If You're Reading This.cdg" :subsdec-align=0 :freetype-rel-fontsize=16". Your input can't be opened: VLC is unable to open the MRL '"M:\karaoke\T\Tim McGraw\If You're Reading This.mp3" :sub-file="M:/karaoke/T/Tim McGraw/If You're Reading This.cdg" :subsdec-align=0 :freetype-rel-fontsize=16'. Check the log for details.
In the two cases where playback works, the audio works perfectly. The video appears on the screen but only the left-most 1/4th of the video is displayed, and that 1/4th is repeated four times adjacently from left to right. The remaining right-most 3/4th of the content is not shown on the display. I wish I could get the transcode "working" so I could supply an example of the output.

In addition to the video output error, CPU use seems very high while playing MP3+CDG. These figures are relative to my hardware, of course, but I see about 4% CPU usage when playing mpeg4+AAC (iTunes-compatible) videos in VLC. Playing MP3+CDG uses about 25% CPU.

I would be happy to supply a CDG file (as some others have offered) for the developer who has worked on CD+G support, or would also PayPal them so they can purchase a karaoke song from a web site so their test content is properly licensed. I can test this again anytime as well.

Kind regards

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Karaoke CD+G support?

Postby Jean-Baptiste Kempf » 20 Mar 2008 21:26

So basically it works when this is automatic but not if you do it by hand ?

Probably a GUI issue, yes.

About CPU power, well, I think this is difficult to do, sorry, we have to build images from text in CDG...

Can you produce the conmplete log ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 15 guests