问题
Is there a way to get QuickTime video information? (In googling it, I found one cl option for QT that was broken.)
I am looking to find pasp, length, audio channels, audio assignment, clap, and an assortment of other properties that is often found using the program "Dumpster". Most of this information is unavailable using ffmpeg.
回答1:
Using an QuickTime sample from Apple site I can even get the ouput in a nicely JSON format:
ffprobe -v quiet -print_format json -show_format sample_iTunes.mov
{
"format": {
"filename": "sample_iTunes.mov",
"nb_streams": 2,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"start_time": "0.000000",
"duration": "85.500000",
"size": "3284257",
"bit_rate": "307298",
"tags": {
"major_brand": "qt ",
"minor_version": "537199360",
"compatible_brands": "qt ",
"creation_time": "2005-10-17 22:54:32"
}
}
}
I've used ffprobe version 1.0.7
回答2:
Mediainfo is a nice utility, http://mediainfo.sourceforge.net/en .It will give some of the info you need. Also look at ffprobe, It takes options like -show_streams and -show_frames to get more details.
回答3:
Here is one option: http://omino.com/sw/qt_tools/
Though the program itself is broken, if you run $ pieces/bin/qt_info <.mov file>
it will give you some nice information.
来源:https://stackoverflow.com/questions/14062891/get-quicktime-video-info