Page 1 of 1

To what extent is CMML implemented?

Posted: 17 Jan 2008 15:47
by pip25
Greetings! :)

I am currently attempting to test (and later perhaps extend) the CMML language of Annodex as part of a university project, and VLC seemed like a good choice to test the files I have made.
My question is: Are CMML features fully implemented within VLC, and if so, how can they be accessed through the player? When opening a few axv files I have made, I did not notice any new UI options - for example for accessing the link associated with the current clip within the attached CMML file. When checking out the source code, I did found a source file that is supposed to implement the opening of the link in a new browser window, but how can that part of the program be accessed?

Thank you for your help in advance,

Steven Peter Papp

Re: To what extent is CMML implemented?

Posted: 17 Jan 2008 18:48
by Jean-Baptiste Kempf
No clearly not.
CMML support in VLC is unknown because the module doesn't compile anymore. Some work on that would be MORE than welcome.

If you are interested, say so, and we can help you work on that.

Re: To what extent is CMML implemented?

Posted: 18 Jan 2008 08:32
by pip25
Thanks for the quick reply.

I was planning on messing around with the CMML module sooner or later, so I would gladly help getting it to work with the current version of VLC.
I am curious though about what did you mean by the module not compiling - it seems to compile fine under Cygwin. Was the module API changed after the CMML module was introduced?

Re: To what extent is CMML implemented?

Posted: 18 Jan 2008 09:21
by Jean-Baptiste Kempf
Heu heu. I think it doesn't compile on trunk. What version of VLC are you compiling ?

If you are compiling on 0.8.6 and it works then it will be easy to adapt I guess...

So maybe I was wrong. :D

BTw, DON'T work on a non-trunk version.

Re: To what extent is CMML implemented?

Posted: 18 Jan 2008 12:01
by pip25
I was using the 0.8.6c source. I am downloading the trunk version right now to see what's wrong...
Edit: The trunk version needs gettext 0.16.1, so using Cygwin won't work at the moment. I'll try this under Linux when I get home.

Re: To what extent is CMML implemented?

Posted: 18 Jan 2008 17:11
by pip25
In the end, I manually compiled gettext 0.16.1 and managed to configure the trunk source. I also got CMML to compile! :)

1. After configuring, I went to the modules/codec/cmml folder, and tried building just that. It stopped with an error message saying that it is missing libvlc.la from the src directory.
2. I ran make in the src directory. It finished without problems.
3. I tried running make in the cmml directory again. This time it compiled normally.
4. I built the entire thing (worked), then cleaned the cmml directory, and rebuilt. (the build still succeeded)
(On a side note, VLC seems to freeze when used, so something surely isn't right, but I doubt it has much to do with the CMML module itself.)
5. After cleaning, I am currently trying to rebuild VLC without building some of its parts manually beforehand. Although, seeing that the src directory is built first, I doubt I am going to run into problems.

Re: To what extent is CMML implemented?

Posted: 18 Jan 2008 23:34
by Jean-Baptiste Kempf
I was using the 0.8.6c source. I am downloading the trunk version right now to see what's wrong...
Edit: The trunk version needs gettext 0.16.1, so using Cygwin won't work at the moment. I'll try this under Linux when I get home.
Edit configure.ac, change 0.16.1 as 0.15 and profit. :D

Re: To what extent is CMML implemented?

Posted: 18 Jan 2008 23:35
by Jean-Baptiste Kempf
Ok, then great :D

Re: To what extent is CMML implemented?

Posted: 22 Jan 2008 10:13
by pip25
Just one more thing: The 0.8.6c and 0.8.6d source distributions are both missing the "HACKING" file from the cmml directory which can be found in the trunk. This file actually contains the answer to my original question about the CMML module's capabilities. :)

Re: To what extent is CMML implemented?

Posted: 22 Jan 2008 17:49
by Jean-Baptiste Kempf
Mouhahah

That is why you should always use Subversion versions.

Sorry, I didn't know that.