PSPEnc FAQ

1. I have problems opening/encoding my files...

2. Why do i get Exitcode=3 when i try to encode?

3. Can you explain me how the resolution picker works?

4. DirectShowSource: I can't determine the frame rate of the video, you must use the "fps" parameter




1. I have problems opening/encoding my files...

First, be sure you have a recent AviSynth's version installed (don't pick the first version you see, read version numbers and get at least "2.5.6 RC2").

Second, install ffdshow, this will improve your decoding capabilities.

If the input is AVI, there are 2 ways to read the video: "AVISource" and "DirectShowSource".
Press "Change" in the input panel to switch between one and the other. Try both, depending on the input file and system configuration, one may work better than the other.



2. Why do i get Exitcode=3 when i try to encode?

FFMPEG seems to don't like audio with more than 2 channels, at least not in uncompressed pcm format (the way AviSynth output it).
ffdshow can help in this situation.
Open the input file with your favorite player, you should notice some ffdshow's icons in the tray.
Open the ffdshow audio decoder configuration, enable "Mixer" and select "2/0 - stereo" in "Output speakers configuration".



3. Can you explain me how the resolution picker works?

The resolution picker is a bit strange. There is a reason for this.

PSPs with firmware 1.5 (like mine) basically stretch the video always to fit the psp screen (so the AR is always 16/9 for every resolution you choose).

There are only 2 exceptions:

320x240 can be viewed in 4/3 or stretched to 16/9
160x112 can be viewed in ~ 4/3 or stretched to 16/9

So:
If you choose 320x240 and 16/9, you should watch the video in "fullscreen"
If you choose 320x240 and 4/3, you should watch the video in "original", "normal", or "zoom"
(the same goes for 160x112)

All the other resolution are always displayed 16/9, no matter of what PSP's setting you use ("original", "normal", or "zoom" or "fullscreen").

On firmware 2.0+ i think the stuff is changed ... in this case you should always use "fullscreen" on PSP if you choose 16/9 for output.


In addition to this:

When you open a file, PSPEnc assumes square pixels (and so the input AR is calculated - you can change it if the input have a different AR).
To match the output AR, you usually have 2 choices: crop one side or add borders to the other side (so you can usually choose one of the 2 mode in order to get correct AR on output).
PSPEnc always goes for cropping by default (adding borders is probably useful only for widescreen content - AR = ~ 2.35).

The last note: some resolutions are not selectable because the output show big artifacts when played on PSP (at least on fw 1.5).



4. DirectShowSource: I can't determine the frame rate of the video, you must use the "fps" parameter

DirectShow video decoders are not required to tell you the frame rate of the incoming video. In this case you have to specify the frame rate using the fps parameter.
Create, with Notepad, a text file with the .avs extension. Put something like this in the file:

DirectShowSource("c:\yourpath\yourfile.avi", fps = 25)

(be sure to specify the full path, and ... correctly :P)

After you can open the .avs file with PSPEnc.

Having ffdshow (for general decoding), the latest OggDS (for .ogm files), the latest Haali Media Splitter (for .mkv files), could solve this problem too.