Log in

View Full Version : Looking CLI tool to extract MPEG info


evilpenguin
10th May 2006, 15:09
I'm working on a little win32 perl project and I need a CLI tool that I can use to extract mpeg2 information (the perl one doesn't work on win32 :(). Preferably something that I could run, capture the output to a logfile, read back in, and parse out the data I need, i.e. res, bitrate, etc.

So far i've checked out mpgtx, but it seems to choke on HDTV transport streams i'm using. Any other ideas you guys have would be greatly appreciated.

Thanks!

foxyshadis
10th May 2006, 19:52
Mediainfolib is probably the easiest to use and most regularly updated. You might also get mplayer to output stats, but I've had the most success with mediainfo cli. (Built a cheapo custom stats reader/writer with it.)

evilpenguin
10th May 2006, 20:04
Thanks man, that's perfect :D