Batch STR Converter

Graphic based area of development (Graphics Processing Unit), including the Geometry Transform Engine (GTE), TIM, STR (MDEC), etc.
Post Reply
User avatar
MsULTIMATEMAX
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: Nov 15, 2022
PlayStation Model: SCPH-101
Location: Mexico

Batch STR Converter

Post by MsULTIMATEMAX » July 28th, 2023, 1:52 pm

1) "AVI2STR" is a batch command derived from "PsxAvEnc" that allows conversion of an uncompressed ".AVI" video file to the ".STR" video format supported by PlayStation video games.
2) Enter the ".AVI" video file(s) you want to convert into the "Input" folder.
3) The ".STR" video file(s) have been placed in the "Output" folder.
Note in case of update: This batch converter should work together with any version of "PsxAvEnc.exe"

1) "AVI2STR" es un comando por lotes derivado de "PsxAvEnc" que permite la conversion de un archivo de video ".AVI" sin comprimir al formato de video ".STR" compatible con los videojuegos de PlayStation.
2) Introduce el archivo o los archivos de vídeo ".AVI" que quieras convertir en la carpeta "Input".
3) El archivo o los archivos de video ".STR" han sido colocados en la carpeta "Output".
Nota en caso de actualizacion: Este conversor por lotes deberia funcionar colocandose en conjunto a cualquier versión de "PsxAvEnc.exe"
Image

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2673
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » July 29th, 2023, 1:41 am

Why go to all that trouble when you can just use FFMPEG. Run the batch below and then merge the WAV and AVI in MC32.EXE to produce the STR.

Code: Select all

@ECHO OFF
CLS
ffmpeg -i input.mp4 -vcodec rawvideo -s 320x256 -r 25 -an output.avi
ECHO.
ffmpeg -i input.mp3 -acodec pcm_s16le -vn output.wav
PAUSE
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests