Opened 3 years ago

Last modified 15 months ago

#4478 new enhancement

PlayStation 2 movie files not supported (.pss)

Reported by: Melchior Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mpegps adpcm
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I decided to dig out 2 of my
Sony PlayStation? 2 games:

  • Suikoden 3
  • Suikoden 4

and extract the Movie (Opening/Closing?)
I found some str.bin files as well but all the
movie files are .pss

I get FFmpeg builds from and use them with
http://ffmpeg.zeranoe.com/builds/
http://avanti.arrozcru.com/

OS used on:
DesktopPC -- Windows XP Professional x64
LaptopPC -- Windows 7 Ultimate x64

these files I could barely extract the Video.. but the audio was not getting even seen never-mind getting extracted..

Attachments (4)

EV50511.PSS (768.0 KB) - added by Melchior 3 years ago.
PS2 game -- Suikoden 4
EV50405.PSS (1.2 MB) - added by Melchior 3 years ago.
PS2 game -- Suikoden 4
EV50408.PSS (1.4 MB) - added by Melchior 3 years ago.
PS2 game -- Suikoden 4
EV40701.PSS (1.8 MB) - added by Melchior 3 years ago.
PS2 game -- Suikoden 4

Change History (30)

Changed 3 years ago by Melchior

PS2 game -- Suikoden 4

Changed 3 years ago by Melchior

PS2 game -- Suikoden 4

Changed 3 years ago by Melchior

PS2 game -- Suikoden 4

Changed 3 years ago by Melchior

PS2 game -- Suikoden 4

comment:1 Changed 3 years ago by Melchior

.pss files uploaded to
upload.ffmpeg.org/incoming/Ticket-4478_Suikoden3/
upload.ffmpeg.org/incoming/Ticket-4478_Suikoden4/

comment:2 Changed 3 years ago by cehoyos

  • Keywords mpegps atrac3 added; PlayStation 2 PS2 .pss removed
  • Priority changed from normal to wish
  • Version changed from unspecified to git-master

comment:3 Changed 3 years ago by Melchior

while examining a .pss file in a text editor I found...

  • "encoded by TMPGEnc b12h"
  • Tsunami MPEG Encoder <-- Googled

comment:4 Changed 2 years ago by Melchior

Any updates?

comment:5 follow-up: Changed 2 years ago by richardpl

The format is mpeg with strange audio packets, they should be raw pcm but they sounds distorted.

I'm analyzing 2 different applications PSS plex and PSS demux.

PSS Demux crashes inside wine, does it works fine otherwise on Windows?

comment:6 in reply to: ↑ 5 Changed 2 years ago by cehoyos

Replying to richardpl:

The format is mpeg with strange audio packets, they should be raw pcm but they sounds distorted.

I thought this just needs an atrac parser, am I wrong?

comment:9 Changed 2 years ago by richardpl

Nope, files have PCM hidden in private stream of mpeg files.
Also it appears PCM is planar.
Additionaly it may have adpcm or adx or for psmf case atrac3.

Because they are PCM/ADPCM, there is nothing to parse AFAIK.

comment:10 Changed 2 years ago by cehoyos

Thanks for the clarification!
Do you have code that plays something (with distortion)?

comment:11 Changed 2 years ago by richardpl

Nothing useful, it just set 0xff startcode to pcm planar.

comment:12 Changed 2 years ago by Melchior

thanks for taking a look at this =D

comment:13 Changed 2 years ago by Melchior

any new updates?

comment:14 follow-up: Changed 2 years ago by Melchior

I will note that the current release of VLC Media Player v2.2.2
plays by 'drag and drop' the video animation ONLY and no audio...

comment:15 in reply to: ↑ 14 ; follow-up: Changed 2 years ago by cehoyos

Replying to Melchior:

I will note that the current release of VLC Media Player v2.2.2
plays by 'drag and drop' the video animation ONLY and no audio...

And this behaviour is different from which vlc (or FFmpeg) version?

comment:16 in reply to: ↑ 15 Changed 2 years ago by Melchior

Replying to cehoyos:

Replying to Melchior:

I will note that the current release of VLC Media Player v2.2.2
plays by 'drag and drop' the video animation ONLY and no audio...

And this behaviour is different from which vlc (or FFmpeg) version?

I don't know, I was just mentioning VLC could play the video stream.

using AvantiGUI (and using
ffmpeg version N-78410-g588e2e3 Copyright (c) 2000-2016 the FFmpeg developers
built on 13/02/2016 with gcc 5.3.0 (GCC)

I can play video only using the preview function

comment:17 follow-up: Changed 2 years ago by cehoyos

Both FFplay and FFmpeg (with current, old and very old versions) work fine here for the video in pss files.

comment:18 in reply to: ↑ 17 Changed 2 years ago by Melchior

Replying to cehoyos:

Both FFplay and FFmpeg (with current, old and very old versions) work fine here for the video in pss files.

so all that remains is to figure out the audio... good luck with it. :)

comment:19 Changed 2 years ago by Melchior

any further updates?
I am hoping some one will figure out how the audio works and get FFmpeg updated

comment:20 Changed 2 years ago by richardpl

Please refrain from pinging bug if you have nothing new to add.

comment:21 Changed 2 years ago by Melchior

ok sry

comment:22 Changed 2 years ago by v0lt

MPC-BE can decode the audio stream. See CMpaDecFilter::ProcessPS2ADPCM() in MpaDecFilter.cpp

Last edited 2 years ago by cehoyos (previous) (diff)

comment:23 Changed 2 years ago by cehoyos

Since this file's software license is the GPL, it would be better to describe what is needed to decode the samples.

comment:24 Changed 2 years ago by cehoyos

  • Keywords adpcm added; atrac3 removed

comment:25 Changed 2 years ago by shiz

cehoyos: You're thinking of the probably related PSMF format used on the PSP, which does use ATRAC3 in PRIVATE_STREAM_1 encoded packets. Also, I don't think editing out that link was really necessary. I can try taking a stab at this.

comment:26 Changed 2 years ago by Melchior

thx for the progress :)

EDIT:
any update Shiz?

EDIT2:
Still no updates? :(

EDIT3:
bumping it since it been soo long since it was last looked at :(
please try to get Sony PS2 audio support in FFmpeg (since video is already playable) ;_;

EDIT4:
Sorry for bumping again, at least if it does as I am not sure if editing a comment bumps it or not...

its been 11 months since I posted this comment..
and I have also noted that when trying to open PlayStation? 1 .str vid files it give a depreciated bit of info in the cmdline that opens with the vid... please don't depreciated PlayStation? 1 files and please get around to adding support for PlayStation? 2 files

Last edited 15 months ago by Melchior (previous) (diff)
Note: See TracTickets for help on using tickets.