View Full Version : how to create PSP MP4 with xvid
erspicu
8th November 2005, 20:32
I want to use xvid for making a PSP MP4 file,
but it's not easy. I want to use VBR way coding,
but PSP only accept CBR MP4 file.
(PSP can play VBR MP4,but needs to
fake VBR header to CBR).
I think Xvid is big better than ffmpeg,so
I don't want to use 3gp_converter.
Can any tell me how to fake a VBR avi to a CBR avi file.
bond
8th November 2005, 21:33
I want to use xvid for making a PSP MP4 file,
but it's not easy. I want to use VBR way coding,
but PSP only accept CBR MP4 file.
(PSP can play VBR MP4,but needs to
fake VBR header to CBR).i never heard of this "fake vbr header" thing, any link which prooves this to be correct?
celtic_druid
9th November 2005, 05:55
ffmpeg supports XviD encoding as well as libavcodec MPEG-4 and x264. If this 3gp_converter only supports libavcodec then you might want to look for another ffmpeg GUI or make a request that they add XviD support.
erspicu
9th November 2005, 11:07
i never heard of this "fake vbr header" thing, any link which prooves this to be correct?
For encoding PSP MP4 file,if using quality base mode,you have to
add -muxvb xxx for make a fake cbr flag header.
yaz
9th November 2005, 11:36
yep ... the same q&d trickin' as done w/packing vbr mp3 into avi in the early days.
if u know how to mux such streams why don't u do that on your own ? make your encodes just as u want and (re)mux the stream into 3gp/mp4 w/ffmpeg as it's needed. simple as that. or not ?
however, i'd be very cautious w/such trickin. playback would be a big issue here.
the bests
y
bond
9th November 2005, 18:52
For encoding PSP MP4 file,if using quality base mode,you have to
add -muxvb xxx for make a fake cbr flag header.i dont know of any flag on the mp4 level signalling vbr or cbr
any link which prooves this to be correct? or give more details about this
jonny
11th November 2005, 16:04
Mobilehackerz's ffmpeg builds already uses XviD.
"-muxvb 768" is only needed for psp compatibility (i guess psp doesn't play the file if the value in the header is > 768).
On the real case you can go up to 1500-2000 kbps (the video stutters if the bitrate is too high).
Anyway there are no problems with vbr and -muxvb.
Elias
20th November 2005, 10:15
Doesn't the PSP require some proprietary Sony atoms in the mp4 files? Which means that XviD is capable of producing the accurate video stream for a PSP, but no mp4 muxing tools are available for creating these specific mp4 files? As far as I know, MP4Box cannot do this.
jonny
20th November 2005, 10:53
Mobilehackerz's ffmpeg builds do this ( http://www.nurs.or.jp/~calcium/3gpp/index.html )
The binary is in the 3GP Converter zip file.
(+ Mobilehackerz's build handle AviSynth input!)
I think the latest cvs of ffmpeg have psp compatibility too, but last time i've checked was a bit buggy.
Elias
20th November 2005, 10:55
Mobilehackerz's ffmpeg builds do this ( http://www.nurs.or.jp/~calcium/3gpp/index.html )
The binary is in the 3GP Converter zip file.
(+ Mobilehackerz's build handle AviSynth input!)
I think the latest cvs of ffmpeg have psp compatibility too, but last time i've checked was a bit buggy.Does it direct stream copy an XviD avi file into mp4?
jonny
20th November 2005, 11:58
yep you can use direct stream copy to mp4 file (you could make an avi with xvid, mp4 with aac and then mux everything to a new mp4 - but i never checked if this works - usually i encode directly with ffmpeg)
bond
20th November 2005, 12:26
Does it direct stream copy an XviD avi file into mp4?ffmpeg can stream copy to .mp4, but the .mp4 files are borked
Elias
20th November 2005, 12:49
ffmpeg can stream copy to .mp4, but the .mp4 files are borkedAnd so can MP4Box. This is not a unique feature. What I'm wondering about is if it can direct stream copy XviD avi files into mp4 that will work on a PSP.
bond
20th November 2005, 13:35
And so can MP4Box. This is not a unique feature.well i wouldnt call "creating borked mp4 files" a feature ;)
and no mp4box doesnt support this feature ;)
What I'm wondering about is if it can direct stream copy XviD avi files into mp4 that will work on a PSP. sony added non-mpeg-4 extensions to the mp4 container which store basically the things already in the mp4 container again twice (eg aspect ratio or creation time), which is pretty idiotic and space wasting
mp4box is on the other hand a smart tool and therefore doesnt support idiotic things ;)
Elias
20th November 2005, 15:07
Hehe, okay, if that's what you mean with "b0rked" this time, then I get it :) By the way, does the PSP require these b0rked mp4 features for AAC in mp4 (no video)? And isn't there any firmware PSP version that doesn't need these b0rked features in mp4, i.e. any standard mp4 will work in PSP?and no mp4box doesnt support this featureDirect stream copy of an XviD avi file into an mp4 is what MP4Box does all the time :D Well, depending on how you want to see it, since MP4Box does this process losslessly :)
damrod
13th December 2005, 23:39
to modify you mp4 to psp compatible mp4 use atomchanger.exe....et use "correct" psp names
btw with firmware 2+ you can use h264 as video codec
usually i use mp4 with h264 at 500 and lc-aac at 64
i don't know if he-aac is supported : i will check but it's not very important ;-)
the video codec is better like that !!! xvid at 500 berkkkkkk
and at 768 it's correct but h264 is better so...
@jonny : sorry but i can't resist h264... pspenc is still a very good job...
btw ...thumbnails for psp is not so difficult to create....the problem is to choose the right frame ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.