|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The metadata of a media file. |
||
| VideoStreamInfoList |
array |
The video stream information. |
|
|
object |
The video stream metadata. |
||
| Rotate |
string |
The rotation angle applied to the video. Valid values: 0, 90, 180, and 270. Default value: 0. |
0 |
| Codec_tag |
string |
The tag of the codec. |
0x001b |
| Sar |
string |
The sample aspect ratio. |
478:477 |
| Start_time |
string |
The start time of the stream. |
1.473556 |
| Fps |
string |
The frame rate. |
25.0 |
| Index |
string |
The index of this stream within the file. |
0 |
| Duration |
string |
The duration of the stream. Unit: seconds. |
403.039989 |
| Lang |
string |
The language code for the stream. |
cn |
| Codec_long_name |
string |
The full name of the codec. |
H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 |
| PixFmt |
string |
The pixel format. |
yuv420p |
| Bit_rate |
string |
The bitrate. |
888.563 |
| Profile |
string |
The codec profile. |
High |
| Has_b_frames |
string |
Indicates whether the video stream contains B-frames. Valid value:
|
2 |
| Codec_time_base |
string |
The time base used by the codec. |
1/50 |
| Dar |
string |
The display aspect ratio. |
16:9 |
| Avg_fps |
string |
The average frame rate. |
25.0 |
| Codec_tag_string |
string |
The tag of the codec. |
[27][0][0][0] |
| Codec_name |
string |
The short name of the codec. |
h264 |
| Height |
string |
The height of the video stream, in pixels. |
478 |
| Level |
string |
The codec level. |
31 |
| Time_base |
string |
The time base of the stream's presentation timestamps. |
1/90000 |
| Width |
string |
The width of the video stream, in pixels. |
848 |
| NumFrames |
string |
The total number of frames. |
10040 |
| AudioStreamInfoList |
array |
The audio stream information. |
|
|
object |
The audio stream metadata. |
||
| CodecTag |
string |
The tag of the codec. |
0x000f |
| CodecTimeBase |
string |
The time base used by the codec. |
1/44100 |
| ChannelLayout |
string |
The layout of the audio channels. |
stereo |
| StartTime |
string |
The start time of the stream. Unit: seconds. |
1.473556 |
| Index |
string |
The index of this stream within the file. |
1 |
| Duration |
string |
The duration of the stream. Unit: seconds. |
403.039989 |
| Lang |
string |
The language code for the stream. |
cn |
| SampleFmt |
string |
The audio sample format. |
fltp |
| CodecName |
string |
The short name of the codec. |
aac |
| Bitrate |
string |
The bitrate. |
0.f |
| Channels |
string |
The number of audio channels. |
2 |
| Timebase |
string |
The time base of the stream's presentation timestamps. |
1/90000 |
| CodecTagString |
string |
The tag of the codec. |
[15][0][0][0] |
| SampleRate |
string |
The sample rate. Unit: Hz. |
44100 |
| CodecLongName |
string |
The full name of the codec. |
AAC (Advanced Audio Coding) |
| FileBasicInfo |
object |
The basic information of the media file. |
|
| FileUrl |
string |
The URL of the file. |
http://bucket.oss-cn-shanghai.aliyuncs.com/path/to/file.m3u8 |
| FileStatus |
string |
The status of the file. |
Normal |
| MediaId |
string |
The ID of the media asset. |
9066406c306771f0bfa35107e0c90102 |
| FileType |
string |
Indicates if this is the source or a transcoded output. Valid values: source_file and transcode_file. |
source_file |
| FileName |
string |
The name of the file. |
file.m3u8 |
| Region |
string |
The storage region of the file. |
cn-shanghai |
| FormatName |
string |
The container format name. |
hls,applehttp |
| Duration |
string |
The total duration of the media file. Unit: seconds. |
403.039999 |
| Height |
string |
The height of the video, in pixels. |
478 |
| Bitrate |
string |
The video bitrate. |
888.563 |
| Width |
string |
The width of the video, in pixels. |
848 |
| FileSize |
string |
The file size. Unit: bytes. |
31737 |
该文章对您有帮助吗?