Skip to content

Instantly share code, notes, and snippets.

@akiyan
Created April 3, 2014 04:36
Show Gist options
  • Save akiyan/9948326 to your computer and use it in GitHub Desktop.
Save akiyan/9948326 to your computer and use it in GitHub Desktop.
縦長動画の `ffprobe -show_format -show_streams` result, ffmpeg 2.2.0 (0.10.11-7:0.10.11-1~precise1)
$ ffprobe -show_format -show_streams 8.mp4
ffprobe version 0.10.11-7:0.10.11-1~precise1 Copyright (c) 2007-2014 the FFmpeg developers
  built on Feb  6 2014 16:53:05 with gcc 4.6.3
  configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.11-1~precise1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '8.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2014-04-03 03:33:31
    encoder         : 7.1
    encoder-jpn     : 7.1
    date            : 2014-04-03T12:33:31+0900
    date-jpn        : 2014-04-03T12:33:31+0900
  Duration: 00:00:01.36, start: 0.000000, bitrate: 784 kb/s
    Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 480x360, 698 kb/s, 29.96 fps, 29.97 tbr, 600 tbn, 1200 tbc
    Metadata:
      rotate          : 90
      creation_time   : 2014-04-03 03:33:31
      handler_name    :
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 59 kb/s
    Metadata:
      creation_time   : 2014-04-03 03:33:31
      handler_name    :
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
codec_type=video
codec_time_base=1/1200
codec_tag_string=avc1
codec_tag=0x31637661
width=480
height=360
has_b_frames=0
sample_aspect_ratio=N/A
display_aspect_ratio=N/A
pix_fmt=yuv420p
level=30
timecode=N/A
is_avc=1
nal_length_size=4
id=N/A
r_frame_rate=30000/1001
avg_frame_rate=24600/821
time_base=1/600
start_time=0.000000
duration=1.368333
nb_frames=41
TAG:rotate=90
TAG:creation_time=2014-04-03 03:33:31
TAG:language=und
TAG:handler_name=
[/STREAM]
[STREAM]
index=1
codec_name=aac
codec_long_name=Advanced Audio Coding
codec_type=audio
codec_time_base=1/44100
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=s16
sample_rate=44100
channels=1
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=11025/256
time_base=1/44100
start_time=0.000000
duration=1.369977
nb_frames=59
TAG:creation_time=2014-04-03 03:33:31
TAG:language=und
TAG:handler_name=
[/STREAM]
[FORMAT]
filename=8.mp4
nb_streams=2
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
start_time=0.000000
duration=1.369977
size=134353
bit_rate=784556
TAG:major_brand=qt
TAG:minor_version=0
TAG:compatible_brands=qt
TAG:creation_time=2014-04-03 03:33:31
TAG:encoder=7.1
TAG:encoder-jpn=7.1
TAG:date=2014-04-03T12:33:31+0900
TAG:date-jpn=2014-04-03T12:33:31+0900
[/FORMAT]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment