C#编写运行在Linux环境下的采用Mediainfo来获取多媒体文件信息的代码

C#编写运行在Linux环境下的采用Mediainfo来获取多媒体文件信息的代码
原文:C#编写运行在Linux环境下的采用Mediainfo来获取多媒体文件信息的代码

项目开始设计的是运行在windows下,所以一开始采用的是windows服务模式来获取多媒体文件信息,后来要求调整为可以在Linux下运行,经过这两天的资料查找,实现了Linux下通过.NET来获取多媒体文件信息的功能。详情如下:

1、运行环境是CentOS 7

2、编译环境是VS2017+.NET Core2.2 

项目引用 MediaInfo.DotNetWrapper

CentOS下安装以下环境(已安装过的可忽略):

sudo ln -s /usr/lib64/libmediainfo.so.0 /usr/lib64/libmediainfo.so
sudo yum install https://mediaarea.net/download/binary/mediainfo/18.08.1/mediainfo-18.08.1.x86_64.CentOS_7.rpm
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo yum update
sudo yum install dotnet-sdk-2.2

C#运行代码如下:

using log4net;
using log4net.Config;
using log4net.Repository;
using MediaInfo.DotNetWrapper;
using MediaInfo.DotNetWrapper.Enumerations;
using System;
using System.IO;namespace Services
{public class Program{protected static ILog log = LogManager.GetLogger(logRepository.Name, "Program");public static void Main(string[] args){XmlConfigurator.Configure(logRepository, new FileInfo("log4net.config"));using (var mediaInfo =new MediaInfo.DotNetWrapper.MediaInfo()){mediaInfo.Open("123.mpg");string FileType = mediaInfo.Get(StreamKind.Video, 0, "StreamKind");int s = 0;int.TryParse(mediaInfo.Get(StreamKind.Video, 0, "Duration"), out s);log.Debug($"文件类型:{FileType}");log.Debug($"视频长度:{s}");}}}
}

MediaInfo参数大全(转自:http://www.cnblogs.com/royzou/archive/2011/09/06/mediainfo_parameter.html)

以下都是通过Get(StreamKind.***,0,i++,InfoKind.Name)获得的

1.视频参数

Video parameter参数:Count  值:201
参数:Status  值:
参数:StreamCount  值:1
参数:StreamKind  值:Video
参数:StreamKind/String  值:Video
参数:StreamKindID  值:0
参数:StreamKindPos  值:
参数:Inform  值:ID                                       : 1
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L4a
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : 20
Duration                                 : 52s 241ms
Bit rate mode                            : Variable
Bit rate                                 : 2 956 Kbps
Nominal bit rate                         : 2 700 Kbps
Maximum bit rate                         : 3 000 Kbps
Width                                    : 640 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 28.426 fps
Minimum frame rate                       : 14.925 fps
Maximum frame rate                       : 61.224 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.339
Stream size                              : 18.4 MiB (97%)
Encoded date                             : UTC 2011-09-02 02:58:59
Tagged date                              : UTC 2011-09-02 02:58:59参数:ID  值:1
参数:ID/String  值:1
参数:UniqueID  值:
参数:UniqueID/String  值:
参数:MenuID  值:
参数:MenuID/String  值:
参数:Format  值:MPEG-4 Visual
参数:Format/Info  值:
参数:Format/Url  值:
参数:Format_Commercial  值:MPEG-4 Visual
参数:Format_Commercial_IfAny  值:
参数:Format_Version  值:
参数:Format_Profile  值:Simple@L4a
参数:Format_Compression  值:
参数:MultiView_BaseProfile  值:
参数:MultiView_Count  值:
参数:MultiView_Layout  值:
参数:Format_Settings  值:
参数:Format_Settings_BVOP  值:No
参数:Format_Settings_BVOP/String  值:No
参数:Format_Settings_QPel  值:No
参数:Format_Settings_QPel/String  值:No
参数:Format_Settings_GMC  值:0
参数:Format_Settings_GMC/String  值:No warppoints
参数:Format_Settings_Matrix  值:Default (H.263)
参数:Format_Settings_Matrix/String  值:Default (H.263)
参数:Format_Settings_Matrix_Data  值:
参数:Format_Settings_CABAC  值:
参数:Format_Settings_CABAC/String  值:
参数:Format_Settings_RefFrames  值:
参数:Format_Settings_RefFrames/String  值:
参数:Format_Settings_Pulldown  值:
参数:Format_Settings_FrameMode  值:
参数:Format_Settings_GOP  值:
参数:Format_Settings_FrameStructures  值:
参数:Format_Settings_Wrapping  值:
参数:InternetMediaType  值:video/MP4V-ES
参数:MuxingMode  值:
参数:CodecID  值:20
参数:CodecID/String  值:
参数:CodecID/Info  值:
参数:CodecID/Hint  值:
参数:CodecID/Url  值:
参数:CodecID_Description  值:
参数:Codec  值:MPEG-4V
参数:Codec/String  值:MPEG-4 Visual
参数:Codec/Family  值:MPEG-4V
参数:Codec/Info  值:
参数:Codec/Url  值:
参数:Codec/CC  值:20
参数:Codec_Profile  值:Simple@L4a
参数:Codec_Description  值:
参数:Codec_Settings  值:
参数:Codec_Settings_PacketBitStream  值:No
参数:Codec_Settings_BVOP  值:No
参数:Codec_Settings_QPel  值:No
参数:Codec_Settings_GMC  值:0
参数:Codec_Settings_GMC/String  值:No warppoints
参数:Codec_Settings_Matrix  值:Default (H.263)
参数:Codec_Settings_Matrix_Data  值:
参数:Codec_Settings_CABAC  值:
参数:Codec_Settings_RefFrames  值:
参数:Duration  值:52241
参数:Duration/String  值:52s 241ms
参数:Duration/String1  值:52s 241ms
参数:Duration/String2  值:52s 241ms
参数:Duration/String3  值:00:00:52.241
参数:Duration/String4  值:
参数:Duration_FirstFrame  值:
参数:Duration_FirstFrame/String  值:
参数:Duration_FirstFrame/String1  值:
参数:Duration_FirstFrame/String2  值:
参数:Duration_FirstFrame/String3  值:
参数:Duration_LastFrame  值:
参数:Duration_LastFrame/String  值:
参数:Duration_LastFrame/String1  值:
参数:Duration_LastFrame/String2  值:
参数:Duration_LastFrame/String3  值:
参数:BitRate_Mode  值:
参数:BitRate_Mode/String  值:Variable
参数:BitRate  值:2956434
参数:BitRate/String  值:2 956 Kbps
参数:BitRate_Minimum  值:
参数:BitRate_Minimum/String  值:
参数:BitRate_Nominal  值:2700000
参数:BitRate_Nominal/String  值:2 700 Kbps
参数:BitRate_Maximum  值:3000000
参数:BitRate_Maximum/String  值:3 000 Kbps
参数:Width  值:640
参数:Width/String  值:640 pixels
参数:Width_Offset  值:
参数:Width_Offset/String  值:
参数:Width_Original  值:
参数:Width_Original/String  值:
参数:Height  值:480
参数:Height/String  值:480 pixels
参数:Height_Offset  值:
参数:Height_Offset/String  值:
参数:Height_Original  值:
参数:Height_Original/String  值:
参数:PixelAspectRatio  值:1.000
参数:PixelAspectRatio/String  值:
参数:PixelAspectRatio_Original  值:
参数:PixelAspectRatio_Original/String  值:
参数:DisplayAspectRatio  值:1.333
参数:DisplayAspectRatio/String  值:4:3
参数:DisplayAspectRatio_Original  值:
参数:DisplayAspectRatio_Original/String  值:
参数:ActiveFormatDescription  值:
参数:ActiveFormatDescription/String  值:
参数:ActiveFormatDescription_MuxingMode  值:
参数:Rotation  值:0.000
参数:Rotation/String  值:
参数:FrameRate_Mode  值:VFR
参数:FrameRate_Mode/String  值:Variable
参数:FrameRate_Mode_Original  值:
参数:FrameRate_Mode_Original/String  值:
参数:FrameRate  值:28.426
参数:FrameRate/String  值:28.426 fps
参数:FrameRate_Original  值:
参数:FrameRate_Original/String  值:
参数:FrameRate_Minimum  值:14.925
参数:FrameRate_Minimum/String  值:14.925 fps
参数:FrameRate_Nominal  值:
参数:FrameRate_Nominal/String  值:
参数:FrameRate_Maximum  值:61.224
参数:FrameRate_Maximum/String  值:61.224 fps
参数:FrameCount  值:1485
参数:Standard  值:
参数:Resolution  值:8
参数:Resolution/String  值:8 bits
参数:Colorimetry  值:4:2:0
参数:ColorSpace  值:YUV
参数:ChromaSubsampling  值:4:2:0
参数:BitDepth  值:8
参数:BitDepth/String  值:8 bits
参数:ScanType  值:Progressive
参数:ScanType/String  值:Progressive
参数:ScanOrder  值:
参数:ScanOrder/String  值:
参数:Interlacement  值:PPF
参数:Interlacement/String  值:Progressive
参数:Compression_Mode  值:Lossy
参数:Compression_Mode/String  值:Lossy
参数:Compression_Ratio  值:
参数:Bits-(Pixel*Frame)  值:0.339
参数:Delay  值:
参数:Delay/String  值:
参数:Delay/String1  值:
参数:Delay/String2  值:
参数:Delay/String3  值:
参数:Delay/String4  值:
参数:Delay_Settings  值:
参数:Delay_Source  值:
参数:Delay_Source/String  值:
参数:Delay_Original  值:
参数:Delay_Original/String  值:
参数:Delay_Original/String1  值:
参数:Delay_Original/String2  值:
参数:Delay_Original/String3  值:
参数:Delay_Original/String4  值:
参数:Delay_Original_Settings  值:
参数:Delay_Original_Source  值:
参数:StreamSize  值:19305851
参数:StreamSize/String  值:18.4 MiB (97%)
参数:StreamSize/String1  值:18 MiB
参数:StreamSize/String2  值:18 MiB
参数:StreamSize/String3  值:18.4 MiB
参数:StreamSize/String4  值:18.41 MiB
参数:StreamSize/String5  值:18.4 MiB (97%)
参数:StreamSize_Proportion  值:0.96652
参数:Alignment  值:
参数:Alignment/String  值:
参数:Title  值:
参数:Encoded_Application  值:
参数:Encoded_Application/Url  值:
参数:Encoded_Library  值:
参数:Encoded_Library/String  值:
参数:Encoded_Library/Name  值:
参数:Encoded_Library/Version  值:
参数:Encoded_Library/Date  值:
参数:Encoded_Library_Settings  值:
参数:Language  值:
参数:Language/String  值:
参数:Language/String1  值:
参数:Language/String2  值:
参数:Language/String3  值:
参数:Language/String4  值:
参数:Language_More  值:
参数:Encoded_Date  值:UTC 2011-09-02 02:58:59
参数:Tagged_Date  值:UTC 2011-09-02 02:58:59
参数:Encryption  值:
参数:BufferSize  值:

2.音频参数

Audio parameter参数:Count  值:169
参数:Status  值:
参数:StreamCount  值:1
参数:StreamKind  值:Audio
参数:StreamKind/String  值:Audio
参数:StreamKindID  值:0
参数:StreamKindPos  值:
参数:Inform  值:Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Duration                                 : 2mn 54s
Bit rate mode                            : Constant
Bit rate                                 : 112 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 2.33 MiB (98%)参数:ID  值:
参数:ID/String  值:
参数:UniqueID  值:
参数:UniqueID/String  值:
参数:MenuID  值:
参数:MenuID/String  值:
参数:Format  值:MPEG Audio
参数:Format/Info  值:
参数:Format/Url  值:
参数:Format_Commercial  值:MPEG Audio
参数:Format_Commercial_IfAny  值:
参数:Format_Version  值:Version 1
参数:Format_Profile  值:Layer 3
参数:Format_Compression  值:
参数:Format_Settings  值:Joint stereo / MS Stereo
参数:Format_Settings_SBR  值:
参数:Format_Settings_SBR/String  值:
参数:Format_Settings_PS  值:
参数:Format_Settings_PS/String  值:
参数:Format_Settings_Mode  值:Joint stereo
参数:Format_Settings_ModeExtension  值:MS Stereo
参数:Format_Settings_Emphasis  值:
参数:Format_Settings_Floor  值:
参数:Format_Settings_Firm  值:
参数:Format_Settings_Endianness  值:
参数:Format_Settings_Sign  值:
参数:Format_Settings_Law  值:
参数:Format_Settings_ITU  值:
参数:Format_Settings_Wrapping  值:
参数:InternetMediaType  值:audio/mpeg
参数:MuxingMode  值:
参数:MuxingMode_MoreInfo  值:
参数:CodecID  值:
参数:CodecID/String  值:
参数:CodecID/Info  值:
参数:CodecID/Hint  值:
参数:CodecID/Url  值:
参数:CodecID_Description  值:
参数:Codec  值:MPA1L3
参数:Codec/String  值:MPEG-1 Audio layer 3
参数:Codec/Family  值:
参数:Codec/Info  值:
参数:Codec/Url  值:
参数:Codec/CC  值:
参数:Codec_Description  值:
参数:Codec_Profile  值:Joint stereo
参数:Codec_Settings  值:
参数:Codec_Settings_Automatic  值:
参数:Codec_Settings_Floor  值:
参数:Codec_Settings_Firm  值:
参数:Codec_Settings_Endianness  值:
参数:Codec_Settings_Sign  值:
参数:Codec_Settings_Law  值:
参数:Codec_Settings_ITU  值:
参数:Duration  值:174524
参数:Duration/String  值:2mn 54s
参数:Duration/String1  值:2mn 54s 524ms
参数:Duration/String2  值:2mn 54s
参数:Duration/String3  值:00:02:54.524
参数:Duration_FirstFrame  值:
参数:Duration_FirstFrame/String  值:
参数:Duration_FirstFrame/String1  值:
参数:Duration_FirstFrame/String2  值:
参数:Duration_FirstFrame/String3  值:
参数:Duration_LastFrame  值:
参数:Duration_LastFrame/String  值:
参数:Duration_LastFrame/String1  值:
参数:Duration_LastFrame/String2  值:
参数:Duration_LastFrame/String3  值:
参数:BitRate_Mode  值:CBR
参数:BitRate_Mode/String  值:Constant
参数:BitRate  值:112000
参数:BitRate/String  值:112 Kbps
参数:BitRate_Minimum  值:
参数:BitRate_Minimum/String  值:
参数:BitRate_Nominal  值:
参数:BitRate_Nominal/String  值:
参数:BitRate_Maximum  值:
参数:BitRate_Maximum/String  值:
参数:Channel(s)  值:2
参数:Channel(s)/String  值:2 channels
参数:ChannelPositions  值:
参数:ChannelPositions/String2  值:
参数:ChannelLayout  值:
参数:SamplingRate  值:44100
参数:SamplingRate/String  值:44.1 KHz
参数:SamplingCount  值:7696512
参数:FrameRate  值:
参数:FrameRate/String  值:
参数:FrameCount  值:6681
参数:Resolution  值:
参数:Resolution/String  值:
参数:BitDepth  值:
参数:BitDepth/String  值:
参数:Compression_Mode  值:Lossy
参数:Compression_Mode/String  值:Lossy
参数:Compression_Ratio  值:
参数:Delay  值:
参数:Delay/String  值:
参数:Delay/String1  值:
参数:Delay/String2  值:
参数:Delay/String3  值:
参数:Delay/String4  值:
参数:Delay_Settings  值:
参数:Delay_Source  值:
参数:Delay_Source/String  值:
参数:Delay_Original  值:
参数:Delay_Original/String  值:
参数:Delay_Original/String1  值:
参数:Delay_Original/String2  值:
参数:Delay_Original/String3  值:
参数:Delay_Original/String4  值:
参数:Delay_Original_Settings  值:
参数:Delay_Original_Source  值:
参数:Video_Delay  值:
参数:Video_Delay/String  值:
参数:Video_Delay/String1  值:
参数:Video_Delay/String2  值:
参数:Video_Delay/String3  值:
参数:Video_Delay/String4  值:
参数:Video0_Delay  值:
参数:Video0_Delay/String  值:
参数:Video0_Delay/String1  值:
参数:Video0_Delay/String2  值:
参数:Video0_Delay/String3  值:
参数:Video0_Delay/String4  值:
参数:ReplayGain_Gain  值:
参数:ReplayGain_Gain/String  值:
参数:ReplayGain_Peak  值:
参数:StreamSize  值:2438637
参数:StreamSize/String  值:2.33 MiB (98%)
参数:StreamSize/String1  值:2 MiB
参数:StreamSize/String2  值:2.3 MiB
参数:StreamSize/String3  值:2.33 MiB
参数:StreamSize/String4  值:2.326 MiB
参数:StreamSize/String5  值:2.33 MiB (98%)
参数:StreamSize_Proportion  值:0.97918
参数:Alignment  值:
参数:Alignment/String  值:
参数:Interleave_VideoFrames  值:
参数:Interleave_Duration  值:
参数:Interleave_Duration/String  值:
参数:Interleave_Preload  值:
参数:Interleave_Preload/String  值:
参数:Title  值:
参数:Encoded_Library  值:
参数:Encoded_Library/String  值:
参数:Encoded_Library/Name  值:
参数:Encoded_Library/Version  值:
参数:Encoded_Library/Date  值:
参数:Encoded_Library_Settings  值:
参数:Language  值:
参数:Language/String  值:
参数:Language/String1  值:
参数:Language/String2  值:
参数:Language/String3  值:
参数:Language/String4  值:
参数:Language_More  值:
参数:Encoded_Date  值:
参数:Tagged_Date  值:
参数:Encryption  值:参数:Count  值:278
参数:Status  值:
参数:StreamCount  值:1
参数:StreamKind  值:General
参数:StreamKind/String  值:General
参数:StreamKindID  值:0
参数:StreamKindPos  值:
参数:Inform  值:Complete name                            : F:\thunder\qie.rmvb
Format                                   : RealMedia
File size                                : 771 MiB
Duration                                 : 1h 58mn
Overall bit rate                         : 885 Kbps参数:ID  值:
参数:ID/String  值:
参数:UniqueID  值:
参数:UniqueID/String  值:
参数:MenuID  值:
参数:MenuID/String  值:
参数:GeneralCount  值:
参数:VideoCount  值:1
参数:AudioCount  值:1
参数:TextCount  值:
参数:ChaptersCount  值:
参数:ImageCount  值:
参数:MenuCount  值:
参数:Video_Format_List  值:RealVideo 4
参数:Video_Format_WithHint_List  值:RealVideo 4
参数:Video_Codec_List  值:RealVideo 4
参数:Video_Language_List  值:
参数:Audio_Format_List  值:Cooker
参数:Audio_Format_WithHint_List  值:Cooker
参数:Audio_Codec_List  值:Cooker
参数:Audio_Language_List  值:
参数:Text_Format_List  值:
参数:Text_Format_WithHint_List  值:
参数:Text_Codec_List  值:
参数:Text_Language_List  值:
参数:Chapters_Format_List  值:
参数:Chapters_Format_WithHint_List  值:
参数:Chapters_Codec_List  值:
参数:Chapters_Language_List  值:
参数:Image_Format_List  值:
参数:Image_Format_WithHint_List  值:
参数:Image_Codec_List  值:
参数:Image_Language_List  值:
参数:Menu_Format_List  值:
参数:Menu_Format_WithHint_List  值:
参数:Menu_Codec_List  值:
参数:Menu_Language_List  值:
参数:CompleteName  值:F:\thunder\qie.rmvb
参数:FolderName  值:F:\thunder
参数:FileName  值:qie
参数:FileExtension  值:rmvb
参数:Format  值:RealMedia
参数:Format/String  值:RealMedia
参数:Format/Info  值:
参数:Format/Url  值:
参数:Format/Extensions  值:rm rmvb ra
参数:Format_Commercial  值:RealMedia
参数:Format_Commercial_IfAny  值:
参数:Format_Version  值:
参数:Format_Profile  值:
参数:Format_Compression  值:
参数:Format_Settings  值:
参数:InternetMediaType  值:application/vnd.rn-realmedia
参数:CodecID  值:
参数:CodecID/String  值:
参数:CodecID/Info  值:
参数:CodecID/Hint  值:
参数:CodecID/Url  值:
参数:CodecID_Description  值:
参数:Interleaved  值:
参数:Codec  值:RealMedia
参数:Codec/String  值:RealMedia
参数:Codec/Info  值:
参数:Codec/Url  值:
参数:Codec/Extensions  值:rm rmvb ra
参数:Codec_Settings  值:
参数:Codec_Settings_Automatic  值:
参数:FileSize  值:808682860
参数:FileSize/String  值:771 MiB
参数:FileSize/String1  值:771 MiB
参数:FileSize/String2  值:771 MiB
参数:FileSize/String3  值:771 MiB
参数:FileSize/String4  值:771.2 MiB
参数:Duration  值:7125405
参数:Duration/String  值:1h 58mn
参数:Duration/String1  值:1h 58mn 45s 405ms
参数:Duration/String2  值:1h 58mn
参数:Duration/String3  值:01:58:45.405
参数:Duration_Start  值:
参数:Duration_End  值:
参数:OverallBitRate_Mode  值:
参数:OverallBitRate_Mode/String  值:
参数:OverallBitRate  值:885095
参数:OverallBitRate/String  值:885 Kbps
参数:OverallBitRate_Minimum  值:
参数:OverallBitRate_Minimum/String  值:
参数:OverallBitRate_Nominal  值:
参数:OverallBitRate_Nominal/String  值:
参数:OverallBitRate_Maximum  值:
参数:OverallBitRate_Maximum/String  值:
参数:Delay  值:
参数:Delay/String  值:
参数:Delay/String1  值:
参数:Delay/String2  值:
参数:Delay/String3  值:
参数:StreamSize  值:20350217
参数:StreamSize/String  值:19.4 MiB (3%)
参数:StreamSize/String1  值:19 MiB
参数:StreamSize/String2  值:19 MiB
参数:StreamSize/String3  值:19.4 MiB
参数:StreamSize/String4  值:19.41 MiB
参数:StreamSize/String5  值:19.4 MiB (3%)
参数:StreamSize_Proportion  值:0.02516
参数:HeaderSize  值:
参数:DataSize  值:
参数:FooterSize  值:
参数:IsStreamable  值:
参数:Album_ReplayGain_Gain  值:
参数:Album_ReplayGain_Gain/String  值:
参数:Album_ReplayGain_Peak  值:
参数:Encryption  值:
参数:Title  值:
参数:Title/More  值:
参数:Title/Url  值:
参数:Domain  值:
参数:Collection  值:
参数:Season  值:
参数:Season_Position  值:
参数:Season_Position_Total  值:
参数:Movie  值:
参数:Movie/More  值:
参数:Movie/Country  值:
参数:Movie/Url  值:
参数:Album  值:
参数:Album/More  值:
参数:Album/Sort  值:
参数:Album/Performer  值:
参数:Album/Performer/Sort  值:
参数:Album/Performer/Url  值:
参数:Comic  值:
参数:Comic/More  值:
参数:Comic/Position_Total  值:
参数:Part  值:
参数:Part/Position  值:
参数:Part/Position_Total  值:
参数:Track  值:
参数:Track/More  值:
参数:Track/Url  值:
参数:Track/Sort  值:
参数:Track/Position  值:
参数:Track/Position_Total  值:
参数:Grouping  值:
参数:Chapter  值:
参数:SubTrack  值:
参数:Original/Album  值:
参数:Original/Movie  值:
参数:Original/Part  值:
参数:Original/Track  值:
参数:Compilation  值:
参数:Compilation/String  值:
参数:Performer  值:
参数:Performer/Sort  值:
参数:Performer/Url  值:
参数:Original/Performer  值:
参数:Accompaniment  值:
参数:Composer  值:
参数:Composer/Nationality  值:
参数:Arranger  值:
参数:Lyricist  值:
参数:Original/Lyricist  值:
参数:Conductor  值:
参数:Director  值:
参数:AssistantDirector  值:
参数:DirectorOfPhotography  值:
参数:SoundEngineer  值:
参数:ArtDirector  值:
参数:ProductionDesigner  值:
参数:Choregrapher  值:
参数:CostumeDesigner  值:
参数:Actor  值:
参数:Actor_Character  值:
参数:WrittenBy  值:
参数:ScreenplayBy  值:
参数:EditedBy  值:
参数:CommissionedBy  值:
参数:Producer  值:
参数:CoProducer  值:
参数:ExecutiveProducer  值:
参数:MusicBy  值:
参数:DistributedBy  值:
参数:OriginalSourceForm/DistributedBy  值:
参数:MasteredBy  值:
参数:EncodedBy  值:
参数:RemixedBy  值:
参数:ProductionStudio  值:
参数:ThanksTo  值:
参数:Publisher  值:
参数:Publisher/URL  值:
参数:Label  值:
参数:Genre  值:
参数:Mood  值:
参数:ContentType  值:
参数:Subject  值:
参数:Description  值:
参数:Keywords  值:
参数:Summary  值:
参数:Synopsis  值:
参数:Period  值:
参数:LawRating  值:
参数:LawRating_Reason  值:
参数:ICRA  值:
参数:Released_Date  值:
参数:Original/Released_Date  值:
参数:Recorded_Date  值:
参数:Encoded_Date  值:
参数:Tagged_Date  值:
参数:Written_Date  值:
参数:Mastered_Date  值:
参数:File_Created_Date  值:UTC 2011-08-23 12:40:55.765
参数:File_Created_Date_Local  值:2011-08-23 20:40:55.765
参数:File_Modified_Date  值:UTC 2011-08-24 03:47:48.843
参数:File_Modified_Date_Local  值:2011-08-24 11:47:48.843
参数:Recorded_Location  值:
参数:Written_Location  值:
参数:Archival_Location  值:
参数:Encoded_Application  值:
参数:Encoded_Application/Url  值:
参数:Encoded_Library  值:
参数:Encoded_Library/String  值:
参数:Encoded_Library/Name  值:
参数:Encoded_Library/Version  值:
参数:Encoded_Library/Date  值:
参数:Encoded_Library_Settings  值:
参数:Cropped  值:
参数:Dimensions  值:
参数:DotsPerInch  值:
参数:Lightness  值:
参数:OriginalSourceMedium  值:
参数:OriginalSourceForm  值:
参数:OriginalSourceForm/NumColors  值:
参数:OriginalSourceForm/Name  值:
参数:OriginalSourceForm/Cropped  值:
参数:OriginalSourceForm/Sharpness  值:
参数:Tagged_Application  值:
参数:BPM  值:
参数:ISRC  值:
参数:ISBN  值:
参数:BarCode  值:
参数:LCCN  值:
参数:CatalogNumber  值:
参数:LabelCode  值:
参数:Owner  值:
参数:Copyright  值:
参数:Copyright/Url  值:
参数:Producer_Copyright  值:
参数:TermsOfUse  值:
参数:ServiceName  值:
参数:ServiceChannel  值:
参数:Service/Url  值:
参数:ServiceProvider  值:
参数:ServiceProviderr/Url  值:
参数:ServiceType  值:
参数:NetworkName  值:
参数:OriginalNetworkName  值:
参数:Country  值:
参数:TimeZone  值:
参数:Cover  值:
参数:Cover_Description  值:
参数:Cover_Type  值:
参数:Cover_Mime  值:
参数:Cover_Data  值:
参数:Lyrics  值:
参数:Comment  值:
参数:Rating  值:
参数:Added_Date  值:
参数:Played_First_Date  值:
参数:Played_Last_Date  值:
参数:Played_Count  值:
参数:EPG_Positions_Begin  值:
参数:EPG_Positions_End  值:

3.全局参数

General parameter参数:Count  值:278
参数:Status  值:
参数:StreamCount  值:1
参数:StreamKind  值:General
参数:StreamKind/String  值:General
参数:StreamKindID  值:0
参数:StreamKindPos  值:
参数:Inform  值:Complete name                            : F:\thunder\qie.rmvb
Format                                   : RealMedia
File size                                : 771 MiB
Duration                                 : 1h 58mn
Overall bit rate                         : 885 Kbps参数:ID  值:
参数:ID/String  值:
参数:UniqueID  值:
参数:UniqueID/String  值:
参数:MenuID  值:
参数:MenuID/String  值:
参数:GeneralCount  值:
参数:VideoCount  值:1
参数:AudioCount  值:1
参数:TextCount  值:
参数:ChaptersCount  值:
参数:ImageCount  值:
参数:MenuCount  值:
参数:Video_Format_List  值:RealVideo 4
参数:Video_Format_WithHint_List  值:RealVideo 4
参数:Video_Codec_List  值:RealVideo 4
参数:Video_Language_List  值:
参数:Audio_Format_List  值:Cooker
参数:Audio_Format_WithHint_List  值:Cooker
参数:Audio_Codec_List  值:Cooker
参数:Audio_Language_List  值:
参数:Text_Format_List  值:
参数:Text_Format_WithHint_List  值:
参数:Text_Codec_List  值:
参数:Text_Language_List  值:
参数:Chapters_Format_List  值:
参数:Chapters_Format_WithHint_List  值:
参数:Chapters_Codec_List  值:
参数:Chapters_Language_List  值:
参数:Image_Format_List  值:
参数:Image_Format_WithHint_List  值:
参数:Image_Codec_List  值:
参数:Image_Language_List  值:
参数:Menu_Format_List  值:
参数:Menu_Format_WithHint_List  值:
参数:Menu_Codec_List  值:
参数:Menu_Language_List  值:
参数:CompleteName  值:F:\thunder\qie.rmvb
参数:FolderName  值:F:\thunder
参数:FileName  值:qie
参数:FileExtension  值:rmvb
参数:Format  值:RealMedia
参数:Format/String  值:RealMedia
参数:Format/Info  值:
参数:Format/Url  值:
参数:Format/Extensions  值:rm rmvb ra
参数:Format_Commercial  值:RealMedia
参数:Format_Commercial_IfAny  值:
参数:Format_Version  值:
参数:Format_Profile  值:
参数:Format_Compression  值:
参数:Format_Settings  值:
参数:InternetMediaType  值:application/vnd.rn-realmedia
参数:CodecID  值:
参数:CodecID/String  值:
参数:CodecID/Info  值:
参数:CodecID/Hint  值:
参数:CodecID/Url  值:
参数:CodecID_Description  值:
参数:Interleaved  值:
参数:Codec  值:RealMedia
参数:Codec/String  值:RealMedia
参数:Codec/Info  值:
参数:Codec/Url  值:
参数:Codec/Extensions  值:rm rmvb ra
参数:Codec_Settings  值:
参数:Codec_Settings_Automatic  值:
参数:FileSize  值:808682860
参数:FileSize/String  值:771 MiB
参数:FileSize/String1  值:771 MiB
参数:FileSize/String2  值:771 MiB
参数:FileSize/String3  值:771 MiB
参数:FileSize/String4  值:771.2 MiB
参数:Duration  值:7125405
参数:Duration/String  值:1h 58mn
参数:Duration/String1  值:1h 58mn 45s 405ms
参数:Duration/String2  值:1h 58mn
参数:Duration/String3  值:01:58:45.405
参数:Duration_Start  值:
参数:Duration_End  值:
参数:OverallBitRate_Mode  值:
参数:OverallBitRate_Mode/String  值:
参数:OverallBitRate  值:885095
参数:OverallBitRate/String  值:885 Kbps
参数:OverallBitRate_Minimum  值:
参数:OverallBitRate_Minimum/String  值:
参数:OverallBitRate_Nominal  值:
参数:OverallBitRate_Nominal/String  值:
参数:OverallBitRate_Maximum  值:
参数:OverallBitRate_Maximum/String  值:
参数:Delay  值:
参数:Delay/String  值:
参数:Delay/String1  值:
参数:Delay/String2  值:
参数:Delay/String3  值:
参数:StreamSize  值:20350217
参数:StreamSize/String  值:19.4 MiB (3%)
参数:StreamSize/String1  值:19 MiB
参数:StreamSize/String2  值:19 MiB
参数:StreamSize/String3  值:19.4 MiB
参数:StreamSize/String4  值:19.41 MiB
参数:StreamSize/String5  值:19.4 MiB (3%)
参数:StreamSize_Proportion  值:0.02516
参数:HeaderSize  值:
参数:DataSize  值:
参数:FooterSize  值:
参数:IsStreamable  值:
参数:Album_ReplayGain_Gain  值:
参数:Album_ReplayGain_Gain/String  值:
参数:Album_ReplayGain_Peak  值:
参数:Encryption  值:
参数:Title  值:
参数:Title/More  值:
参数:Title/Url  值:
参数:Domain  值:
参数:Collection  值:
参数:Season  值:
参数:Season_Position  值:
参数:Season_Position_Total  值:
参数:Movie  值:
参数:Movie/More  值:
参数:Movie/Country  值:
参数:Movie/Url  值:
参数:Album  值:
参数:Album/More  值:
参数:Album/Sort  值:
参数:Album/Performer  值:
参数:Album/Performer/Sort  值:
参数:Album/Performer/Url  值:
参数:Comic  值:
参数:Comic/More  值:
参数:Comic/Position_Total  值:
参数:Part  值:
参数:Part/Position  值:
参数:Part/Position_Total  值:
参数:Track  值:
参数:Track/More  值:
参数:Track/Url  值:
参数:Track/Sort  值:
参数:Track/Position  值:
参数:Track/Position_Total  值:
参数:Grouping  值:
参数:Chapter  值:
参数:SubTrack  值:
参数:Original/Album  值:
参数:Original/Movie  值:
参数:Original/Part  值:
参数:Original/Track  值:
参数:Compilation  值:
参数:Compilation/String  值:
参数:Performer  值:
参数:Performer/Sort  值:
参数:Performer/Url  值:
参数:Original/Performer  值:
参数:Accompaniment  值:
参数:Composer  值:
参数:Composer/Nationality  值:
参数:Arranger  值:
参数:Lyricist  值:
参数:Original/Lyricist  值:
参数:Conductor  值:
参数:Director  值:
参数:AssistantDirector  值:
参数:DirectorOfPhotography  值:
参数:SoundEngineer  值:
参数:ArtDirector  值:
参数:ProductionDesigner  值:
参数:Choregrapher  值:
参数:CostumeDesigner  值:
参数:Actor  值:
参数:Actor_Character  值:
参数:WrittenBy  值:
参数:ScreenplayBy  值:
参数:EditedBy  值:
参数:CommissionedBy  值:
参数:Producer  值:
参数:CoProducer  值:
参数:ExecutiveProducer  值:
参数:MusicBy  值:
参数:DistributedBy  值:
参数:OriginalSourceForm/DistributedBy  值:
参数:MasteredBy  值:
参数:EncodedBy  值:
参数:RemixedBy  值:
参数:ProductionStudio  值:
参数:ThanksTo  值:
参数:Publisher  值:
参数:Publisher/URL  值:
参数:Label  值:
参数:Genre  值:
参数:Mood  值:
参数:ContentType  值:
参数:Subject  值:
参数:Description  值:
参数:Keywords  值:
参数:Summary  值:
参数:Synopsis  值:
参数:Period  值:
参数:LawRating  值:
参数:LawRating_Reason  值:
参数:ICRA  值:
参数:Released_Date  值:
参数:Original/Released_Date  值:
参数:Recorded_Date  值:
参数:Encoded_Date  值:
参数:Tagged_Date  值:
参数:Written_Date  值:
参数:Mastered_Date  值:
参数:File_Created_Date  值:UTC 2011-08-23 12:40:55.765
参数:File_Created_Date_Local  值:2011-08-23 20:40:55.765
参数:File_Modified_Date  值:UTC 2011-08-24 03:47:48.843
参数:File_Modified_Date_Local  值:2011-08-24 11:47:48.843
参数:Recorded_Location  值:
参数:Written_Location  值:
参数:Archival_Location  值:
参数:Encoded_Application  值:
参数:Encoded_Application/Url  值:
参数:Encoded_Library  值:
参数:Encoded_Library/String  值:
参数:Encoded_Library/Name  值:
参数:Encoded_Library/Version  值:
参数:Encoded_Library/Date  值:
参数:Encoded_Library_Settings  值:
参数:Cropped  值:
参数:Dimensions  值:
参数:DotsPerInch  值:
参数:Lightness  值:
参数:OriginalSourceMedium  值:
参数:OriginalSourceForm  值:
参数:OriginalSourceForm/NumColors  值:
参数:OriginalSourceForm/Name  值:
参数:OriginalSourceForm/Cropped  值:
参数:OriginalSourceForm/Sharpness  值:
参数:Tagged_Application  值:
参数:BPM  值:
参数:ISRC  值:
参数:ISBN  值:
参数:BarCode  值:
参数:LCCN  值:
参数:CatalogNumber  值:
参数:LabelCode  值:
参数:Owner  值:
参数:Copyright  值:
参数:Copyright/Url  值:
参数:Producer_Copyright  值:
参数:TermsOfUse  值:
参数:ServiceName  值:
参数:ServiceChannel  值:
参数:Service/Url  值:
参数:ServiceProvider  值:
参数:ServiceProviderr/Url  值:
参数:ServiceType  值:
参数:NetworkName  值:
参数:OriginalNetworkName  值:
参数:Country  值:
参数:TimeZone  值:
参数:Cover  值:
参数:Cover_Description  值:
参数:Cover_Type  值:
参数:Cover_Mime  值:
参数:Cover_Data  值:
参数:Lyrics  值:
参数:Comment  值:
参数:Rating  值:
参数:Added_Date  值:
参数:Played_First_Date  值:
参数:Played_Last_Date  值:
参数:Played_Count  值:
参数:EPG_Positions_Begin  值:
参数:EPG_Positions_End  值:

4.图像参数

Image parameter参数:Count  值:90
参数:Status  值:
参数:StreamCount  值:1
参数:StreamKind  值:Image
参数:StreamKind/String  值:Image
参数:StreamKindID  值:0
参数:StreamKindPos  值:
参数:Inform  值:Format                                   : JPEG
Width                                    : 640 pixels
Height                                   : 480 pixels
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Compression mode                         : Lossy参数:ID  值:
参数:ID/String  值:
参数:UniqueID  值:
参数:UniqueID/String  值:
参数:MenuID  值:
参数:MenuID/String  值:
参数:Title  值:
参数:Format  值:JPEG
参数:Format/Info  值:
参数:Format/Url  值:
参数:Format_Commercial  值:JPEG
参数:Format_Commercial_IfAny  值:
参数:Format_Version  值:
参数:Format_Profile  值:
参数:Format_Compression  值:
参数:Format_Settings  值:
参数:Format_Settings_Wrapping  值:
参数:InternetMediaType  值:image/jpeg
参数:CodecID  值:
参数:CodecID/String  值:
参数:CodecID/Info  值:
参数:CodecID/Hint  值:
参数:CodecID/Url  值:
参数:CodecID_Description  值:
参数:Codec  值:JPEG
参数:Codec/String  值:JPEG
参数:Codec/Family  值:
参数:Codec/Info  值:
参数:Codec/Url  值:
参数:Width  值:640
参数:Width/String  值:640 pixels
参数:Width_Offset  值:
参数:Width_Offset/String  值:
参数:Width_Original  值:
参数:Width_Original/String  值:
参数:Height  值:480
参数:Height/String  值:480 pixels
参数:Height_Offset  值:
参数:Height_Offset/String  值:
参数:Height_Original  值:
参数:Height_Original/String  值:
参数:PixelAspectRatio  值:
参数:PixelAspectRatio/String  值:
参数:PixelAspectRatio_Original  值:
参数:PixelAspectRatio_Original/String  值:
参数:DisplayAspectRatio  值:
参数:DisplayAspectRatio/String  值:
参数:DisplayAspectRatio_Original  值:
参数:DisplayAspectRatio_Original/String  值:
参数:ColorSpace  值:
参数:ChromaSubsampling  值:4:2:0
参数:Resolution  值:8
参数:Resolution/String  值:8 bits
参数:BitDepth  值:8
参数:BitDepth/String  值:8 bits
参数:Compression_Mode  值:Lossy
参数:Compression_Mode/String  值:Lossy
参数:Compression_Ratio  值:
参数:StreamSize  值:
参数:StreamSize/String  值:
参数:StreamSize/String1  值:
参数:StreamSize/String2  值:
参数:StreamSize/String3  值:
参数:StreamSize/String4  值:
参数:StreamSize/String5  值:
参数:StreamSize_Proportion  值:
参数:Encoded_Library  值:
参数:Encoded_Library/String  值:
参数:Encoded_Library/Name  值:
参数:Encoded_Library/Version  值:
参数:Encoded_Library/Date  值:
参数:Encoded_Library_Settings  值:
参数:Language  值:
参数:Language/String  值:
参数:Language/String1  值:
参数:Language/String2  值:
参数:Language/String3  值:
参数:Language/String4  值:
参数:Summary  值:
参数:Encoded_Date  值:
参数:Tagged_Date  值:
参数:Encryption  值:
posted on 2019-04-30 12:44 NET未来之路 阅读(...) 评论(...) 编辑 收藏

转载于:https://www.cnblogs.com/lonelyxmas/p/10795376.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/393928.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

如何用chrome扩展将网页变成黑底白字,用以保护视力

不知道有没有科学依据,自己感觉黑底白字对视力好些,于是动手加个chrome扩展: 第一步:建个文件夹,名称比如叫changeColor; 第二步:在changeColor文件夹中建三个文件:manifest.json 、 backgrou…

从零学习机器学习_机器学习:如何从零变英雄

从零学习机器学习以“为什么?”开头 并以“我准备好了!”结尾 (Start with “Why?” and end with “I’m ready!”) If your understanding of A.I. and Machine Learning is a big question mark, then this is the blog post for you. Here, I gradu…

sqoop动态分区导入mysql,使用sqoop import从mysql往hive含分区表中导入数据的一些注意事项...

先看下面这条语句,它实现的功能是将特定日期的数据从mysql表中直接导入hive$ sqoop import \--connect jdbc:mysql://192.168.xx.xx:3306/db_name?useSSLfalse \--username xxx --password xxxxxx \--query "select d.id, d.callsign, d.sobt from t_flight_b…

leetcode面试题 08.04. 幂集(递归)

幂集。编写一种方法,返回某集合的所有子集。集合中不包含重复的元素。 说明:解集不能包含重复的子集。 示例: 输入: nums [1,2,3] 输出: [ [3], [1], [2], [1,2,3], [1,3], [2,3], [1,2], [] ] 代码 class Solution {List&l…

gatsby_我如何使用Gatsby和Netlify建立博客

gatsbyby Pav Sidhu通过帕夫西杜(Pav Sidhu) 我如何使用Gatsby和Netlify建立博客 (How I Built My Blog Using Gatsby and Netlify) 您能说出更具标志性的二人​​组合吗? ? (Can you name a more iconic duo? ?) Years ago, whenever I built a stat…

交叉熵与相对熵

熵的本质是香农信息量()的期望。 现有关于样本集的2个概率分布p和q,其中p为真实分布,q非真实分布。 按照真实分布p来衡量识别一个样本的所需要的编码长度的期望(即平均编码长度)为:H(p)。 如果使用错误分布q来表示来自真实分布p的平均编码长度…

menustrip

在对应菜单上点击鼠标右键,插入,SEPARATOR 就可以了,然后可以选中拖动位置。转载于:https://www.cnblogs.com/Echo529/p/6382302.html

直接排序

题目:使用直接排序法将下列数组(从小到大排序)思路:第一次:使用索引值为0的元素与其他位置的元素挨个比较一次,如果发现比0号索引值的元素小的,那么交换位置,第一轮下来最小值被放在…

leetcode78. 子集(回溯)

给定一组不含重复元素的整数数组 nums,返回该数组所有可能的子集(幂集)。 说明:解集不能包含重复的子集。 示例: 输入: nums [1,2,3] 输出: [ [3], [1], [2], [1,2,3], [1,3], [2,3], [1,2], [] ] 代码 class Solution {pub…

php字符串综合作业,0418php字符串的操作

实例字符串函数(一):长度计算$siteName php中文网;//获取内部字符编码集$encoding mb_internal_encoding();//1、strlen($str):获取字节表示的字符串长度//utf8模式下,一个中文字符用三个字节表示echo strlen($siteName),; //12//2、mb_strlen($str,$encoding)&…

如何处理JavaScript中的事件处理(示例和全部)

In this blog, I will try to make clear the fundamentals of the event handling mechanism in JavaScript, without the help of any external library like Jquery/React/Vue.在此博客中,我将尝试在没有任何外部库(例如Jquery / React / Vue)的帮助下阐明JavaSc…

js 图片预览

//显示选择的图片缩略图function showImage(inputId,imageConfirmId,imageConfi){var imagedocument.getElementById(inputId).value.toLowerCase();if(!image){return;}var fileExtendimage.substr(image.lastIndexOf(".", image.length)1);if(!(fileExtend"jp…

什么是copyonwrite容器

2019独角兽企业重金招聘Python工程师标准>>> CopyOnWrite容器即写时复制的容器。通俗的理解是当往一个容器添加元素的时候,不直接往当前容器添加,而是先将当前容器进行Copy,复制出一个新的容器,然后新的容器里添加元素…

hystrix 源码 线程池隔离_Hystrix源码学习--线程池隔离

分析你的系统你所认识的分布式系统,哪些是可以进行垂直拆分的?拆分之后系统之间的依赖如何梳理?系统异构之后的稳定性调用如何保证?这些都是可能在分布式场景中面临的问题。说个比较常见的问题,大家都知道秒杀系统&…

P2341 [HAOI2006]受欢迎的牛 强连通

题目背景 本题测试数据已修复。 题目描述 每头奶牛都梦想成为牛棚里的明星。被所有奶牛喜欢的奶牛就是一头明星奶牛。所有奶 牛都是自恋狂,每头奶牛总是喜欢自己的。奶牛之间的“喜欢”是可以传递的——如果A喜 欢B,B喜欢C,那么A也喜欢C。牛栏…

oracle em agent,ORACLE 11G EM 配置命令及问题处理

11g装好以后,一直未用EM,昨天晚上和今天晚上终于抽时间把EM启动起来了,还遇到一点小问题,1.EM配置的一些命令创建一个EM资料库emca -repos create重建一个EM资料库emca -reposrecreate--------这个很主要,一般第一次不成功创建的时…

leetcode89. 格雷编码

格雷编码是一个二进制数字系统,在该系统中,两个连续的数值仅有一个位数的差异。 给定一个代表编码总位数的非负整数 n,打印其格雷编码序列。即使有多个不同答案,你也只需要返回其中一种。 格雷编码序列必须以 0 开头。 示例 1:…

注重代码效率_如何提升质量:注重态度

注重代码效率by Harshdeep S Jawanda通过Harshdeep S Jawanda 如何提升质量:注重态度 (How to skyrocket quality: focus on attitude) When it comes to discussing quality and how we can improve, the most common things that come to peoples minds are test…

spark mllib推荐算法使用

2019独角兽企业重金招聘Python工程师标准>>> 一、pom.xml <!-- 机器学习包 --><dependency><groupId>org.apache.spark</groupId><artifactId>spark-mllib_2.10</artifactId><version>${spark.version}</version>&…

Android仿QQ复制昵称效果2

本文同步自http://javaexception.com/archives/77 背景: 在上一篇文章中&#xff0c;给出了一种复制QQ效果的方案&#xff0c;今天就来讲讲换一种方式实现。主要依赖的是一个开源项目https://github.com/shangmingchao/PopupList。 解决办法: PopupList.java的代码封装的比较完…