Electronic Arts MAD (MADV): Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (53 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
* ''' Format Type ''': Video <br> | * ''' Format Type ''': Video <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': MAD / MADk / MADm / MADe <br> | |||
| Line 8: | Line 9: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// | // MAD file format | ||
// little endian | |||
num_of_chunks * | |||
{ | |||
//frame chunk structure | |||
4 bytes (char) - chunk name // "MADk" - intra frame | |||
// "MADm" - inter frame | |||
// "MADe" - low-quality-inter frame | |||
2 bytes (uint16) - size of the chunk | |||
4 bytes (uint32) - reserved // "0" | |||
2 bytes (uint16) - max data rate per second | |||
2 bytes (uint16) - frame_rate // milliseconds per frame | |||
2 bytes (uint16) - image width (in pixels) | |||
2 bytes (uint16) - image height (in pixels) | |||
1 byte (uint8) - unknown | |||
1 byte (uint8) - quantizer // frame quantizer | |||
1 byte (uint8) - frame type / chunk type // 00 = P-frame | |||
// 01 = I-frame | |||
// 02 = B-frame | |||
1 byte (uint8) - unknown | |||
x bytes - chunk data // bitstream | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
=== | === Notes and Comments === | ||
* Electronic Arts MAD (Madcow) video file format. | |||
=== | === Games === | ||
List of games using the same file format: | |||
* FIFA '99 | |||
* FIFA 2004 | |||
* FIFA 2005 | |||
* NBA Live 99 | |||
* NBA Live 2003 | |||
* Need for Speed 3: Hot Pursuit | |||
* Need for Speed 4: High Stakes | |||
* Need for Speed 5: Porsche | |||
* Need for Speed 6: Hot Pursuit 2 | |||
* Need for Speed: Underground | |||
* NHL 2000 | |||
* Sim City 4: Rush Hour | |||
* Sim City 4 Deluxe (PC) (*.MAD) | |||
* The Sims 2 | |||
=== quickBMS Script === | |||
* | * [https://zenhax.com/viewtopic.php?p=68463#p68463 EA MAD Demultiplexer] | ||
* [https://zenhax.com/viewtopic.php?p=70702#p70702 EA MAD Demux/Remux scripts] | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [https://www.playground.ru/nfs_underground_2/file/need_for_speed_underground_2_ea_audio_video_converter-981042 EA Audio and Video Converter] | * [https://wiki.multimedia.cx/index.php/Electronic_Arts_Sound_eXchange Electronic Arts Sound eXchange (wiki)] / [https://archive.org/details/ea_soundexchange ea_soundexchange (webarchive)] (only to encode audio to EA STR/ASF format for muxing) | ||
* [https://www.playground.ru/nfs_underground_2/file/need_for_speed_underground_2_ea_audio_video_converter-981042 NFS U2 EA Audio and Video Converter] / [https://drive.google.com/file/d/16CPlZUQLcpMdBKnB55AK58bqCzPq9_sJ/view?usp=sharing mirror1] | |||
* VLC Media Player | * VLC Media Player | ||
* [http://ffmpeg.org/ ffmpeg] | |||
<br/><br> | <br/><br> | ||
[[Category:Complete | [[Category:Complete Almost Done|Electronic Arts MAD (MADV)]] | ||
[[Category:Platform PC|Electronic Arts MAD (MADV)]] | [[Category:Platform PC|Electronic Arts MAD (MADV)]] | ||
[[Category:CE None|Electronic Arts MAD (MADV)]] | [[Category:CE None|Electronic Arts MAD (MADV)]] | ||
| Line 34: | Line 78: | ||
[[Category:Extension_mad | Extension: mad]] | [[Category:Extension_mad | Extension: mad]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:File Format]] | |||
Latest revision as of 10:24, 15 May 2022
MAD
- Format Type : Video
- Endian Order : Little Endian
- Signature : MAD / MADk / MADm / MADe
Format Specifications
// MAD file format
// little endian
num_of_chunks *
{
//frame chunk structure
4 bytes (char) - chunk name // "MADk" - intra frame
// "MADm" - inter frame
// "MADe" - low-quality-inter frame
2 bytes (uint16) - size of the chunk
4 bytes (uint32) - reserved // "0"
2 bytes (uint16) - max data rate per second
2 bytes (uint16) - frame_rate // milliseconds per frame
2 bytes (uint16) - image width (in pixels)
2 bytes (uint16) - image height (in pixels)
1 byte (uint8) - unknown
1 byte (uint8) - quantizer // frame quantizer
1 byte (uint8) - frame type / chunk type // 00 = P-frame
// 01 = I-frame
// 02 = B-frame
1 byte (uint8) - unknown
x bytes - chunk data // bitstream
}
Notes and Comments
- Electronic Arts MAD (Madcow) video file format.
Games
List of games using the same file format:
- FIFA '99
- FIFA 2004
- FIFA 2005
- NBA Live 99
- NBA Live 2003
- Need for Speed 3: Hot Pursuit
- Need for Speed 4: High Stakes
- Need for Speed 5: Porsche
- Need for Speed 6: Hot Pursuit 2
- Need for Speed: Underground
- NHL 2000
- Sim City 4: Rush Hour
- Sim City 4 Deluxe (PC) (*.MAD)
- The Sims 2
quickBMS Script
Compatible Programs
- Electronic Arts Sound eXchange (wiki) / ea_soundexchange (webarchive) (only to encode audio to EA STR/ASF format for muxing)
- NFS U2 EA Audio and Video Converter / mirror1
- VLC Media Player
- ffmpeg