PDA

View Full Version : Making psp videos in VDubMod


agraham
14th December 2005, 23:06
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 "x264_ac3_subbed.avi" -title "goats gone wild" -timestamp "2005-12-14 12:06:35" -vcodec copy -acodec aac -ac 2 -ar 48000 -ab 48 -vol 384 -f psp "MAQ10001.MP4"

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

Sharktooth
15th December 2005, 00:17
Repeat with me:
"This is my way, not the army way".

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

rushin_911
15th December 2005, 00:40
Repeat with me:
"This is my way, not the army way".

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

lool :D


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

Selur
15th December 2005, 00:43
YAMB might be helpful,...

agraham
16th December 2005, 00:02
lool :D


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

C:\>mp4box -add "x264_ac3_subbed.avi#video" "x264_subbed.mp4"
Video format H264 not supported - recompress the file first
Error: Feature Not SupportedError importing C:\x264_ac3_subbed.avi: Feature Not Supported

I guess it means h264 is not supported in AVI files?

agraham
16th December 2005, 00:14
Repeat with me:
"This is my way, not the army way".

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 <- 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.

bond
16th December 2005, 01:11
megui with psp profile

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

Shinjite
16th December 2005, 04:37
C:\>mp4box -add "x264_ac3_subbed.avi#video" "x264_subbed.mp4"
Video format H264 not supported - recompress the file first
Error: 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

agraham
16th December 2005, 06:04
megui 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.

rushin_911
16th December 2005, 08:42
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.

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("c:\etc\x.sub")

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

bond
16th December 2005, 12:52
In X264, avc to avi via MeGUI = no, but it is possible if you use avc2avi later on
Mencoder, avc 2 avi via MeGUI = yesthe topic is about creating files playable on the psp, and the psp obviously doesnt support avc-in-avi

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)i till now never heard that the psp supports mpeg-4 timed text, but who knows? :)

Selur
16th December 2005, 16:45
Nero Recode might be a start:
ftp://ftp6.nero.com/tutorials/recode2/NR2_for_SonyPSP_tut_eng.pdf
(though I don't know about the subtitle part)

agraham
16th December 2005, 19:12
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("c:\etc\x.sub")


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.