Pregunta

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.

¿Fue útil?

Solución

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

Otros consejos

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.

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top