[MEncoder-users] How to determine the codec of AVI file

Michel Bardiaux mbardiaux at mediaxim.be
Fri Jan 4 13:53:34 CET 2008


James Hastings-Trew a écrit :
> Dave M G wrote:
>> Nicolas,
>>
>> Thank you for responding.
>>
>>  > ... but the -i option would have prevented file from giving
>>   
>>> useful information if it could.
>>>     
>> Oh... sorry. Is this more helpful?
>>
>> $ file video.avi
>> video.avi: data
>>
>> My friend swears that these files play on his Windows machine, but 
>> perhaps there is something being garbled when he burns it to CD for me.
>>   
> There is a free utility for windows called GSpot that tell you what 
> codecs are required for a particular AVI file. Your windows-using friend 
> could possibly download that, install it, and use it on his files and 
> tell you the results.
> 
> Reminder: AVI is only a container format - the video or audio track(s) 
> contained within could be compressed with any of a bewildering number of 
> codecs. Saying it's an AVI file is like describing a letter by talking 
> about the kind of paper the envelope is made of.
> 
I would be surprised if the file were an AVI container to begin with; in 
that case I think "file"would have reported it as RIFF.

Try od -bc video.avi | head -20

-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/



More information about the MEncoder-users mailing list