MovieCodec

Post Reply


Post Reply
Your name:


Forum:
File Types

Topic:
AMV file format specifications

Message:


Smileys:


Spam prevention:





Click only once, it may take up to 30 seconds to post.
By submitting this form you agree to our posting rules, privacy policy and our disclaimer.

Topic Review (Latest First)

Posted by joolz-asf-dev-tools
18 Mar 2008 03:13 am

@ Tom-from-amv-codec-tools

Why have you compiled against an upstream version of GLIBC?

./amv-ffmpeg: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by ./amv-ffmpeg)



You should compile against an older version of GLIBC as the majority of distros are still on GLIBC_2.0 (if they have moved from 1.x that is)

This is an un-resolvable error on all but gentoo and ubuntu systems.

BAMVC is using the same amv-ffmpeg version and generating the same error

Posted by Panzer
31 Jan 2008 01:03 pm

Get a free linux/windows amv encoder at www.bytessence.com

see under products page, it’s called BAMVC (bytessence amv converter). u can set a lots of options and it’s open source.

Posted by J_G22
25 Nov 2007 04:32 pm

ummm yes,i have a comment.what the heck are you talking about? i dont speak computer so can someone put it in not smart words?

Posted by starr
13 Nov 2007 04:45 pm

i just got a mp4 player and it came with the amv converter and it wont work any body got any other ideas when ive tired looking for amv converters online i just get the one ive already have emial if you got any suggestions starr925@hotmail.com

Posted by AdamClements
31 Oct 2007 02:20 pm

i’m thinking of buying an S1mp3 player and wondered roughly what the file size of an amv video is, say per minute, in megabytes, or simply how many total minutes a player can store (in 4 gb which is what i will be buying) - mp3 players always boast about how many songs, or minutes worth of songs, can be stored, but havn’t found a single amv player which will...

Posted by Tom from amv-codec-tools
01 Oct 2007 05:45 am

The latest FFmpeg version (from svn) now supports AMV demuxing and decoding. We are almost ready with the AMV muxing and encoding, and we will submit this functionality into ffmpeg one of these days.

If you can’t wait, you can check out our alpha version at http://code.google.com/p/amv-codec-tools/

Posted by dugurama
22 Sep 2007 10:12 pm

http://www.media-convert.com
will convert any file to dot amv
unfortunately it only plays at 30 frames per second
most mp4 players play at 80 fps

Posted by anonymous
22 Jul 2007 11:12 am

If you find more information on this topic, feel free to contact the people at http://www.multimedia.cx. They do a lot of this kind of work (coding and reverse engineering)
I’m sure their page on amv would welcome any input.

Posted by dpavlin
22 Jul 2007 07:22 am

I’m working on Open Source decoder for this file format. It’s writen in perl, and it just extracts jpeg and audio frames.

Code is available at http://svn.rot13.org/index.cgi/amv/

I would appreciate help with audio format: it seems that it’s some variant of ADPCM (and not mp3 frames!), but I haven’t figured out which one (there is 8 bytes of something in front of each ADPCM frame).

Posted by animalz
24 Jun 2007 12:35 am

AMV format is the video format used by the video enabled S1mp3s.

Files of this format are suffixed with ".amv”.

The container format used by AMV files is a modified version of the AVI format.

It has the strings “AVI” and “avih” in the header replaced with “AMV” and “amvh”. The section where codec, frame size, and other information would normally be found is filled with zeroes (because most of that information is hard-coded into the player). The the string “AMV_END_" is found at the end of the file.

There is a big possibility that the AMV movie format used by S1mp3 is a rip of 'Apex Media Video' for Nintendo Game Boy (Color). Older info on it can be found at the Apex Designs page

Apex claim pretty good compression ratios and it is capable of being decoded on GB. It is possible that AMV is a rip-off of that codec, mainly considering both devices work with a Z80-based instruction set.

The company haven’t replied to the email sent about the issue.

AMV Video format isn’t Apex Media Video format, it is simple motion jpeg where each frame is saved as jpeg.

Here is a simple test to understand what’s in the AMV video file.

make an AVI video of total 10 frames using RAW DATA format, at 12fps sized 160x120 without sound
save eche frame to BMP (do not use jpeg now, name them as 01.bmp ~ 10.bmp)
convert the BMP files to JPEG, be careful with the JPEG compress level
convert the AVI file to 160x120, 12fps AMV, again be careful about the Image quality setting which is the JPEG compress level, and set Image Zoom to 0
compare the AMV and JPEG files using a hex editor
You will find jpeg headers inside the AMV file.

Acoording to a comment in a blog post, AMV and MTV are both AVI based (ffmpeg demuxer has proven to be able to handle it, with a few hacks), some chunks are removed, some are modified. The audio stream is MP3 and the video stream is mostly 160xY MPEG4.

Hope this Helps!

Up to ten (10) latest replies / posts from the original topic shown.