To what extent is CMML implemented?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pip25
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 15:32
VLC version: 0.8.6c-d
Operating System: Windows/Linux
Location: Hungary

To what extent is CMML implemented?

Postby pip25 » 17 Jan 2008 15:47

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

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: To what extent is CMML implemented?

Postby Jean-Baptiste Kempf » 17 Jan 2008 18:48

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.
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.

pip25
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 15:32
VLC version: 0.8.6c-d
Operating System: Windows/Linux
Location: Hungary

Re: To what extent is CMML implemented?

Postby pip25 » 18 Jan 2008 08:32

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?

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: To what extent is CMML implemented?

Postby Jean-Baptiste Kempf » 18 Jan 2008 09:21

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.
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.

pip25
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 15:32
VLC version: 0.8.6c-d
Operating System: Windows/Linux
Location: Hungary

Re: To what extent is CMML implemented?

Postby pip25 » 18 Jan 2008 12:01

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.

pip25
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 15:32
VLC version: 0.8.6c-d
Operating System: Windows/Linux
Location: Hungary

Re: To what extent is CMML implemented?

Postby pip25 » 18 Jan 2008 17:11

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.

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: To what extent is CMML implemented?

Postby Jean-Baptiste Kempf » 18 Jan 2008 23:34

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
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: To what extent is CMML implemented?

Postby Jean-Baptiste Kempf » 18 Jan 2008 23:35

Ok, then great :D
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.

pip25
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 15:32
VLC version: 0.8.6c-d
Operating System: Windows/Linux
Location: Hungary

Re: To what extent is CMML implemented?

Postby pip25 » 22 Jan 2008 10:13

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. :)

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: To what extent is CMML implemented?

Postby Jean-Baptiste Kempf » 22 Jan 2008 17:49

Mouhahah

That is why you should always use Subversion versions.

Sorry, I didn't know that.
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 “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests