本文介绍了获取Quicktime视频信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法获取QuickTime视频信息? (在搜索中,我发现一个已经被打破的QT选项)。



我正在寻找pasp,长度,音频通道,音频分配,拍手和通常使用程序Dumpster找到各种其他属性。大部分信息不能使用ffmpeg。

解决方案

使用我甚至可以以很好的JSON格式获取输出:

  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 b $ bmajor_brand:qt,
minor_version:537199360,
compatible_brands:qt,
creation_time:2005-10-17 22 :54:32
}
}
}

已经使用ffprobe版本1.0.7


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.

解决方案

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

这篇关于获取Quicktime视频信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 22:12