Header information of .wmv/.asf-files under Linux

By stahlo · 5 replies
Oct 12, 2003
  1. 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

  2. MattG

    MattG TS Rookie Posts: 140

    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 =]
  3. stahlo

    stahlo TS Rookie Topic Starter

    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 :)
  4. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    Mplayer won't do anything without X. Try getID3() instead.
  5. stahlo

    stahlo TS Rookie Topic Starter

    Oh yesssss :D

    That´s what I was looking for! I searched many php-sites but never came to that.

    Many THX :)
  6. Phantasm66

    Phantasm66 TS Rookie Posts: 5,734   +8

    Well done, Mictlantecuhtli :) .
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...