Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd October 2010, 01:45   #1  |  Link
TSS_Killer
Registered User
 
Join Date: May 2007
Posts: 4
x264 rev. 1114 vs 1732 for PSP H.264 creation

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?
TSS_Killer is offline   Reply With Quote
Old 2nd October 2010, 01:52   #2  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,690
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.
Dark Shikari is offline   Reply With Quote
Old 2nd October 2010, 01:54   #3  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,307
[edit]
NEVER MIND!! Dark_Shikari beat me to it , and gave a more correct command line anyway. Use his!
[/edit]


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:
Code:
x264.exe input.avs --profile main --level 3 --vbv-maxrate 10000 --vbv-bufsize 10000 --crf 26 --output output.mp4"
Derek
Blue_MiSfit is offline   Reply With Quote
Old 2nd October 2010, 02:44   #4  |  Link
TSS_Killer
Registered User
 
Join Date: May 2007
Posts: 4
Thanks guys...I combined both of your command line arguments, and now it works perfectly.
TSS_Killer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.