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

Michel Bardiaux mbardiaux at mediaxim.be
Fri Jan 4 15:23:59 CET 2008


Dave M G a écrit :
> Michel, James, Leopold,
> 
> Thank you for responding.
> 
> I didn't really want to admit to my friend that some file that played on 
> Windows wouldn't play on Linux, so I was willing to try and hammer at 
> this for a while. But now I think there is something seriously wrong 
> here that is beyond simple codec or format issues.
> 
> In any case, here are the outputs of the commands suggested.
> 
> $ mplayer -identify video.avi
> MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 6, Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote 
> control.
> Playing video.avi.
> MPlayer interrupted by signal 2 in module: demux_open
> ID_SIGNAL=2
> 
> $ od -bc video.avi | head -20
> 0000000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
>           \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
> *
> 1275220000
> 
This is definitely not an AVI. The dump should begin with something like

0000000 122 111 106 106 116 355 112 000 101 126 111 040 114 111 123 124
           R   I   F   F   N   í   J  \0   A   V   I       L   I   S   T
0000020 200 042 000 000 150 144 162 154 141 166 151 150 070 000 000 000
         200   "  \0  \0   h   d   r   l   a   v   i   h   8  \0  \0  \0

AAMOF od says the file is all zeroes. Makes one wonder how Windows can 
play it!

-- 
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