SWF file structure big anatomy (2)

zhaozj2021-02-16  99

Http://www.yesky.com/softchannel/72351185134157824/20020929/1633155.shtml

SWF file structure big anatomy

2002-09-29

■ Author: cattle Shengchao

■ Source: Tianji design online

Previous 1 2 3 Next Page

Second, the number of moving widths in the SWF file, the eight-byte "video wide high data control code" refers to the number in the control code column in the table below. The ninth byte to the nth byte "The width and height data storage area of ​​the movie" refers to the number of numbers on the right side of the control code in the table below. Due to the difference in control code, the byte length of the data storage area of ​​the width and height is also different. The bytes of the control code are divided into two parts (high four and low) in the table below. A combination of high low position determines the number of bytes of data zones and different height algorithms. The blue strip after the corresponding control code indicates the byte occupied by the data area. Five-star represents valid data (note that each five-star only half bytes), where the previously continuous five-star corresponding data records the height value, and the corresponding data of several consecutive five stars record the width value. Combine the number (hexadecimal) of the continuous five-star position to get four or six-digit hexadecimal numbers, convert this number into a decimal number, and the number of white five-star is 10 is a film width value. The number of red five-star obtained is 40. I give each of the control code a specific example, please compare the corresponding bytes and actual width and height values ​​in the file.

Control code 012345678 width × height 50 ★★★★ ★★★★ 18 × 1800B4000B40 58 ★★★★ ★★★★ 36 × 18005a0000b400 60 ★★★★ ★★★★ 100 × 48003E80001E00 68 ★★★★ ★★★ ★ 160 × 1000019000003E800 70 ★★★★ ★★★★ 400 × 320000fa00000c800 78 ★★★★ ★★★★ 550 × 40000055F00000FA000 80 ★★★★ ★★★★★★★★★★★★★★★★★★ ★ 2880 × 28800001C2000000708000 Note: Due to the limit of flash image size, the control code is only in the above case, and only the above cases will be judged, and different calculation processing is performed separately. Previous 1 2 3 Next Page

[Editor in charge: shiny]

Previous 1 2 3 Next Page

转载请注明原文地址:https://www.9cbs.com/read-10924.html

New Post(0)