stefano@arborea ~/s/ffmpeg> ffprobe -show_streams -show_packets -of json -select_streams s:0 Dext.mpg
ffprobe version N-45055-g76db791 Copyright (c) 2007-2012 the FFmpeg developers
built on Oct 5 2012 18:52:09 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configuration: --enable-libflite --disable-indevs
libavutil 51. 73.102 / 51. 73.102
libavcodec 54. 63.100 / 54. 63.100
libavformat 54. 29.105 / 54. 29.105
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
{
Input #0, mpeg, from 'Dext.mpg':
Duration: 00:00:13.95, start: 0.200000, bitrate: 10983 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 38810 kb/s, 24.33 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
"packets": [
],
"streams": [
]
}
stefano@arborea ~/s/ffmpeg> ffprobe -show_streams -show_packets -of xml -select_streams s:0 Dext.mpg
ffprobe version N-45055-g76db791 Copyright (c) 2007-2012 the FFmpeg developers
built on Oct 5 2012 18:52:09 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configuration: --enable-libflite --disable-indevs
libavutil 51. 73.102 / 51. 73.102
libavcodec 54. 63.100 / 54. 63.100
libavformat 54. 29.105 / 54. 29.105
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
<?xml version="1.0" encoding="UTF-8"?>
<ffprobe>
Input #0, mpeg, from 'Dext.mpg':
Duration: 00:00:13.95, start: 0.200000, bitrate: 10983 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 38810 kb/s, 24.33 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
<packets>
</packets>
<streams>
</streams>
</ffprobe>
Add a code snippet to your website: www.paste.org