You know actually I just did
x264.exe --progress --level 4.1 --threads auto --thread-input --bitrate 25000 -o whatever.264 e:\file.avs
The avs script being:
#ASYNTHER DirectShowSource
DirectShowSource("E:\fe\FIFTH_ELEMENT\BDMV\STREAM\00011.m2ts")
converttoyv12()
PowerDVD 7.3 installed in order to have the codecs for the video, and Haali Media Splitter (aka Matroska Splitter) used to make DirectShow read .m2ts files.
I know some of you guys might not want technical info, so I can move this to a private message, but I worked out the bitrate like this:
181102 frames at 23.976fps, 7553.47 seconds, round it up to 7554.
Take the DD stream which is 640kb/s * 1000 / 8 = 604320000 bytes
25 billion bytes (SL [single layer] disc) - 604320000 = 24395680000
24395680000 / 7554 * 8 / 1000 = kilobits, 25836.039kb/s
Rounded it down to 25000kb/s just incase of slight overheads.
After it's encoded. I demuxed the AC3 stream using ffmpeg -i pathtofile.m2ts -f ac3 whatever.ac3
In some cases you might need to use -map argument to have it rip the right stream, like -map 2:0 (being the 3rd stream, 0 = video, 1 = DTS) etc..
Then TSMuxer did the rest and generated the disc structure, and I simply burnt it.
Though, what you're MEANT to do, is run the .264 file through "h264info", set the level to "4.1" (even though you already did it, apparently sometimes it's not correct all the way through) and the rest default, everything unticked except write pps every frame.
Apparently it's better to use the megui ps3xbox360fast profile, which has these parameters (bitrate, pass and stats parameters removed from example):
--level 4.1 --bframes 3 --weightb --direct auto --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"
but I had no problem. Check this out,
http://www.digital-digest.com/articles/PS3_H.264_Conversion_Guide_page1.html
.. and if you're wondering, it took 14 hours on my AMD Athlon 64 X2 4600+