ビデオ_SWF_ビデオタグ - hsk/swfspec_ja GitHub Wiki

SWF video tags

DefineVideoStream

DefineVideoStream

フィールド コメント
Header RECORDHEADER タグタイプ = 60
CharacterID UI16 ID for this video character
NumFrames UI16 Number of VideoFrame tagsthat makes up this stream
Width UI16 Width in pixels
Height UI16 Height in pixels
VideoFlagsReserved UB[4] Must be 0
VideoFlagsDeblocking UB[3] 000 = use VIDEOPACKETvalue001 = off010 = Level 1 (Fast deblockingfilter)011 = Level 2 (VP6 only, betterdeblocking filter)100 = Level 3 (VP6 only, betterdeblocking plus fast deringingfilter)101 = Level 4 (VP6 only, betterdeblocking plus betterderinging filter)110 = Reserved111 = Reserved
VideoFlagsSmoothing UB[1] 0 = smoothing off (faster)1 = smoothing on (higherquality)
CodecID UI8 2 = Sorenson H.2633 = Screen video (SWF 7 andlater only)4 = VP6 (SWF 8 and later only)5 = VP6 video with alphachannel (SWF 8 and later only)

VideoFrame

VideoFrame

フィールド コメント
Header RECORDHEADER タグタイプ = 61
StreamID UI16 ID of video stream character ofwhich this frame is a part
FrameNum UI16 Sequence number of this framewithin its video stream
VideoData if CodecID = 2H263VIDEOPACKETif CodecID = 3SCREENVIDEOPACKETif CodecID = 4VP6SWFVIDEOPACKETif CodecID = 5VP6SWFALPHAVIDEOPACKETif CodecID = 6SCREENV2VIDEOPACKET Video frame payload

移動