Skip to content

Instantly share code, notes, and snippets.

@tudorprodan
Created May 15, 2012 12:05
Show Gist options
  • Save tudorprodan/ccf5fa6eaa11b3a39709 to your computer and use it in GitHub Desktop.
Save tudorprodan/ccf5fa6eaa11b3a39709 to your computer and use it in GitHub Desktop.
ffprobe -loglevel error -print_format json -show_error -show_streams -show_format test_480x320_10fpx_80q.flv
{
    "streams": [
        {
            "index": 0,
            "codec_name": "flv",
            "codec_long_name": "Flash Video (FLV) / Sorenson Spark / Sorenson H.263",
            "codec_type": "video",
            "codec_time_base": "1/1000",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 352,
            "height": 235,
            "has_b_frames": 0,
            "pix_fmt": "yuv420p",
            "level": -99,
            "r_frame_rate": "1000/1",
            "avg_frame_rate": "0/0",
            "time_base": "1/1000",
            "start_time": "0.055000"
        },
        {
            "index": 1,
            "codec_name": "nellymoser",
            "codec_long_name": "Nellymoser Asao",
            "codec_type": "audio",
            "codec_time_base": "1/8000",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "s16",
            "sample_rate": "8000",
            "channels": 1,
            "bits_per_sample": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/1000",
            "start_time": "0.000000"
        }
    ],
    "format": {
        "filename": "test_480x320_10fpx_80q.flv",
        "nb_streams": 2,
        "format_name": "flv",
        "format_long_name": "FLV format",
        "start_time": "0.000000",
        "duration": "4.992000",
        "size": "269542",
        "bit_rate": "431958",
        "tags": {
            "server": "Red5 Server 1.0.0 RC2 Rev: 4315",
            "creationdate": "Thu Apr 26 15:47:49 EEST 2012",
            "canSeekToEnd": "true"
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment