1

I'm looking for a converter that can encode input files to amv format output.

I've found this project, but it looks somewhat outdated and not maintained. And the problem of that is that it supports a very limited variety of input file types.

Do you know of a solid and reliable amv encoder (any API or tool that can be invoked from .NET), or can you recommend on the one I mentioned?

UPDATE

I use FFmpeg for my application for all other types, the problem is that the .AMV format which is a key output file in my app, is not supported by FFmpeg at all.

UPDATE

Anyone has any idea if and how I can merge the outdated amv-codec suggested above with the official FFmpeg?

Update

Are you a C developer willing to contribute?
Please refer to this ticket, it looks like an easy task for a decent C developer.

3
  • 1
    there is no such library in production quality... it can be implemented on top of some low-level functions found in commercial libraries... is that an option ? – Yahia Nov 23 '11 at 20:30
  • @Yahia, the job has to be done. So I believe if I don't have any choice commercial resource are also considerable, the question is how do I invoke it from .NET if I all I know is .NET. – Shimmy Weitzhandler Nov 24 '11 at 20:22
  • Please see my answer below... HTH – Yahia Nov 24 '11 at 20:53
1

.AMV is a proprietary video format that seems to be used for some Chinese MP4 and S1 MP3 players. There doesn't seem to be any alternative, atleast not for FFmpeg, other than amv-codec-tools which you have already linked yourself.

Are there any issues with using the amv-codec-tools besides their age? If they work for you and suit your purposes, why not use them or contribute to them?

Edit: Regarding updating the outdated code with the latest FFmpeg, you could checkout the FFmpeg revision which they used as a base (this one I believe), patch their changes in, then update your checked out copy to the latest and greatest FFmpeg revision.

2
  • The problem with that tool is that the FFmpeg version it uses is really outdated, it's used as an alternative to FFmpeg, not as an addition, that's mainly the problem. – Shimmy Weitzhandler Nov 20 '11 at 9:44
  • Thanks for your update. The problem is I don't know C at all, do you believe I'll still be able to do that? – Shimmy Weitzhandler Nov 27 '11 at 0:43
1
+50

As stated in the comment above there is no production-quality library for this out there...

You will need to implement it on top of some low-level functions available in some commercial libraries...

To do that you will need a format description... there is no official one... AMV is used as a term for two formats (based on AVI as a container, called MTV and ALIAVI etc.) - the following link should give you a good starting point:

Based on the above links and as many sample files you can get you should be able to create a rather good description of the format(s).

Then you can use one or more of the following libraries to develop a codec for it/them:

The libraries I mentioned are all accessible from .NET although you should think about implementing the "heavy lifting" in native code (for performance reasons)...

11
  • Any additional info will be really appreciated. Thanks. – Shimmy Weitzhandler Nov 25 '11 at 0:10
  • @Shimmy additional information is a rather wide field - what kind of additional information are you looking for ? – Yahia Nov 25 '11 at 8:18
  • Anything that will make it easier for me to integrate the AMV converter in my .NET app that currently uses FFmpeg for conversion. I'm afraid I'll have to convert some files twice if they ate not supported in the amv-codec-tools project, its underlying FFmpeg version is very outdated, any suggestions to avoid / how to / best practices on double conversion (i.e. intermediate format etc.) – Shimmy Weitzhandler Nov 27 '11 at 0:42
  • @Shimmy What I described above is NOT to use the amv-codec-tools but take them among other things as an inspiration and write your own AMV "codec" on top of the libraries I listed. When you write your own you can integrate as well as you need/want... – Yahia Nov 27 '11 at 5:51
  • I still didn't find a solution to my issue, but I did find a clue tho. Do you know C? Well I don't, and if you do, I'm sure that you'll be able to help me within just a couple of minutes if you have experience with C projects and Makefiles. I think it is possible to merge these two projects and combine them into on ffmpeg executable. Please checkout this link, I have to find a way to update the current FFmpeg source with the up-to-date FFmpeg, and compile it. If I read the map properly --next comment--->>> – Shimmy Weitzhandler Dec 11 '11 at 0:14
1

Finally!!!

AMV is now officially a part of the new FFmpeg version 9.0 (Harmony), go ahead and download it if you're here looking for it:

http://ffmpeg.org

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.