I'll reply to your PM with this quick rundown as this will interest a lot of other folks.
Well, first things first: What you can NOT do with jPSXdec is making videos that have more or less frames than the original ones. What you CAN do, however, is swapping existing frames and audio streams. It's not a perfect method (The main downside is that the video quality is dependant of the original quality, so it might get too blocky). If you want to do full video swaps, I cannot help you.
I'll give you the quick rundown, but you'll find the detailed information in the PDF file that's with the tool.
You first need to identify the ID number of the video stream and audio stream you want to modify (Not the file, but the video/audio streams that are in a drop down box next to the files). Then, you need to make a XML file that contains the frames that need to be replaced and the filenames of the PNG/BMP files that contain the new frames (They must have the same resolution as the original video). It's something like this:
Code:
<?xml version="1.0">
<str-replace version "0.1">
<replace frame="1">frame0000.bmp</frame>
<replace frame="2">frame0001.bmp</frame>
(Etc.)
</str-replace>
Finally, you have to put those frames into the disc image. The following command WILL overwrite your disc image without any possibility of undoing the work, so keep a copy of the original:
Code:
java.exe -jar jpsxdec.jar -x INDEXOFDISCIMAGE.idx -i IDOFVIDEOSTREAM(NUM) -replaceframes XMLFILE.xml
The audio part is simpler, you just need a WAV with the proper sample rate and channel format, then it's just popping this command (Again, this WILL overwrite your disc image contents):
Code:
java.exe -jar jpsxdec.jar -x INDEXOFDISCIMAGE.idx -i IDOFAUDIOSTREAM(NUM) -replacexa AUDIOFILE.wav