Announcement

Collapse
No announcement yet.

HELP!: How to hack registry of MPEG-4 defaults

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HELP!: How to hack registry of MPEG-4 defaults

    Hi,
    Anyone know what to do to fix the bitrate value for MS MPEG-4 V2 codec to 6000kbit/sec
    and also make the keyframe every 1 seconds?

    I am using the codec for YUY capture in Reelcap, but despite having saved the setting, everytime when I look at the "configuration" of the MPEG-4 codec, the default settings return.

    I would like to hack this defaults value (key frame every 8 secs, datarate 3000kbit/sec)
    into my favourite value.

    Anywayone know how to do this? Hacking the registry maybe, or hacking the DLL itself?

  • #2
    You will have to hack the DLL itself. here is what I did to get it to work


    hacked M$-MPEG 4 V3 codecs

    encoder: MPG4C32.dll Version 4.1.00.3920
    decoder: mpg4ds32.ax Version 4.1.00.3917

    - support for MPEG4 V3 encoding and decoding has been enabled


    you can make your own default settings for encoding
    by changing these hex-values within MPG4C32.dll in your hex editor:

    bitrate: 0AC6: 97 (default)
    x'70 B7' -> 6000
    x'70 A7' -> 3000
    x'70 97' -> 1500
    x'70 87' -> 750
    x'70 77' -> 375
    ----------------
    x'40 9F' -> 2000
    x'40 8F' -> 1000
    x'40 7F' -> 500
    x'40 6F' -> 250

    crispness: 1EA8: 4B (default) (value doesn't really change output)
    keyframes: 1EAF: 01 (default) (1 keyframe per sec. won't give bad frames at only 1% file increase)

    I forgot where I got this from, but it worked, it took awhile since I am not very educated in code, but it does work well.


    WinXP Pro SP2 ABIT IC7 Intel P4 3.0E 1024M Corsair PC3200 DCDDR ATI AIW x800XT 2 Samsung SV1204H 120G HDs AudioTrak Prodigy 7.1 3Com NIC Cendyne DVR-105 DVD burner LG DVD/CD-RW burner Fortron FSP-300-60ATV PSU Cooled by Zalman Altec Lansing MX-5021

    Comment

    Working...
    X