Results 1 to 5 of 5
Hello,
I've been getting information from .avi files with avinfo.
I would like to know if there is a way to do a "ls" command and get file/duration/size
Joao...
- 03-01-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 0
How to get info (size, duration) from media files (.wav .avi)
Hello,
I've been getting information from .avi files with avinfo.
I would like to know if there is a way to do a "ls" command and get file/duration/size
Joao
- 03-01-2010 #2
as far as file size, sure ls can give you that:
leaving the -h will give you byte count. as far as duration, ls will not give you this infoCode:ls -lah filename.avi
linux user # 503963
- 03-01-2010 #3Just Joined!
- Join Date
- Mar 2010
- Posts
- 0
- 03-01-2010 #4
A good tool for getting all manner of information regarding video files is mediainfo.
- 03-01-2010 #5
if you have vlc installed, you might be able to get the info you want from it, but you will have to play around with it.
Chapter*4.* The command line interfacelinux user # 503963


Reply With Quote

