| View previous topic :: View next topic |
| Author |
Message |
Bulletproof
Joined: 05 Apr 2005 Posts: 1
|
Posted: Tue Apr 05, 2005 2:26 pm Post subject: 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? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Tue Apr 05, 2005 4:02 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Tue Apr 05, 2005 5:58 pm Post subject: |
|
|
Moved due to its utter irrelevance to any form of psp development discussion. next time I will strap C4 to any similar thread.
Intifada 2005. _________________ Kung VU |
|
| Back to top |
|
 |
Krevnik
Joined: 09 Mar 2005 Posts: 71
|
Posted: Tue May 17, 2005 3:04 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Latexxx
Joined: 12 May 2005 Posts: 12
|
Posted: Tue May 17, 2005 5:18 am Post subject: |
|
|
| Both 3gpp converter and pspvideo9 use Xvid through ffmpeg. |
|
| Back to top |
|
 |
|