Log in

View Full Version : No problems with PSP 2.70 encoding using X264 and Megui on a PC


Clown shoes
14th May 2006, 00:16
THIS IS NO LONGER AN ISSUE. THE PROBLEMS WERE MINE AND NOTHING TO DO WITH PSP 2.70, X264 OR MEGUI.

SORRY FOR ANY INCONVENIENCE




I have suddenly started having major issues with encoding for the PSP using Megui and x264. I recently upgraded to software version 2.70 and thought nothing of it, as I continued encoding happily without problem. Then after a couple of days, I started getting the dreaded "This video cannot be played" I checked to see nothing had changed in my settings, but all was fine. I replaced all my elements; Megui, x264 and MP4Box with the latest versions, all to no avail. I tried PSP video 9 and that worked fine!! Over the past few days I have done dozens of test encodes with small 10 second chunks of video with different settings on several different machines, each time with the same result... Well actually not every time! On three seperate occasions, on two different machines, I have managed to succesfully encode one of those chunks and have it play on the PSP. What is strange is that if I then encode the entire video, without making any changes to any of the software settings, the full video is once again not playing!!

Is anyone else having the same problem? Any help would be greatly appreciated.


My Settings are as follows


Mux output;

Starting job job1 at 23:05:57
Job is a mux job. Commandline:
-add "E:\PSP\pspfiles\video.264" -add "E:\PSP\pspfiles\audio_1.mp4":lang=eng -fps 23.976 -new "E:\PSP\pspfiles\Output.mp4"
successfully set up muxer
Processing ended at 23:06:34
---------------------------------------------------------

Log for job job1

Adjusting AVC SizeLength to 16 bits
AVC-H264 import - frame size 368 x 208 at 23.9760 FPS
Adjusting AVC SizeLength to 24 bits
Import results: 55973 samples - Slices: 709 I 32166 P 23098 B - 1 SEI - 628 IDR
IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
Saving E:\PSP\pspfiles\Output.mp4: 0.500 secs Interleaving

-----------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated




x264 profile;

<?xml version="1.0"?>
<VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>2 pass auto slow</Name>
<Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>700</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>1</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>2pass.log</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>false</MixedRefs>
<X264Trellis>0</X264Trellis>
<NbRefFrames>1</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>6</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>2</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>-1</VBVMaxBitrate>
<METype>0</METype>
<MERange>16</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>1</Profile>
<Level>3</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>false</WeightedBPrediction>
<AdaptiveBFrames>true</AdaptiveBFrames>
<BFramePyramid>false</BFramePyramid>
<BRDO>false</BRDO>
<biME>false</biME>
<ChromaME>true</ChromaME>
<P8x8mv>false</P8x8mv>
<B8x8mv>false</B8x8mv>
<I4x4mv>false</I4x4mv>
<I8x8mv>false</I8x8mv>
<P4x4mv>false</P4x4mv>
<AdaptiveDCT>false</AdaptiveDCT>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</Settings>
</VideoProfile>


Megui settings;

<?xml version="1.0"?>
<MeGUISettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UsingNero6>false</UsingNero6>
<DivXMuxPath>divxmux.exe</DivXMuxPath>
<DialogSettings>
<DuplicateResponse>true</DuplicateResponse>
<AskAboutDuplicates>true</AskAboutDuplicates>
<WarnAboutRDO2>true</WarnAboutRDO2>
<AskAboutError>true</AskAboutError>
<ContinueDespiteError>true</ContinueDespiteError>
<AskAboutYV12>true</AskAboutYV12>
<AddConvertToYV12>true</AddConvertToYV12>
<AskAboutVOBs>true</AskAboutVOBs>
<UseOneClick>true</UseOneClick>
</DialogSettings>
<SourceDetectorSettings>
<CombedFrameMinimum>5</CombedFrameMinimum>
<MinimumUsefulSections>20</MinimumUsefulSections>
<DecimationThreshold>2</DecimationThreshold>
<MaxPortions>5</MaxPortions>
<Priority>BelowNormal</Priority>
<PortionsAllowed>false</PortionsAllowed>
<PortionThreshold>5</PortionThreshold>
<HybridFOPercent>10</HybridFOPercent>
<MinimumAnalyseSections>150</MinimumAnalyseSections>
<AnalysePercent>1</AnalysePercent>
<HybridPercent>5</HybridPercent>
</SourceDetectorSettings>
<AcceptableAspectErrorPercent>5</AcceptableAspectErrorPercent>
<UseAdvancedTooltips>true</UseAdvancedTooltips>
<AvsProfileName>Default Profile</AvsProfileName>
<OneClickProfileName>default</OneClickProfileName>
<MencoderPath>mencoder.exe</MencoderPath>
<FaacPath>faac.exe</FaacPath>
<LamePath>lame.exe</LamePath>
<NerorawPath>neroraw.exe</NerorawPath>
<MkvmergePath>mkvmerge.exe</MkvmergePath>
<BesweetPath>besweet.exe</BesweetPath>
<Mp4boxPath>mp4box.exe</Mp4boxPath>
<X264Path>x264.exe</X264Path>
<DgIndexPath>dgindex.exe</DgIndexPath>
<XviDEncrawPath>xvid_encraw.exe</XviDEncrawPath>
<Avc2aviPath>avc2avi.exe</Avc2aviPath>
<AviMuxGUIPath>avimux_gui.exe</AviMuxGUIPath>
<AudioProfileName />
<VideoProfileName>2 pass auto slow</VideoProfileName>
<RecalculateMainMovieBitrate>false</RecalculateMainMovieBitrate>
<AutoForceFilm>true</AutoForceFilm>
<AutoStartQueue>false</AutoStartQueue>
<Shutdown>false</Shutdown>
<AutoOpenScript>true</AutoOpenScript>
<AutoSetNbThreads>false</AutoSetNbThreads>
<OpenProgressWindow>true</OpenProgressWindow>
<SafeProfileAlteration>false</SafeProfileAlteration>
<ForceFilmThreshold>95</ForceFilmThreshold>
<DefaultLanguage1>Abkhazian</DefaultLanguage1>
<DefaultLanguage2>Abkhazian</DefaultLanguage2>
<DefaultPriority>IDLE</DefaultPriority>
<EnableMP3inMP4>false</EnableMP3inMP4>
<OverwriteStats>true</OverwriteStats>
<Keep2of3passOutput>false</Keep2of3passOutput>
<NbPasses>2</NbPasses>
<DeleteCompletedJobs>false</DeleteCompletedJobs>
<DeleteIntermediateFiles>true</DeleteIntermediateFiles>
<DeleteAbortedOutput>true</DeleteAbortedOutput>
<VideoExtension />
<AudioExtension />
</MeGUISettings>


Belight log;


[23:37:15] : BeLight version 0.2.2.0 beta 9 started !
[23:37:15] : Microsoft Windows XP Professional (version 5.1, Build 2600 : Service Pack 2)
[23:37:15] : Checking libraries for BeSweet...
[23:37:15] : Ok, no problem. All dlls are included in BeLight folder
[23:37:15] : aacenc32.dll 4.2.1.0 detected
[23:37:15] : aac.dll 3.0.0.3 detected
[23:37:44] : test.wav --> test.mp4


Megui encode settings;

Starting job job2-1 at 23:50:48
Job is a video job. encoder commandline:
--pass 1 --bitrate 700 --stats "E:\PSP\pspfiles\test.stats" --level 1.3 --bframes 1 --direct temporal --subme 7 --analyse none --me dia --progress --no-psnr --output NUL "E:\PSP\pspfiles\test.avs"
successfully started encoding
Processing ended at 23:50:57
----------------------------------------------------------------------------------------------------------

Log for job job2-1

avis [info]: 368x208 @ 23.98 fps (222 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:4 Avg QP:14.25 size: 26895
x264 [info]: slice P:136 Avg QP:16.46 size: 5747
x264 [info]: slice B:82 Avg QP:18.02 size: 1489
x264 [info]: mb I I16..4: 30.4% 0.0% 69.6%
x264 [info]: mb P I16..4: 28.4% 0.0% 0.0% P16..4: 61.7% 0.0% 0.0% 0.0% 0.0% skip: 9.9%
x264 [info]: mb B I16..4: 5.5% 0.0% 0.0% B16..8: 38.7% 0.0% 0.0% direct:10.7% skip:45.0%
x264 [info]: final ratefactor: 17.18
x264 [info]: kb/s:873.7

Actual bitrate after encoding without container overhead: 874.29

----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
job job2-1 has been processed. This job is linked to the next job: job2-2
Starting job job2-2 at 23:50:57
Job is a video job. encoder commandline:
--pass 2 --bitrate 700 --stats "E:\PSP\pspfiles\test.stats" --level 1.3 --bframes 1 --direct temporal --subme 7 --analyse none --me dia --progress --no-psnr --output "E:\PSP\pspfiles\test.264" "E:\PSP\pspfiles\test.avs"
successfully started encoding
Processing ended at 23:51:04
----------------------------------------------------------------------------------------------------------

Log for job job2-2

avis [info]: 368x208 @ 23.98 fps (222 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:4 Avg QP:18.00 size: 16213
x264 [info]: slice P:136 Avg QP:17.25 size: 4872
x264 [info]: slice B:82 Avg QP:18.63 size: 1260
x264 [info]: mb I I16..4: 31.4% 0.0% 68.6%
x264 [info]: mb P I16..4: 27.7% 0.0% 0.0% P16..4: 56.5% 0.0% 0.0% 0.0% 0.0% skip:15.9%
x264 [info]: mb B I16..4: 5.6% 0.0% 0.0% B16..8: 32.7% 0.0% 0.0% direct:10.7% skip:51.0%
x264 [info]: kb/s:717.8

Actual bitrate after encoding without container overhead: 718.40
desired video bitrate of this job: 700 kbit/s - obtained video bitrate: 718.400448 kbit/s
----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'E:\PSP\pspfiles\test.stats', deleting...
Deletion succeeded.

My AVS;

avisource("E:\PSP\pspfiles\test.avi", audio=false)
LanczosResize(368,208)
assumefps(23.976)

Atom settings;

start /belownormal /b /w ATOMChanger.exe Output.mp4 E:\MAQ00001.MP4 AtomAVC.ini

Atom configuration;

[Config]
Title=PSP/AVC:FPS Depends on Input File
MQV=2

[DeleteAtom]
Item0=ftyp
Item1=udta
Item2=free
Item3=drm%20

[InsertAtom]
Item0=ftypMSNV%01%00%07%86MSNVmp42isom
Item1=/moov/trak/edts%00%00%00%1Celst%00%00%00%00%00%00%00%01%00%7E%31%B6%00%00%00%00%00%01%00%00

damrod
14th May 2006, 09:13
usually i make cbr encoding since if i remember well the psp support max 768kb/s as bitrate...for divx encoding i use ffmpeg and specify a maxbitrate of 768 doing abr encoding after

if you add --ipratio 1.00 --qcomp 0 to specify cbr encoding and iframes only does it help?

bond
14th May 2006, 10:33
if a file played with the old firmware, but not with the newer one anymore, it means that sony changed something to lock some files out (on purpose or not)

Clown shoes
14th May 2006, 12:03
What's strange is that sometimes it works, sometimes it doesn't, using the same settings! I'm very confused...

And the fact that PSP video 9 works!

Is anyone else using 2.70?

deets
14th May 2006, 22:02
What's strange is that sometimes it works, sometimes it doesn't, using the same settings! I'm very confused...

And the fact that PSP video 9 works!

Is anyone else using 2.70?


I am, im currently running a test now to see what results i get.

I dont think Ive actually encoded any movies since 2.7 came out.

if sony have borked it, i will be super peeved as ive got a long train journey in 2 weeks....

Clown shoes
14th May 2006, 22:18
Nice one Deets, glad to know your on the case too mate. I'm kinda hoping this is me messing it up, rather than 2.70 being broken for our purposes. That is a damn handy FAQ you set up as well mate. Nicely done.

Clown shoes
14th May 2006, 22:44
OK... Just managed to get my first 40 minute video working. I used a slightly adapted version of Sharktooth's PSP profile. The only significant change that I can think of was dropping the video bitrate to 500kbps as suggested by Damrod. I will now do exactly the same encode but with a higher bitrate again and see if it fails, so as I can isolate the cause. I don't recall a bitrate of 700 being a problem before this firmware! In fact as I come to think of it, my PSPVideo 9 settings are perminantly left on 900kbps and that always works. Very strange!


x264 profile;

PD-PSP (Auto 2pass) (1 x ref) (1 x b frame) (500kbps) (1 x thread).xml


<?xml version="1.0"?>
<VideoProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>PD-PSP (Auto 2pass) (1 x ref) (1 x b frame) (500kbps) (1 x thread)</Name>
<Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>500</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>1</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>true</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>1</NbThreads>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>false</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>1</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>5</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>-1</VBVMaxBitrate>
<METype>2</METype>
<MERange>16</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>1</Profile>
<Level>15</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>true</WeightedBPrediction>
<AdaptiveBFrames>true</AdaptiveBFrames>
<BFramePyramid>false</BFramePyramid>
<BRDO>true</BRDO>
<biME>true</biME>
<ChromaME>true</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>false</I8x8mv>
<P4x4mv>true</P4x4mv>
<AdaptiveDCT>false</AdaptiveDCT>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</Settings>
</VideoProfile>







Megui job logs;


Log for job job1-1

avis [info]: 368x208 @ 23.98 fps (55973 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:439 Avg QP:15.33 size: 11800
x264 [info]: slice P:33081 Avg QP:17.48 size: 3537
x264 [info]: slice B:22453 Avg QP:19.14 size: 1162
x264 [info]: mb I I16..4: 12.3% 0.0% 87.7%
x264 [info]: mb P I16..4: 17.9% 0.0% 0.0% P16..4: 72.9% 0.0% 0.0% 0.0% 0.0% skip: 9.2%
x264 [info]: mb B I16..4: 2.6% 0.0% 0.0% B16..8: 29.5% 0.0% 0.0% direct:25.7% skip:42.2%
x264 [info]: final ratefactor: 19.63
x264 [info]: direct mvs spatial:87.8% temporal:12.2%
x264 [info]: kb/s:508.1

Actual bitrate after encoding without container overhead: 508.11

-----------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
job job1-1 has been processed. This job is linked to the next job: job1-2
Starting job job1-2 at 21:07:53
Job is a video job. encoder commandline:
--pass 2 --bitrate 500 --stats "E:\PSP\pspfiles\video.stats" --bframes 1 --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --me umh --progress --no-psnr --output "E:\PSP\pspfiles\video.264" "E:\PSP\pspfiles\video.avs"
successfully started encoding
Processing ended at 21:59:29
--------------------------------------------------------------

Log for job job1-2

avis [info]: 368x208 @ 23.98 fps (55973 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:439 Avg QP:15.76 size: 10711
x264 [info]: slice P:33081 Avg QP:16.74 size: 3537
x264 [info]: slice B:22453 Avg QP:18.45 size: 1078
x264 [info]: mb I I16..4: 26.1% 0.0% 73.9%
x264 [info]: mb P I16..4: 9.2% 0.0% 12.9% P16..4: 35.5% 23.0% 8.3% 1.2% 0.6% skip: 9.2%
x264 [info]: mb B I16..4: 1.3% 0.0% 1.5% B16..8: 37.1% 3.0% 7.9% direct: 3.9% skip:45.2%
x264 [info]: direct mvs spatial:75.9% temporal:24.1%
x264 [info]: kb/s:500.0

Actual bitrate after encoding without container overhead: 500.05
desired video bitrate of this job: 500 kbit/s - obtained video bitrate: 500.046780225957 kbit/s
-------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'E:\PSP\pspfiles\video.stats', deleting...
Deletion succeeded.Starting job job2 at 22:27:51
Job is a mux job. Commandline:
-add "E:\PSP\pspfiles\video.264" -add "E:\PSP\pspfiles\audio.mp4":lang=eng -fps 23.976 -new "E:\PSP\pspfiles\Invasion.mp4"
successfully set up muxer
Processing ended at 22:28:24
---------------------------------------------------------------

Log for job job2

Adjusting AVC SizeLength to 16 bits
AVC-H264 import - frame size 368 x 208 at 23.9760 FPS
Import results: 55973 samples - Slices: 439 I 33081 P 22453 B - 1 SEI - 425 IDR
IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
IsoMedia import - track ID 2 - media type "odsm:mp4s"
IsoMedia import - track ID 3 - media type "sdsm:mp4s"
Saving E:\PSP\pspfiles\Invasion.mp4: 0.500 secs Interleaving

------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated

deets
14th May 2006, 22:45
hmm... well i just encoded an episode of little britain and all worked just fine.

my avs:
DGDecode_mpeg2source("C:\LITTLE_BRITAIN_DISC_1\VIDEO_TS\VTS_02_1.d2v")
#blank deinterlace line
#crop
LanczosResize(368,208) # Lanczos (Sharp)
#denoise
assumefps (24.00)

used besweet to do the audio conversion, then used the fast profile from my psp folder on the site.

megui version 0.2.3.216, only using one thread.

try updating your megui/x264 and use only the official versions? then give my fast profile a go and see if that works.

good luck, i hope its not sony whose changed anything...

Clown shoes
14th May 2006, 22:54
Hmmm. I was actually using your slower profile before as I found that was returning good results, then all of a sudden it stopped working. How long have you been on 2.70?

deets
14th May 2006, 23:19
ive been using it since the day it came out, a few weeks? my old encodes work just fine on the memory stick and the one i did just now appears to be ok... i wonder if its the audio? i stick to the official unpatches 264 for all my psp tests though, and i make sure its not auto set to put in 2 threads.

Ill try some more tests later and see if i get any problems using various sources etc....

Clown shoes
14th May 2006, 23:33
Cool. I'll keep on testing and let you know once I've narrowed down whats causing the errors.

deets
14th May 2006, 23:36
Cool. I'll keep on testing and let you know once I've narrowed down whats causing the errors.

yeah, good luck :)

ill come back and let you know if i found any probs, hopefully that could rule out if its 2.7 or not!

nrx][Natas
15th May 2006, 06:53
@Clown shoes:

Hi, read your PM. But i can't help you. I'm still on 2.6. :(

quake74
15th May 2006, 07:58
Clown shoes:

Hi, I've read your PM but I'm still on 2.0. On the side, you should keep an eye on PSPLAYERMT which plays regular avi up to 480x272. Unfortunately it's a homebrew and so you cannot run it on 2.7 (yet).

jonny
15th May 2006, 08:59
got the PM too, but i'm still on fw 1.5
(i'm an happy pmpmod user : )

Clown shoes
15th May 2006, 10:59
Thanks anyway guys. I seem to have narrowed the issue down to the bitrate. I was using 700kbps, which seemed to be failing 95% of the time but 500kbps works perfectly! What is particularly odd about that is The PSP itself will always display the audio as 128kbps and the video as 768kbps regardless of the actual bitrate used. The very fact it displys this indicates that 768kbps is an acceptable bit rate. This is confirmed by the fact PSPVideo 9 can happily encode a working film at 900kbps, although interestingly (but not necesarily related) any videos encoded with PSPVideo 9 are displayed in the PSPs information as 320 x 240 (4:3) even when the actual resolution is 368 x 208 (16:9) !

So in summary, it appears this issue is so far affecting only encodes using Megui over a particular bitrate. What is Megui and x264 doing at higher bitrates that PSPVideo 9 is not?



(The ever confused) Clown Shoes

Clown shoes
15th May 2006, 11:13
Deets mate, when you get a chance, could you try encoding an avi with a frame rate of 23.976 and a running time of 40 minutes at 700kbps. Sorry to be so specific, but It would be good to see my issue directly replicated. If you do not have a file that meets these specs, I will be happy to host a small chunk of video with these specs for you somewhere. It should then be easy to load this into Vdub and use append segment to keep increasing it's size until it reaches the required length. Direct stream copy will then produce a single 40 minute file. (sorry if I'm teaching grandma to suck eggs. I try to be as descriptive as possible when posting technical problems)

Thanks in advance mate (I also totally understand if you don't have the time)

Rich

Clown shoes
15th May 2006, 11:38
Sorry for the multiple posts but I've just had a thought. Am I being a complete idiot here and missing the obvious. Is the fact I am doing multiple passes here the issue? Is the multi pass a variable bit rate encode?? That would mean setting bitrate at 700kbps would undoubtedly mean the bitrate would spike to above maybe 900kbps at certain points. Could this be making it incompatible? Or am I going off on another tangent here?

deets
15th May 2006, 22:16
Deets mate, when you get a chance, could you try encoding an avi with a frame rate of 23.976 and a running time of 40 minutes at 700kbps. Sorry to be so specific, but It would be good to see my issue directly replicated. If you do not have a file that meets these specs, I will be happy to host a small chunk of video with these specs for you somewhere. It should then be easy to load this into Vdub and use append segment to keep increasing it's size until it reaches the required length. Direct stream copy will then produce a single 40 minute file. (sorry if I'm teaching grandma to suck eggs. I try to be as descriptive as possible when posting technical problems)

Thanks in advance mate (I also totally understand if you don't have the time)

Rich

hey, well i converted a 45 min 23fps clip at 700kb today and i had no problems at all :(

i used one pass ABR at 700. even muxed it with a mono audio track (testing megui and the nero CLI) and all worked just fine...

ive got a few things on right now, but ill make a 5 min test clip and try various bit rates to see if it causes me any grief.

keep us informed, i know how irritating it is ;)

edit: okay, did a test with a 1500kb clip and its working just fine on the psp... 15mb a min though!

cant be the bit rate then...

have you tried the latest x264+ megui? you dont have it set to automatically set the number of threads?

quake74
16th May 2006, 07:59
Hi again, I've found more evidence of this weird 2.70 problem, you might want to keep an eye on

http://www.psp411.com/forum/10324/0//AVC_H264_Playback_with_Firmware_270.html#

and

http://forum.videohelp.com/viewtopic.php?t=299480

Good luck!

bond
21st May 2006, 11:33
Sorry for the multiple posts but I've just had a thought. Am I being a complete idiot here and missing the obvious. Is the fact I am doing multiple passes here the issue? Is the multi pass a variable bit rate encode?? That would mean setting bitrate at 700kbps would undoubtedly mean the bitrate would spike to above maybe 900kbps at certain points. Could this be making it incompatible? Or am I going off on another tangent here?2pass means vbr and means that the bitrate could go above 900kbps. x264 supports vbv which allows you to limit the bitrate hights (and is especially useful for hardware players)

Clown shoes
22nd May 2006, 12:47
Apologies for not having got back on here sooner to report my findings. I am feeling a little sheepish as it appears a combination of haste, stupidity and a possible small bug (I stress possible as this could also be stupidity) in Megui, are the cause for my failed encodes!

Having backtracked, I think I have got to the source of the problem. It appears that when setting Megui in the config box, if you then check the bitrate calculator after that, even if you do not apply any changes, the max bitrate in the config section sometimes changes to what was in the bitrate calculator! The only reason I was in the bitrate calculator was to check the reported framerate, as I was testing new avisynth scripts and occasionaly, they were being reported as 25fps! After a couple of failed encodes, I did the usual combination of updating software versions and trashing settings. This is where my second problem occured. In my haste to get going again, I forgot one very important thing. The psp seems to have an issue with encodes done on multi threaded machines (for reasons I still do not understand) All the machines I use have multiple processors or are at least hyperthreaded. Therefore, once I started testing abr encodes, these were failing as well!!

So boys and girls. The moral of this story is... Well I don't actually know if there's a moral here, but I f**ked up.


THERE IS NOTHING WRONG WITH 2.70

Sorry if I wasted anyones time.



:stupid:

deets
22nd May 2006, 12:59
oh man :D

ah im just glad you sorted it, i dont think anything was as frustrating as when i was trying to work out why some encodes didnt work!

ill make you feel better by saying ive done exactly the same thing, a fresh install of megui resets the threads and it took me an age to work out what i was doing wrong ;)

I do wonder why the psp doesnt like the multi threaded files...

on a side note, now megui supports the free nero CLI, all PSP encoding can be done in the one app which is truly fantastic :)

ill add a page about the free nero tool at some point...

Clown shoes
22nd May 2006, 13:16
Nice one Deets. On a side note, how do you find ghosting on your PSP? I have been experimenting with some avs scripts using some gamma, sharpening and brightness filters which eradicate a huge amount of it. This shows that it is a misconception that the PSPs ghosting issues are caused solely by the screen. Let me know if you are interested and I will post up the scripts. Rich

quake74
22nd May 2006, 16:52
on a side note, now megui supports the free nero CLI, all PSP encoding can be done in the one app which is truly fantastic :)


As far as I know, atomchanger is still needed. I proposed integrating it in megui, but that hasn't happened yet.

Sharktooth
22nd May 2006, 17:18
As far as I know, atomchanger is still needed. I proposed integrating it in megui, but that hasn't happened yet.
yes, we're still taking into consideration to add it.

Clown shoes
22nd May 2006, 18:59
I would like to 2nd, 3rd, 4th and 5th that proposal. It would make my life soooo much easier. :D

deets
22nd May 2006, 20:21
yeah me too!! if i had a clue i would encode a nice little gui for atomchanger, its such a pain in the butt to work with batch files :)

and clown, sure post your scripts for ghosting, i had pretty much forgotten about that till you mentioned it again ;)