PDA

View Full Version : Okay, I'm trying to convert a .vob file using PSP Video 9.


Agent86
16th August 2006, 01:57
PSP Video 9 is used to convert the VOB into a PSP compatible AVC-codec MPEG-4 file.

However, PSP Video 9 produces files that are too dark. I need to make a script to brighten the videos (PSP Video 9 has an avisynth implementation feature).

This is the script I'm using now:


Directshowsource("<%inputfile%>")
Tweak(bright=x)

It works fine (it runs off of PSP Video 9 so I don't actually put the video file location in it). However, it only works with .avi files.

Does anybody know of a script that will do this with .vob files?

I'm getting really frustrated here because I have no clue how to use the program, despite reading up on it. If anybody can help me out, I'd really appreciate it.

Also, if possible, in addition to correcting the brightness, could somebody tell me what I have to do tweak the sharpness, contrast, and saturation?

If somebody could create a simple, working script to do this, I'd really appreciate it, if only because it could help cure my own ignorance.

Thanks in advance.

Agent86
16th August 2006, 07:09
Anybody know what to do here?

ilovejedd
16th August 2006, 07:41
Run the VOB file through DGIndex. I didn't change any of the default settings except for Audio >> Output Method >> Decode AC3 Track to WAV. Oh yeah, you might also want to uncheck Options >> Use Full Paths.

I suggest creating a Template.avs for DGIndex (should be in the same directory). PSPVideo9 supports AviSynth scripts so I'm not sure if PSPVideo9 will treat it the same as AVI, but in case it doesn't, you can add the brightness tweak in the Template.avs.

I use the following Template.avs (added your tweak for brightness):

LoadPlugin("C:\path\DGDecode.dll")
video = MPEG2source("__vid__").Tweak(bright=x)
audio = WavSource("__aud__").Amplify(5)
AudioDub(video,audio)

DGIndex will automatically replace __vid__ and __aud__ with the path for the generated d2v and wav files, respectively. Try encoding a short clip to see if the brightness tweak in the template is redundant. I don't use PSPVideo9 myself. I prefer 3GP Converter (also ffmpeg-based), but I've already customized the Transcoding.ini so there are 2-pass and 3-pass settings for the bitrates I normally use.