Search code examples
macosvideoffmpegquicktime

Get Quicktime Video Info


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.


Solution

  • 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