> Did you try ffprobe? Or mplayer -identify? I was using -identify, it could only output the info of the current stream. And also I need some customized format of the output to make ease of the parsing. I didn't give a try of ffprobe.