Add mc32 script ref
parent
1df83e2beb
commit
21f6d620ea
39
STR.md
39
STR.md
@ -50,11 +50,22 @@ MDEC: version 2
|
||||
|
||||
![MC32-avi-str](https://wiki.arthus.net/assets/MC32-avi-str.png)
|
||||
|
||||
You should now have a new STR file and a new XA file in your folder. You have to interleave them in `MC32` also:
|
||||
|
||||
```
|
||||
Format : Input : str (MDEC), Output: str (MDEC)
|
||||
Sound: Input: XA , 37.8 KHz, Stereo;
|
||||
Frame rate: 15 fps, # Channels : 1(150sectors/s), Leap Sector;
|
||||
CD-ROM speed : Double Speed;
|
||||
```
|
||||
|
||||
![MC32-avi-str-interleave](https://wiki.arthus.net/assets/MC32-avi-str-interleaved.png)
|
||||
|
||||
#### Via the command line
|
||||
|
||||
`MC32` can be used with a script to avoid using a graphical interface. The script syntax is described in PsyQ's documentation file ['Datavconv.pdf', p.34](http://psx.arthus.net/sdk/Psy-Q/DOCS/Devrefs/Dataconv.pdf).
|
||||
|
||||
Here is an example script to convert a video + audio AVI file to str;
|
||||
Here is an example script to convert a video + audio AVI file to STR+XA, then interleave them;
|
||||
|
||||
```
|
||||
Avi2strMdecAv(
|
||||
@ -68,6 +79,20 @@ Avi2strMdecAv(
|
||||
37.8KHz, # Frequency of Sound
|
||||
Stereo # Stereo or Mono
|
||||
);
|
||||
|
||||
MakeAv(
|
||||
path/to/input.str, # Video file name
|
||||
strMDEC, # Video format name
|
||||
path/to/input.xa, # Sound file name
|
||||
path/to/output.str, # Output file name (Sound & video)
|
||||
x2, # CD-ROM speed
|
||||
15fps, # Frame rate
|
||||
1, # Number of channels
|
||||
TRUE, # LeapSector
|
||||
FALSE, # ver1.98 compatible leap sector
|
||||
37.8KHz, # Frequency of Sound
|
||||
Stereo # Stereo or Mono
|
||||
);
|
||||
```
|
||||
|
||||
Create a file with that content and save it with the `scr` extension; e.g : myscript.scr
|
||||
@ -80,18 +105,6 @@ mc32.exe -s myscript.scr
|
||||
|
||||
See here for a full reference of the scripting language : [https://psx.arthus.net/sdk/Psy-Q/DOCS/MC32.SCR](https://psx.arthus.net/sdk/Psy-Q/DOCS/MC32.SCR)
|
||||
|
||||
|
||||
You should now have a STR file and a XA file that you have to interleave in `MC32`:
|
||||
|
||||
```
|
||||
Format : Input : str (MDEC), Output: str (MDEC)
|
||||
Sound: Input: XA , 37.8 KHz, Stereo;
|
||||
Frame rate: 15 fps, # Channels : 1(150sectors/s), Leap Sector;
|
||||
CD-ROM speed : Double Speed;
|
||||
```
|
||||
|
||||
![MC32-avi-str-interleave](https://wiki.arthus.net/assets/MC32-avi-str-interleaved.png)
|
||||
|
||||
#### MC32.EXE crashes
|
||||
|
||||
MC32 doesn't seem to like ffmpeg's AVI files and often crashes when hitting the 'Go' button. In order to prevent crashing, you should re-save the avi file with `mencoder` :
|
||||
|
Loading…
Reference in New Issue
Block a user