Log in

View Full Version : x264 rev. 1114 vs 1732 for PSP H.264 creation


TSS_Killer
2nd October 2010, 01:45
OK, I have a dilemma here when it comes to encoding PSP compliant H.264 videos.

Here's the situation:

The ending result is supposed to be a VFR H.264 video.

When I use rev. 1114 (which was from a year and a half ago or so) using these command line arguments: "x264.exe --crf 26 --level 3 --ref 3 --mixed-refs --bframes 3 --b-adapt 2 --weightb --direct auto --subme 7 --trellis 1 --partitions p8x8,b8x8,i4x4 --vbv-bufsize 10000 --vbv-maxrate 10000 --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output output.mp4 input.avs", and when I mux the video and audio streams, it works perfectly fine on the PSP.

However, on the latest revision it doesn't seem to output a compliant H.264 stream (yes, I removed --progress, as it's depricated, --no-psnr and --no-ssim, since they're off by default, and I also switched the profile to Main...made no difference). The PSP refuses to play the muxed file (with the exact same timecodes and audio stream).

Does anyone have any idea on how to tweak the command line arguments so that it can be PSP compliant?

Dark Shikari
2nd October 2010, 01:52
All you need to play on the PSP are:

--profile main --level 3 --weightp 0 --ref {3 or less} --b-pyramid 0 --no-weightb

Over 2/3 of your commandline is a redundant mess.

Blue_MiSfit
2nd October 2010, 01:54
NEVER MIND!! Dark_Shikari beat me to it :), and gave a more correct command line anyway. Use his!



The problem is probably because the CLI syntax has changed so much since the 1114 era (presets, tunings etc)

What are the restrictions on the PSP's decoder?

I'd imagine the following command should eliminate unnecessary bloat:

x264.exe input.avs --profile main --level 3 --vbv-maxrate 10000 --vbv-bufsize 10000 --crf 26 --output output.mp4"


Derek

TSS_Killer
2nd October 2010, 02:44
Thanks guys...I combined both of your command line arguments, and now it works perfectly.