FFmpeg命令行查看的文件参数

命令行敲ffplay xxx.mp4

Input #0,片源信息。mov,mp4,m4a,3gp,3g2,mj2,文件格式。

Metadata,元数据,描述其他数据的数据。

Duration: 00:03:42.47, start: 0.000000, bitrate: 2601 kb/s。时长,片内偏移地址,比特率。

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1016, 2406 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)

视频流,编码为h264,颜色空间为yuv420p,分辨率为1920x1016,比特率2406 kb/s;

fps帧率,

  • tbn= the time base in AVStream that has come from the container,代表文件层(st)的时间精度,即1S=12800,和duration相关;
  • tbc= the time base in AVCodecContext for the codec used for a particular stream,代表视频层(st->codec)的时间精度,即1S=50,和strem->duration和时间戳相关;
  • tbr= tbr is guessed from the video stream and is the value users want to see when they look for the video frame rate,帧率。

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 190 kb/s (default)

音频流,编码为aac,采样率44.1kHz,stereo立体声,AV_SAMPLE_FMT_FLTP格式的数据,码率。

 

发布了46 篇原创文章 · 获赞 6 · 访问量 7182

猜你喜欢

转载自blog.csdn.net/qq_35413770/article/details/105221822