forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there any way to encode videos using XviD for the PSP?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Bulletproof



Joined: 05 Apr 2005
Posts: 1

PostPosted: Tue Apr 05, 2005 2:26 pm    Post subject: Is there any way to encode videos using XviD for the PSP? Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Apr 05, 2005 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Tue Apr 05, 2005 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Krevnik



Joined: 09 Mar 2005
Posts: 71

PostPosted: Tue May 17, 2005 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Latexxx



Joined: 12 May 2005
Posts: 12

PostPosted: Tue May 17, 2005 5:18 am    Post subject: Reply with quote

Both 3gpp converter and pspvideo9 use Xvid through ffmpeg.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group