Skip to content

Instantly share code, notes, and snippets.

@edthix
Created January 23, 2018 08:17
Show Gist options
  • Save edthix/9c7b6f91a5b81505de3075ca10ac7435 to your computer and use it in GitHub Desktop.
Save edthix/9c7b6f91a5b81505de3075ca10ac7435 to your computer and use it in GitHub Desktop.
Some video xml
<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo
version="0.1"
ref="../Videos/WCKKDEMO.mp4">
<File>
<track type="General">
<Count>325</Count>
<Count_of_stream_of_this_kind>1</Count_of_stream_of_this_kind>
<Kind_of_stream>General</Kind_of_stream>
<Kind_of_stream>General</Kind_of_stream>
<Stream_identifier>0</Stream_identifier>
<Count_of_video_streams>1</Count_of_video_streams>
<Count_of_audio_streams>1</Count_of_audio_streams>
<Video_Format_List>AVC</Video_Format_List>
<Video_Format_WithHint_List>AVC</Video_Format_WithHint_List>
<Codecs_Video>AVC</Codecs_Video>
<Video_Language_List>English</Video_Language_List>
<Audio_Format_List>AAC</Audio_Format_List>
<Audio_Format_WithHint_List>AAC</Audio_Format_WithHint_List>
<Audio_codecs>AAC LC-SBR</Audio_codecs>
<Audio_Language_List>English</Audio_Language_List>
<Complete_name>../Videos/WCKKDEMO.mp4</Complete_name>
<Folder_name>../Videos</Folder_name>
<File_name>WCKKDEMO</File_name>
<File_extension>mp4</File_extension>
<Format>MPEG-4</Format>
<Format>MPEG-4</Format>
<Format_Extensions_usually_used>mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v</Format_Extensions_usually_used>
<Commercial_name>MPEG-4</Commercial_name>
<Format_profile>Base Media / Version 2</Format_profile>
<Internet_media_type>video/mp4</Internet_media_type>
<Codec_ID>mp42</Codec_ID>
<Codec_ID>mp42 (mp42/mp41)</Codec_ID>
<Codec_ID_Url>http://www.apple.com/quicktime/download/standalone.html</Codec_ID_Url>
<CodecID_Compatible>mp42/mp41</CodecID_Compatible>
<Codec>MPEG-4</Codec>
<Codec>MPEG-4</Codec>
<Codec_Extensions_usually_used>mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v</Codec_Extensions_usually_used>
<File_size>643319</File_size>
<File_size>628 KiB</File_size>
<File_size>628 KiB</File_size>
<File_size>628 KiB</File_size>
<File_size>628 KiB</File_size>
<File_size>628.2 KiB</File_size>
<Duration>20560</Duration>
<Duration>20s 560ms</Duration>
<Duration>20s 560ms</Duration>
<Duration>20s 560ms</Duration>
<Duration>00:00:20.560</Duration>
<Duration>00:00:20:14</Duration>
<Duration>00:00:20.560 (00:00:20:14)</Duration>
<Overall_bit_rate_mode>VBR</Overall_bit_rate_mode>
<Overall_bit_rate_mode>Variable</Overall_bit_rate_mode>
<Overall_bit_rate>250319</Overall_bit_rate>
<Overall_bit_rate>250 Kbps</Overall_bit_rate>
<Frame_rate>25.000</Frame_rate>
<Frame_rate>25.000 fps</Frame_rate>
<Frame_count>514</Frame_count>
<Stream_size>48625</Stream_size>
<Stream_size>47.5 KiB (8%)</Stream_size>
<Stream_size>47 KiB</Stream_size>
<Stream_size>47 KiB</Stream_size>
<Stream_size>47.5 KiB</Stream_size>
<Stream_size>47.49 KiB</Stream_size>
<Stream_size>47.5 KiB (8%)</Stream_size>
<Proportion_of_this_stream>0.07558</Proportion_of_this_stream>
<HeaderSize>48286</HeaderSize>
<DataSize>595033</DataSize>
<FooterSize>0</FooterSize>
<IsStreamable>Yes</IsStreamable>
<Encoded_date>UTC 2014-10-15 08:57:36</Encoded_date>
<Tagged_date>UTC 2014-10-15 08:57:37</Tagged_date>
<File_last_modification_date>UTC 2016-04-26 07:23:42</File_last_modification_date>
<File_last_modification_date__local_>2016-04-26 15:23:42</File_last_modification_date__local_>
<TIM>00:00:00:00</TIM>
<TSC>25</TSC>
<TSZ>1</TSZ>
</track>
<track type="Video">
<Count>334</Count>
<Count_of_stream_of_this_kind>1</Count_of_stream_of_this_kind>
<Kind_of_stream>Video</Kind_of_stream>
<Kind_of_stream>Video</Kind_of_stream>
<Stream_identifier>0</Stream_identifier>
<StreamOrder>0</StreamOrder>
<ID>1</ID>
<ID>1</ID>
<Format>AVC</Format>
<Format_Info>Advanced Video Codec</Format_Info>
<Format_Url>http://developers.videolan.org/x264.html</Format_Url>
<Commercial_name>AVC</Commercial_name>
<Format_profile>High@L3.1</Format_profile>
<Format_settings>CABAC / 3 Ref Frames</Format_settings>
<Format_settings__CABAC>Yes</Format_settings__CABAC>
<Format_settings__CABAC>Yes</Format_settings__CABAC>
<Format_settings__ReFrames>3</Format_settings__ReFrames>
<Format_settings__ReFrames>3 frames</Format_settings__ReFrames>
<Internet_media_type>video/H264</Internet_media_type>
<Codec_ID>avc1</Codec_ID>
<Codec_ID_Info>Advanced Video Coding</Codec_ID_Info>
<Codec_ID_Url>http://www.apple.com/quicktime/download/standalone.html</Codec_ID_Url>
<Codec>AVC</Codec>
<Codec>AVC</Codec>
<Codec_Family>AVC</Codec_Family>
<Codec_Info>Advanced Video Codec</Codec_Info>
<Codec_Url>http://developers.videolan.org/x264.html</Codec_Url>
<Codec_CC>avc1</Codec_CC>
<Codec_profile>High@L3.1</Codec_profile>
<Codec_settings>CABAC / 3 Ref Frames</Codec_settings>
<Codec_settings__CABAC>Yes</Codec_settings__CABAC>
<Codec_Settings_RefFrames>3</Codec_Settings_RefFrames>
<Duration>20560</Duration>
<Duration>20s 560ms</Duration>
<Duration>20s 560ms</Duration>
<Duration>20s 560ms</Duration>
<Duration>00:00:20.560</Duration>
<Duration>00:00:20:14</Duration>
<Duration>00:00:20.560 (00:00:20:14)</Duration>
<Bit_rate_mode>VBR</Bit_rate_mode>
<Bit_rate_mode>Variable</Bit_rate_mode>
<Bit_rate>200000</Bit_rate>
<Bit_rate>200 Kbps</Bit_rate>
<Width>1280</Width>
<Width>1 280 pixels</Width>
<Height>720</Height>
<Height>720 pixels</Height>
<Sampled_Width>1280</Sampled_Width>
<Sampled_Height>720</Sampled_Height>
<Pixel_aspect_ratio>1.000</Pixel_aspect_ratio>
<Display_aspect_ratio>1.778</Display_aspect_ratio>
<Display_aspect_ratio>16:9</Display_aspect_ratio>
<Rotation>0.000</Rotation>
<Frame_rate_mode>CFR</Frame_rate_mode>
<Frame_rate_mode>Constant</Frame_rate_mode>
<Frame_rate>25.000</Frame_rate>
<Frame_rate>25.000 fps</Frame_rate>
<Frame_count>514</Frame_count>
<Standard>PAL</Standard>
<Resolution>8</Resolution>
<Resolution>8 bits</Resolution>
<Colorimetry>4:2:0</Colorimetry>
<Color_space>YUV</Color_space>
<Chroma_subsampling>4:2:0</Chroma_subsampling>
<Chroma_subsampling>4:2:0</Chroma_subsampling>
<Bit_depth>8</Bit_depth>
<Bit_depth>8 bits</Bit_depth>
<Scan_type>Progressive</Scan_type>
<Scan_type>Progressive</Scan_type>
<Interlacement>PPF</Interlacement>
<Interlacement>Progressive</Interlacement>
<Bits__Pixel_Frame_>0.009</Bits__Pixel_Frame_>
<Stream_size>515008</Stream_size>
<Stream_size>503 KiB (80%)</Stream_size>
<Stream_size>503 KiB</Stream_size>
<Stream_size>503 KiB</Stream_size>
<Stream_size>503 KiB</Stream_size>
<Stream_size>502.9 KiB</Stream_size>
<Stream_size>503 KiB (80%)</Stream_size>
<Proportion_of_this_stream>0.80055</Proportion_of_this_stream>
<Language>en</Language>
<Language>English</Language>
<Language>English</Language>
<Language>en</Language>
<Language>eng</Language>
<Language>en</Language>
<Encoded_date>UTC 2014-10-15 08:57:36</Encoded_date>
<Tagged_date>UTC 2014-10-15 08:57:36</Tagged_date>
<Buffer_size>21000000</Buffer_size>
<Color_range>Limited</Color_range>
<colour_description_present>Yes</colour_description_present>
<Color_primaries>BT.709</Color_primaries>
<Transfer_characteristics>BT.709</Transfer_characteristics>
<Matrix_coefficients>BT.709</Matrix_coefficients>
</track>
<track type="Audio">
<Count>272</Count>
<Count_of_stream_of_this_kind>1</Count_of_stream_of_this_kind>
<Kind_of_stream>Audio</Kind_of_stream>
<Kind_of_stream>Audio</Kind_of_stream>
<Stream_identifier>0</Stream_identifier>
<StreamOrder>1</StreamOrder>
<ID>2</ID>
<ID>2</ID>
<Format>AAC</Format>
<Format_Info>Advanced Audio Codec</Format_Info>
<Commercial_name>AAC</Commercial_name>
<Format_profile>HE-AAC / LC</Format_profile>
<Format_settings__SBR>Yes (Implicit)</Format_settings__SBR>
<Format_settings__SBR>Yes (Implicit)</Format_settings__SBR>
<Codec_ID>40</Codec_ID>
<Codec>AAC LC-SBR</Codec>
<Codec>AAC LC-SBR</Codec>
<Codec_Family>AAC</Codec_Family>
<Codec_CC>40</Codec_CC>
<Duration>20560</Duration>
<Duration>20s 560ms</Duration>
<Duration>20s 560ms</Duration>
<Duration>20s 560ms</Duration>
<Duration>00:00:20.560</Duration>
<Duration>00:00:20:22</Duration>
<Duration>00:00:20.560 (00:00:20:22)</Duration>
<Source_duration>20693</Source_duration>
<Source_duration>20s 693ms</Source_duration>
<Source_duration>20s 693ms</Source_duration>
<Source_duration>20s 693ms</Source_duration>
<Source_duration>00:00:20.693</Source_duration>
<Bit_rate_mode>VBR</Bit_rate_mode>
<Bit_rate_mode>Variable</Bit_rate_mode>
<Bit_rate>30931</Bit_rate>
<Bit_rate>30.9 Kbps</Bit_rate>
<Maximum_bit_rate>50625</Maximum_bit_rate>
<Maximum_bit_rate>50.6 Kbps</Maximum_bit_rate>
<Channel_s_>2</Channel_s_>
<Channel_s_>2 channels</Channel_s_>
<Channel_positions>Front: L R</Channel_positions>
<Channel_positions>2/0/0</Channel_positions>
<ChannelLayout>L R</ChannelLayout>
<Samples_per_frame>1024</Samples_per_frame>
<Sampling_rate>48000 / 24000</Sampling_rate>
<Sampling_rate>48.0 KHz / 24.0 KHz</Sampling_rate>
<Samples_count>986880</Samples_count>
<Frame_rate>23.438</Frame_rate>
<Frame_rate>23.438 fps (1024 spf)</Frame_rate>
<Frame_count>482</Frame_count>
<Source_frame_count>485</Source_frame_count>
<Compression_mode>Lossy</Compression_mode>
<Compression_mode>Lossy</Compression_mode>
<Stream_size>79686</Stream_size>
<Stream_size>77.8 KiB (12%)</Stream_size>
<Stream_size>78 KiB</Stream_size>
<Stream_size>78 KiB</Stream_size>
<Stream_size>77.8 KiB</Stream_size>
<Stream_size>77.82 KiB</Stream_size>
<Stream_size>77.8 KiB (12%)</Stream_size>
<Proportion_of_this_stream>0.12387</Proportion_of_this_stream>
<Source_stream_size>80009</Source_stream_size>
<Source_stream_size>78.1 KiB (12%)</Source_stream_size>
<Source_stream_size>78 KiB</Source_stream_size>
<Source_stream_size>78 KiB</Source_stream_size>
<Source_stream_size>78.1 KiB</Source_stream_size>
<Source_stream_size>78.13 KiB</Source_stream_size>
<Source_stream_size>78.1 KiB (12%)</Source_stream_size>
<Source_StreamSize_Proportion>0.12437</Source_StreamSize_Proportion>
<Language>en</Language>
<Language>English</Language>
<Language>English</Language>
<Language>en</Language>
<Language>eng</Language>
<Language>en</Language>
<Encoded_date>UTC 2014-10-15 08:57:36</Encoded_date>
<Tagged_date>UTC 2014-10-15 08:57:36</Tagged_date>
</track>
</File>
</Mediainfo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment