?

Log in

No account? Create an account
 
 
17 December 2008 @ 08:27 pm
MPEG header editing for size and aspect ration (EditMpegHeaderIFO)  

I had this old page linked (http://homepage.mac.com/rnc/EditMpegHeaderIFO.html) but it appears to have gone.

 

Reproduced below for my (and others’) information.

 

MPEG file

 

Locate the sequence header 00 00 01 b3 (usually hex address 000)

Make changes as need, then save.

 

Here is an example: 740x480, 16:9, 23.976 fps

 

0000000: 00 00 01 B3 2E 01 E0 31 00 00 00 00 00 00 00 00

 

Horizontal Size in Hex

16 0 = 352

1E 0 = 480

2D 0 = 720

2E 4 = 740

 

Vertical Size in Hex

0F 0 = 240

1E 0 = 480

 

Aspect Ratio

1 = 1:1

2 = 4:3

3 = 16:9

4 = 2.211 (not used in dvd)

 

Frame Rate

1 = 23.976

2 = 24

3 = 25

4 = 29.97

5 = 30

6 = 50

7 = 59.94

8 = 60

 

IFO file

 

Open your VTS_01_0.IFO in HexEditor,

Locate hex address 200

Make changes as need, then save.

 

Here is an example: 16:9, 740x480, AC3 audio

 

0000200: F9 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00

 

Aspect Ratio

43 = 4:3

F9 = 16:9

 

Resolution NTSC (PAL)

00 = 720x480 (720x576)

1 = 704x480 (704x576)

0A = 352x480 (352x576)

0C = 352x240 (352x288)

 

Audio Coding

00 = AC3

02 = Mpeg-1

03 = Mpeg-2ext

04 = LPCM 

06 = DTS


 
 
 
(Anonymous) on May 1st, 2010 09:26 am (UTC)
Программы к ПК и мобильным
Более 10000 программ для компьютеров и мобильных устройств http://softy777.com