Back Forum Reply New

Making psp videos in VDubMod

I want to use VDubMod to make psp videos from my VOBs, since I want to use VobSub to get nice big subtitles that are readable.
So I'm saving out an AVI with a x264 video track and AC3 audio, then running

ffmpeg.exe -y -i quot;x264_ac3_subbed.aviquot; -title quot;goats gone wildquot; -timestamp quot;2005-12-14 12:06:35quot; -vcodec copy -acodec aac -ac 2 -ar 48000 -ab 48 -vol 384 -f psp quot;MAQ10001.MP4quot;

But the resulting MP4 is unplayable. VLC shows nothing, QuickTime says quot;an invalid sample description was found in the filequot;
The AVI plays just fine.

Repeat with me:
quot;This is my way, not the army wayquot;.

Everytime you use Vdub(mod) with x264 repeat that phrase...


Originally Posted by SharktoothRepeat with me:
quot;This is my way, not the army wayquot;.

Everytime you use Vdub(mod) with x264 repeat that phrase...

lool agraham, perhaps you could try mp4box and see how it goes?

YAMB might be helpful,...


Originally Posted by rushin_911lool agraham, perhaps you could try mp4box and see how it goes?Code:
C:\gt;mp4box -add quot;x264_ac3_subbed.avi#videoquot; quot;x264_subbed.mp4quot;
Video format H264 not supported - recompress the file firstError: Feature Not SupportedError importing C:\x264_ac3_subbed.avi: Feature Not Supported
I guess it means h264 is not supported in AVI files?


Originally Posted by SharktoothRepeat with me:
quot;This is my way, not the army wayquot;.

Everytime you use Vdub(mod) with x264 repeat that phrase...

So what's the preferred way to go from VOB to PSP-compatible AVC MP4 that supports
- visually cropping/letterboxing
- subtitles with custom size/color/placement

This is the process I'm using now:
rip VOBs/IFO with DVDDecrypter
copy/rename IFOs: one per VOB (vobsub insists)
open IFOs in VobSub, save out IDX,SUB
open VOB in VDubMod
apply size/crop filter to get correct aspect ratio for PSP screen
apply VobSub filter and load IDX, customize huge subtitles
apply size filter to reduce to PSP screen size
save as AVI with x264/AC3
ffmpeg convert from x264/AC3-AVI to x264/AAC-MP4 lt;- unnecessary recompression

As you can see it's pretty laborious and error-prone, but the advantage is that I can resize the video, jiggle and joggle the subtitles and instantly see a preview of it in VDubMod before I go through the long process of encoding it.

megui with psp profile

and after that f* the resulting .mp4 with these atomchanger tools, so the dumb psp can read it


Originally Posted by agraham
Code:
C:\gt;mp4box -add quot;x264_ac3_subbed.avi#videoquot; quot;x264_subbed.mp4quot;
Video format H264 not supported - recompress the file firstError: Feature Not SupportedError importing C:\x264_ac3_subbed.avi: Feature Not Supported
I guess it means h264 is not supported in AVI files?In X264, avc to avi via MeGUI = no, but it is possible if you use avc2avi later on
Mencoder, avc 2 avi via MeGUI = yes


Originally Posted by bondmegui with psp profile

and after that fuck the resulting .mp4 with these atomchanger tools, so the dumb psp can read it

I'm looking at MeGui-x264 and I can't see how to adjust subtitles or preview in there. All I see is three text boxes.

Am I supposed to export subtitles from the VOB, demux it, process the AC3 into AAC somehow (with ffmpeg maybe?), learn AviSynth, write a script, add a VobSub filter, process the M2V into M4V, MP4Box the AAC and M4V into an MP4, then view it in VLC and if the subtitles are off, edit the IDX and repeat the whole process again?

'Cause that's crazy.


Originally Posted by agrahamI'm looking at MeGui-x264 and I can't see how to adjust subtitles or preview in there. All I see is three text boxes.

Am I supposed to export subtitles from the VOB, demux it, process the AC3 into AAC somehow (with ffmpeg maybe?), learn AviSynth, write a script, add a VobSub filter, process the M2V into M4V, MP4Box the AAC and M4V into an MP4, then view it in VLC and if the subtitles are off, edit the IDX and repeat the whole process again?

'Cause that's crazy.

Dude it's actually a bit simpler than how you put it
Just download and install vobsub, and the extract the subtitles from the VOB files (it's quite easy, simply open the vobsub conifgure, click on open, make sure the file type selected is .ifo and then select the ifo file and select the subs). After that download VSfilter and just insert this line in avisynth if you plan on burning the subtitles on the video stream itself:

vsfilter(quot;c:\etc\x.subquot;)

that's all there is to it

If the psp supports subs as a seperate stream in the mp4 container than it can be even better and easier, you won't have to burn the subs but simply mux them in the mp4 container after you convert them to text format (i.e. .srt)

This might seem intimidating at first, but really it's much more simple than what it seems

good luck


Originally Posted by ShinjiteIn X264, avc to avi via MeGUI = no, but it is possible if you use avc2avi later on
Mencoder, avc 2 avi via MeGUI = yes

the topic is about creating files playable on the psp, and the psp obviously doesnt support avc-in-aviOriginally Posted by rushin_911If the psp supports subs as a seperate stream in the mp4 container than it can be even better and easier, you won't have to burn the subs but simply mux them in the mp4 container after you convert them to text format (i.e. .srt)

i till now never heard that the psp supports mpeg-4 timed text, but who knows?

/tutorials/recode...SP_tut_eng.pdf
(though I don't know about the subtitle part)


Originally Posted by rushin_911Dude it's actually a bit simpler than how you put it
Just download and install vobsub, and the extract the subtitles from the VOB files (it's quite easy, simply open the vobsub conifgure, click on open, make sure the file type selected is .ifo and then select the ifo file and select the subs). After that download VSfilter and just insert this line in avisynth if you plan on burning the subtitles on the video stream itself:

vsfilter(quot;c:\etc\x.subquot;)

Except that I also need to crop, letterbox, resize, adjust the subtitles, and resize again. So I need to preview, especially when placing the enlarged, repositioned subtitles. Placing enlarged subititles on a cropped letterboxed movie can only be done visually.
¥
Back Forum Reply New