What's a good C++ library for parsing AMF3?
2 Answers
Based on some simple research, libamfx doesn't support AMF3 and amf3cplusplus isn't a complete implementation of the specs, although it may work for your needs. There don't appear to be any pure-C libraries, so the next place to look would be C language extensions.
There is a fully functional AMF implementation in C for PHP (AMFEXT), a C implementation for Python (PyAMF), one for Objective-C (Cocoa-AMF), and one for Ruby (RocketAMF). However, none of these are going to be drop-in solutions.
Your best bet would be to try out amf3cplusplus and see if it does what you want. If it doesn't, RocketAMF is probably going to be the easiest to use as a starting point, in terms of readability and replacing the language-specific code with C++ data structures.

- 955
- 5
- 6
-
I tried to use amf3cplusplus but it can't parse amf-files I have. I guess there are elements this parser doesn't support. I'll try RocketAMF – Lenar Sep 09 '11 at 15:06
I understood that libamfx actualy good. Did you try it ?

- 66
- 3
-
libamfx doesn't support AMF3, so it's not going to work for his needs. – warhammerkid Sep 08 '11 at 15:23
-
Hi Mihai, I have a problem using libamfx, see http://code.google.com/p/libamfx/issues/detail?id=3 – Peter Lee Jun 06 '12 at 17:25
-