|
|
HowToConvertToAMV
How to convert video into AMV format
How to convert video into AMV format
Using patched FFmpeg
In common case command line will look like
ffmpeg -i <input> -f amv -s <width>x<height> -r 16 -ac 1 -ar 22050 -qmin 3 -qmax 3 <output>
FFmpeg accepts any picture resolutions, but hardware players supports only:
- 128x90
- 128x128
- 160x120
Input file can be any video format supported by FFmpeg.
Note: if output file has 'amv' extention, -f amv option can be omitted.
Option -r 16 sets framerate to 16 frames/sec (other values seems to be not supported by hardware players).
Options -ac 1 and -ar 22050 sets 22050 Hz mono sound. Other formats are not supported.
Options -qmin 3 and -qmax 3 forces quantizer to be equal to 3. This will give you good quality with acceptable file size.
Example 1. Converting AVI file into AMV with 160x120 picture size:
ffmpeg -i file.avi -s 160x120 -ac 1 -ar 22050 -qmin 3 -qmax 3 file.amv
Sign in to add a comment

I met a error when using ffmpeg, so what's this mean?
Unable to find a suitable output format for 'TITANIC_My_Heart_Will_Go_On?.amv'
have you downloaded the "amv-ffmpeg-linux-i386-20071030" and put it into /usr/bin ?
it's better if you rename this file (#mv amv-ffmpeg-linux-i386-20071030 ffmpeg-amv), give the +x permission to all and then launch the conversion with:
ffmpeg-amv -i file.avi -s 160x120 -ac 1 -ar 22050 -qmin 3 -qmax 3 file.amv
After doing the last suggested thing I met an error ffmpeg-amv ffmpeg-amv: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ffmpeg-amv)
How to overcome it?
Thanks
is it possible to convert amv back into other files? if so please tell me how.
thanks
Hi. In Linux i can convert avi video to amv, but the speed in this amv file is slow and... step by step (i don't know howto explain beter). The command used is: ffmpeg-amv -i fz18.avi -s 160x120 -ac 1 -ar 22050 -qmin 3 -qmax 3 fz18.amv
Any body can help me?
(sorry by my english)
Roman
HI, does anyone have the code to make a amv preset into WinFF?
Hi, I just found this tool and it was exactly what i was looking for to ease transcoding videos to amv.
I'm fairly new to all this, but i found out about avisynth and thought it would be a good way to resize, crop, add borders and/or rotate my videos before feeding them to ffmpeg (i don't know if ffmpeg rotates). I read on an ffmpeg FAQ (http://ffmpeg.mplayerhq.hu/faq.html#SEC28) :
"If you have built FFmpeg with ./configure --enable-avisynth (only possible on MinGW/Cygwin platforms), then you may use any file that DirectShow? can read as input."
Since I use windows and know nothing about compiling, I just wanted to know if this could be included in the windows exe of your project or not at all. Or, if it is possible for me to do it myself, if someone could just point the way ...
thx
I am experiencing the same issues as elproferoman. The playback of the AMV file produced by amv-ffmpeg is choppy and slower than it should be. In my case, I am using the Oasis player by Mach Speed Technologies, and resolution 208x176 since that is the resolution of my player. I will experiment with different frame rates and audio formats, since it is already the case that my player has a higher resolution than the players mentioned in the start of this page.
My player (see above) works at 10 frames per second. The wikipedia page for the format says 12 frames per second has also been seen.
Mi player reproduce formatos: .SMV, es posible con este programa?
Gracias,
I got this to work with my clone iPod, however I found some information on this page is lacking.
Firstly, "-r 16" must be included when I encode my flash videos into AMV in order for them to play on my device.
The resolutions also don't quite make sense... the second "supported" resolution has a height of 128 pixels, yet the largest "supported" resolution only has a height of 120?? It may work, however I tried at 160x128 and it works perfectly (uses all the space on that small screen). The first "supported" resolution seems strange too, because the SQCIF resolution is 128x96 (I tested SQCIF and it worked perfectly, however it didn't use the entire screen).
There are no guarantees that this will work with your device, however here is a practical example based on the command I use to play AMVs on the chinaPod I got in Thailand:
ffmpeg-amv -i '/input/file/here.flv' -s '160x128' -r 16 -ac 1 -ar 22050 -qmin 3 -qmax 3 '/output/file/here.amv'
The following assumptions are made: you got the script from Google and put it in your /usr/bin, you did sudo chmod +x to it and you named it ffmpeg-amv (otherwise replace "ffmpeg-amv" to whatever you named the file), and you want the biggest supported resolution (160x128).
Again, the most important part of the practical example I am posting here is the inclusion of "-r 16".
@b4rr37:
No, Ud. tiene que buscar otro software para codificar sus videos en SMV.
Con este codificador de Google, hice ffmpeg-amv -formats y no aparece el SMV.
(No, SMV isn't supported, see ffmpeg-amv -formats.)
there is a question above: "is it possible to convert amv back into other files? if so please tell me how."
sure it is. but the method specified above scales the frames down do 160x120. this is a picture of the size of a post stamp. so the conversion back to avi/mpeg, although possible, is useless, because your move lacks all the details even if viewed full screen.
To testcoop: I think that you got an older version of the glibc package than 2.4, check that and upgrad if needed.
How can convert in sunplus avi 320x240?