In reply to fede re [transcode-users] avifix doesn't write fix:

> I'm new to the list, hello :)
> I have to fix many avi files in a folder, just discovered transcode and
> avifix. Wow sounds the right tool to create an easy script, but got a
> problem.
> 
> $ md5sum mydivx.avi
> 1f7ba1eee5b2b7009274c3cd2cec6d6f
> 
> $ avifix -i "mydivx.avi"
> [avifix] scanning AVI-file mydivx.avi for header information
> [avilib.c] Reconstructing index...
> [avilib.c] done. nvi=95069 nai=95057 tot=45632640
> [avilib] V: 25.000 fps, codec=DIV3, frames=95069, width=512, height=288
> [avilib] A: 48000 Hz, format=0x55, bits=0, channels=2, bitrate=96 kbps,
> [avilib]    95057 chunks, 45632640 bytes, CBR
> [avilib.c] Reconstructing index...
> [avilib.c] done. nvi=95069 nai=95057 tot=45632640
> [avifix] updated AVI file mydivx.avi
> [avilib] V: 25.000 fps, codec=DIV3, frames=95069, width=512, height=288
> [avilib] A: 48000 Hz, format=0x55, bits=0, channels=2, bitrate=96 kbps,
> [avilib]    95057 chunks, 45632640 bytes, CBR
> 
> $ md5sum mydivx.avi
> 1f7ba1eee5b2b7009274c3cd2cec6d6f
> 
> The file is always the same!!
> 
> 

That's because you haven't told avifix what parameter to "fix"; you need to use 
at least one of -F, -f, -N, -b, -e and -a.

-- 
Geoff

Reply via email to