Dark Morford
22nd May 2008, 00:41
I'm attempting to encode anime episodes for my PSP (firmware 3.95) using MeGUI, which is fully updated as of this post. First, the AVS script I'm using:avisource("[Ayu]_Rozen_Maiden_-_Traumend_01_[AC09FCF8].avi")
trim(0, 2698) # Opening theme only; comment out for full episode
bicubicresize(480, 272)
undot()The process:
Encode audio from AVISynth's output using Sharktooth's NDAAC-LC-96Kbps profile, ending up with a file such as rozen_maiden_audio.mp4
Encode video into rozen_maiden_video.mp4 with Sharktooth's PD-PSP x264 profile (The only change I make is upping the bitrate from 1000 to 1536)
Use the MP4 Muxer to combine the two into rozen_maiden_01.mp4
And this is the part where I run into trouble. Using the script as posted, the final MP4 clocks in at 1 minute 30 seconds, 15.8MB, and a video bitrate (according to mp4info) of 1373 kbps. This video plays flawlessly on my PSP.
If I comment out the trim() command—thus encoding the entire episode—and leave the MeGUI settings unchanged, I end up with an MP4 that's 163MB, 24:29 in length, and an 830 kbps video bitrate. (mp4info reports the two files to have the same audio bitrate: 97 kbps.) This file, however, does not play at all on the PSP; in fact, the device claims the file to be "Unsupported Data".
I would be inclined to believe that the PSP simply does not like MP4 files over a certain file size or length, were it not for one glaring contradiction. I have used HandBrake to encode full-length features for the PSP, with the resultant files roughly 700MB and well over an hour long. These, as well, play without a hitch.
Is there some restriction I'm not aware of that causes longer videos I encode to fail, and that HandBrake can somehow get around?
trim(0, 2698) # Opening theme only; comment out for full episode
bicubicresize(480, 272)
undot()The process:
Encode audio from AVISynth's output using Sharktooth's NDAAC-LC-96Kbps profile, ending up with a file such as rozen_maiden_audio.mp4
Encode video into rozen_maiden_video.mp4 with Sharktooth's PD-PSP x264 profile (The only change I make is upping the bitrate from 1000 to 1536)
Use the MP4 Muxer to combine the two into rozen_maiden_01.mp4
And this is the part where I run into trouble. Using the script as posted, the final MP4 clocks in at 1 minute 30 seconds, 15.8MB, and a video bitrate (according to mp4info) of 1373 kbps. This video plays flawlessly on my PSP.
If I comment out the trim() command—thus encoding the entire episode—and leave the MeGUI settings unchanged, I end up with an MP4 that's 163MB, 24:29 in length, and an 830 kbps video bitrate. (mp4info reports the two files to have the same audio bitrate: 97 kbps.) This file, however, does not play at all on the PSP; in fact, the device claims the file to be "Unsupported Data".
I would be inclined to believe that the PSP simply does not like MP4 files over a certain file size or length, were it not for one glaring contradiction. I have used HandBrake to encode full-length features for the PSP, with the resultant files roughly 700MB and well over an hour long. These, as well, play without a hitch.
Is there some restriction I'm not aware of that causes longer videos I encode to fail, and that HandBrake can somehow get around?