GetCodecID(.) getCodecID(name) - returns internal numerical codec id for its nameįormats = PIX_FMT_RGB555,PIX_FMT_MONOBLACK,PIX_FMT_YUV410P. Methods inherited from exceptions.Exception: This requires a small amount of decoding CPU, but considerably. data = Data of the frame as a tuple of strings. Numbers of strings depend on frame type( 1 for RGB, 3 for component ) format = Frame format as integer. See list of formats in decs frame_number = Frame number in a stream frame_pts = Frame PTS pict_type = Type of the frame( 1-I, 2-P, 3-B ) rate = Frame rate in units relative to the frame_base rate_base = Frame rate base resync = Flag is set if resync still in place size = Size of the frame in pixels( w, h )Įrror = class VCodecError( exceptions.Exception) After running command: ffmpeg -hwaccel cuvid -vcodec h264cuvid -i 00046 AAC MPEG LPCM. bitrate = Bitrate of the stream. May change from frame to frame. _new_(S, .) -> a new object with type S, a subtype of T aspect_ratio = Picture default aspect ratio. _getattribute_('name') x.name decode(.) convert( format ) -> frame Parameters that represents the current state of codec There are four different variants of the K-Lite Codec Pack. The list of available codecs may be accessed through decsĪll possible formats can be obtained through vcodec.formatsĬonvert existing video frame into another format with all needed color conversions and scaling. 'rate_base', 'frame_rate', 'frame_rate_base', 'gop_size' com/a/oFNxai7 will result in ffmpegs make install putting the ffmpeg libraries in a location where pkgconfig can find them. Provides all formats with the same interfaceĮxceptions.Exception VCodecError VCodecError _builtin_.object Decoder Encoder VFrameĬreates new video decoder object based on codecParams.ĬodecParams - dictionary with the following items parameters: vcodec libx264 - tells ffmpeg to output to a H.264 compliant file-profile:v high444 - tells libx264 to use the High 4:4:4 Predictive Lossless profile, allowing lossless encoding-refs 16 - tells libx264 to have 16 images stored in a buffer, so that they may be referenced by other images in the video-crf 0 - tells libx264 to perform a lossless. Add v4l2 layer decoder driver for MT8173 Signed-off-by: Tiffany Lin <> - drivers/media/platform/mtk-vcodec/Makefile 10 .Decode/encode strings of video information into/from either planar or packed formats( such as YUV420, RGB24, etc ) C:\python23\lib\site-packages\pymedia\video\vcodec.pyd
0 Comments
Leave a Reply. |