Is there any way to encode videos using XviD for the PSP?
-
- Posts: 1
- Joined: Tue Apr 05, 2005 2:22 pm
Is there any way to encode videos using XviD for the PSP?
I know XviD has simple profile, but it probably will not work directly with the PSP, one of the obvious reasons being that most encoding programs output to AVI and the PSP needs specialized header information (I think). So my question is, is there any way to make an XviD file compliant with the PSP by using some sort of program that adds proper header information and muxes it into MP4 along with the audio track for you? I believe programs like 3gpp and pspvideo9 just use ffmpeg which I think is not the same as XviD?
XviD, DivX, and FFMPEG's MPEG4 encoder all produce the same video stream - an MPEG4 stream. You just have to make sure that you don't use features which aren't supported by the PSP's MPEG4 video decoder. XviD can be multiplexed into an MP4 container just the same as what FFMPEG produces.
First encode the xvid as an avi like normal, then use mp4box to convert the xvid avi to mp4 like this "mp4box -import xvid.avi xvid.mp4"
You can then merge video with audio this way (aac in the example) "mp4box -merge xvid.mp4 aac.mp4 movie.mp4"
There are other ways - google around and you should find lots of info in it.
First encode the xvid as an avi like normal, then use mp4box to convert the xvid avi to mp4 like this "mp4box -import xvid.avi xvid.mp4"
You can then merge video with audio this way (aac in the example) "mp4box -merge xvid.mp4 aac.mp4 movie.mp4"
There are other ways - google around and you should find lots of info in it.
-
- Posts: 564
- Joined: Sat Jan 17, 2004 10:22 am
- Location: Sweden
- Contact:
Not to mention if you use ffmpeg... depending on the platform you can get a build with XviD support built into it. I submitted the patch for XviD support to the ffmpeg/libavcodec guys myself. The quality is pretty good, although I personally wish there was some better pre-processing (filtering, specifically) in ffmpeg. Otherwise ffmpeg is pretty good and outputs some great file sizes with XVid.