skstylez Posted January 10 Posted January 10 Hey everyone, I have been trying to create a PSS muxer in Python using AI (Not ideal I know), and have issues when it comes to the SCR calculations. The SCR base and extensions are not accurate. I'm thinking that there is something with the PTS/DTS, Mux Rate values and how they are being floored or they're being floored at the wrong time. You will be able to check this easily with the psstest_one_script.py, which will highlight the differences and you're able to scroll through it. I am trying to get an accurate byte for byte mux of the attached. The files are in the KOC-PSS.zip file. The outputs are the XXX_mux.pss files, with the original files included as well as the m2v and ss2 audio files which were demuxed from the original PSS files. This has been got me confused and I would prefer not to use the ps2str.exe from the PS2 SDK to compile the PSS. ps2str.exe does mux it correctly, but I do not want to rely on that as I want to integrate this into a tool I'm working on for King of Colosseum. If anyone can help, that would be great. Apologies for the messy script. pss_muxer.py psstest_one_script.py KOC-PSS.zip
Members morrigan Posted January 19 Members Posted January 19 (edited) PS2STR does work fine, but SCE's SDK doesn't include its source code, so we don't know exactly how it works under the hood. However, the PS2 SDK does contain playback code for the PSS video format. You can search for "libmpeg" within the SDK; some of the function names clearly indicate they are for handling PSS. You might be able to reverse-engineer the process to figure out the specific encoding details of the PSS format. Edited January 19 by morrigan 1
skstylez Posted January 22 Author Posted January 22 I've got the E0 and BD packets ordering pretty much figured. Just the SCR. If anyone is able to look at the script and see the issue, that would be great.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now