Un utilitaire bien sympa tcprobe
dont on peut avoir un descriptif à http://www.transcoding.org/cgi-bin/transcode?Tcprobe
Un exemple d'utilisation avec un fichier .mov - issu par exemple de mon appareil numérique-
root@bremko:/home/david/photos# tcprobe -i
/home/david/photos/pict0154.mov - bien utile pour connaître la vidéo et l'audio, la dimension du film, ect...
[tcprobe] Apple QuickTime movie file
[probe_mov.c] audio codec=raw
[probe_mov.c] video codec=jpeg
[tcprobe] summary for /home/david/photos/pict0154.mov, (*) = not default, 0 = not detected
import frame size: -g 640x480 [720x576] (*)
frame rate: -f 30.000 [25.000] frc=5 (*)
audio track: -a 0 [0] -e 7875,8,1 [48000,16,2] -n 0x1 [0x2000] (*)
length: 314 frames, frame_time=33 msec, duration=0:00:10.466
Ou pour un fichier .avi, on aura aussi
root@bremko:/home/david/photos# tcprobe -i ../simba.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 30.000 fps, codec=DX50, frames=510, width=320, height=240
[avilib] A: 7875 Hz, format=0x01, bits=16, channels=1, bitrate=126 kbps,
[avilib] 35 chunks, 267750 bytes, CBR
[tcprobe] summary for ../simba.avi, (*) = not default, 0 = not detected
import frame size: -g 320x240 [720x576] (*)
frame rate: -f 30.000 [25.000] frc=5 (*)
audio track: -a 0 [0] -e 7875,16,1 [48000,16,2] -n 0x1 [0x2000] (*)
bitrate=126 kbps
length: 510 frames, frame_time=33 msec, duration=0:00:17.000