stahlo
10-12-2003, 10:01 AM
Hi
I wanna extract the header information of wmv-files under linux but I didnīt find such a program.
Does anyone know a (commandline)program which extracts headerinformation like playtime, resolution, used codec... ?
My goal is to get this data into a php-script. So I donīt mind if someone has a solution to extract these data directly with php. (I also didnīt find such a php-class which would serve my needs)
Greets and THX4help
Tom
MattG
10-12-2003, 12:26 PM
Im not sure if this program does it..but you might want to check it out.
mplayer for linux.
i can play videos under console and stuff, kinda neat, it MIGHT provide the information you require...other than that, i have no idea =]
stahlo
10-12-2003, 02:12 PM
Hmm... I think mplayer needs an x-server. But I need the info on a system on which no x-server is running. Do you know if mplayer does the information-job without xserver?
Otherwise Iīll test it out.
THX for help so far :)
Mictlantecuhtli
10-12-2003, 04:49 PM
Mplayer won't do anything without X. Try getID3() (http://getid3.sourceforge.net/) instead.
stahlo
10-12-2003, 06:05 PM
Oh yesssss :D
Thatīs what I was looking for! I searched many php-sites but never came to that.
Many THX :)
Phantasm66
10-12-2003, 06:18 PM
Originally posted by Mictlantecuhtli
Mplayer won't do anything without X. Try getID3() (http://getid3.sourceforge.net/) instead.
Well done, Mictlantecuhtli :) .