Skip to content

Instantly share code, notes, and snippets.

@akiyan
Last active August 29, 2015 13:58
Show Gist options
  • Save akiyan/9947820 to your computer and use it in GitHub Desktop.
Save akiyan/9947820 to your computer and use it in GitHub Desktop.
横長動画の `avprobe -show_format -show_streams` result
$ avprobe -show_format -show_streams 3.mp4
avprobe version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2007-2013 the Libav developers
  built on Feb  6 2014 20:56:59 with gcc 4.6.3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2014-02-28 00:42:29
    encoder         : 7.0.4
    encoder-jpn     : 7.0.4
    date            : 2014-02-28T09:42:29+0900
    date-jpn        : 2014-02-28T09:42:29+0900
  Duration: 00:00:01.53, start: 0.000000, bitrate: 727 kb/s
    Stream #0.0(und): Video: h264 (Baseline), yuv420p, 480x360, 655 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc
    Metadata:
      creation_time   : 2014-02-28 00:42:29
    Stream #0.1(und): Audio: aac, 44100 Hz, mono, s16, 59 kb/s
    Metadata:
      creation_time   : 2014-02-28 00:42:29
[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
pix_fmt=yuv420p
level=30
r_frame_rate=30000/1001
avg_frame_rate=27000/901
time_base=1/600
start_time=0.000000
duration=1.501667
nb_frames=45
TAG:creation_time=2014-02-28 00:42:29
TAG:language=und
[/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_rate=44100.000000
channels=1
bits_per_sample=0
r_frame_rate=0/0
avg_frame_rate=11025/256
time_base=1/44100
start_time=0.000000
duration=1.532517
nb_frames=66
TAG:creation_time=2014-02-28 00:42:29
TAG:language=und
[/STREAM]
[FORMAT]
filename=3.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.532517
size=139268.000000
bit_rate=727002.000000
TAG:major_brand=qt
TAG:minor_version=0
TAG:compatible_brands=qt
TAG:creation_time=2014-02-28 00:42:29
TAG:encoder=7.0.4
TAG:encoder-jpn=7.0.4
TAG:date=2014-02-28T09:42:29+0900
TAG:date-jpn=2014-02-28T09:42:29+0900
[/FORMAT]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment