How to encode STR video files
- SlavaVlasov
- Curious PSXDEV User
- Posts: 11
- Joined: Jul 21, 2018
- I am a: Romhacker, Programmer, Gamer
- PlayStation Model: SCPH-5502
I know that VCD doesn't use STR format, but it's not a VCD. This is one of the PS1 video discs, recorded in the format of regular game videoclips + there is a player (PSX.EXE) for PS1, which plays STR. Such discs did not require a "Video CD" console model or additional hardware to play them. But here's a special case: this PS1 video disc was stuffed with over 90 minutes of film. On 1 CD. In a normal STR, this length would not fit on 1 disc. According to other people, this is some combination of MPEG1 and ADPCM. Much more interesting, how was such a video container compiled in general and are there similar cases on other PS1 discs?
- MsULTIMATEMAX
- What is PSXDEV?
- Posts: 3
- Joined: Nov 15, 2022
- PlayStation Model: SCPH-101
- Location: Mexico
I've done some batch codes that works with "input" and "output" folders.
Video+Audio (.avi)
Audio (.wav)
Video (.avi)
Video+Audio (.avi)
Code: Select all
@echo off
cd %~dp0
mkdir Output
for %%a in (input\*.*) do ffmpeg.exe -i "%%a" -vcodec rawvideo -s 320x240 -r 15 -acodec pcm_s16le "output\%%~na.avi"
pause
Code: Select all
@echo off
cd %~dp0
mkdir Output
for %%a in (input\*.*) do ffmpeg.exe -i "%%a" -acodec pcm_s16le -vn "output\%%~na.wav"
pause
Code: Select all
@echo off
cd %~dp0
mkdir Output
for %%a in (input\*.*) do ffmpeg.exe -i "%%a" -vcodec rawvideo -s 320x240 -r 15 -an "output\%%~na.avi"
pause
-
- What is PSXDEV?
- Posts: 2
- Joined: Apr 13, 2024
- PlayStation Model: PS3Cecha01
- Discord: henriquewicz
- Location: Brazil
Hey @lameguy64 thanks for this nice tutorial. i´ve made all process to generate a new STR file to insert in my game. I´ve generated the new following your instructions and i´ve test the generated STR in psmplay. Its all ok.
Any tip to remount the bin? i´ve used anyburn to extract to a folde strucutre, identify the original str, change the orignal for the new and now how can i make a new bin? I have the folder sctruture ready to make.
Is it a way to test in any emul using the folder scruture before remake the bin?
Thanks
Any tip to remount the bin? i´ve used anyburn to extract to a folde strucutre, identify the original str, change the orignal for the new and now how can i make a new bin? I have the folder sctruture ready to make.
Is it a way to test in any emul using the folder scruture before remake the bin?
Thanks
-
- What is PSXDEV?
- Posts: 3
- Joined: Apr 19, 2024
- PlayStation Model: SCPH-1002
- Location: United States
Does anyone still use MC32 for videos? I ask because every time I try to convert a video into .str format, it will generate the .str file, but it's empty AND immediately crashes. When I select a file, it doesn't even pull up the preview window.
-
- What is PSXDEV?
- Posts: 2
- Joined: Apr 13, 2024
- PlayStation Model: PS3Cecha01
- Discord: henriquewicz
- Location: Brazil
I´ve use without problems using the lameguy tutorial in this post. The str plays normally on Windows player, but when i´ve recorded the cd the game not starts.
-
- Interested PSXDEV User
- Posts: 5
- Joined: Oct 21, 2024
- PlayStation Model: SCPH-1002
Thanks for the tutorial. Works like a charm.
Last edited by turbogaming on October 27th, 2024, 7:21 pm, edited 1 time in total.
-
- Interested PSXDEV User
- Posts: 5
- Joined: Oct 21, 2024
- PlayStation Model: SCPH-1002
There are many video formats out there. The PS1 simply needs special code to play any one of them. There were many games that didn't use the sony standard. Here is an article on it - see the last paragraph.SlavaVlasov wrote: ↑May 2nd, 2022, 1:55 pm I know that VCD doesn't use STR format, but it's not a VCD. This is one of the PS1 video discs, recorded in the format of regular game videoclips + there is a player (PSX.EXE) for PS1, which plays STR. Such discs did not require a "Video CD" console model or additional hardware to play them. But here's a special case: this PS1 video disc was stuffed with over 90 minutes of film. On 1 CD. In a normal STR, this length would not fit on 1 disc. According to other people, this is some combination of MPEG1 and ADPCM. Much more interesting, how was such a video container compiled in general and are there similar cases on other PS1 discs?
https://wiki.multimedia.cx/index.php/Pl ... on_Decoder
-
- Interested PSXDEV User
- Posts: 5
- Joined: Oct 21, 2024
- PlayStation Model: SCPH-1002
henriquewicz wrote: ↑April 19th, 2024, 11:32 pm I´ve use without problems using the lameguy tutorial in this post. The str plays normally on Windows player, but when i´ve recorded the cd the game not starts.
To fix your ISO with video, make sure that STR files are aligned to 2336 bytes per sector using mc32 - and use PsyQ’s BUILDCD along with StripISO to properly encode and manage video files, as mkpsxiso won’t work for this purpose. To debug, use CDMage to check for misalignment errors and ensure the STR files are correctly padded. Additionally, verify that all multimedia files conform to PlayStation CD standards using tools like jPSXdec.
Who is online
Users browsing this forum: No registered users and 3 guests