Προς το περιεχόμενο

2 pass encoding...


psou

Προτεινόμενες αναρτήσεις

Δημοσ.

Που λέτε τόσο καιρό κωδικοποιούσα με 1 πέρασμα.Αποφάσισα να δοκιμάσω με 2 και σε αυτό θα ήθελα την βοήθειά σας.Καταρχάς θα χρησιμοποιήσω:DVD2AVI,VFAPI,Virtual Dub.Ποιά είναι τα ιδανικά βήματα για να πετύχω το καλύτερο δυνατό αποτέλεσμα;Φυσικά θέλω να κάνω Resize & Crop.Ο.Κ. κάνω το πρώτο πέρασμα, φτιάχνει το log αλλά μετά τι κάνω load;Το αρχικό ψευδο-avi η αυτό που έδωσε το virtual dub;Το Resize & Crop τα κάνω στο δέυτερο πέρασμα σωστά;Χρησιμοποιώ το ίδιο bitrate, έτσι;Ελπίζω να μη σας κούρασα και να βρεθεί κάποιος καλός Χριστιανός να μου απαντήσει <img border="0" title="" alt="[smile]" src="images/icons/smile.gif" />

Δημοσ.

Ela to eixa kanei post kai se allo minima. Einai sta agglika giati tha anaivei se kapoio site molis vro xrono

 

I use XviD nowadays because I find it the fastest and the best in my eyes as far as quality is concerned. I have put up a comparison between XviD, DiVX 5 and DivX 3.11. Quality maybe a bit subjective but the speed results are very objective. This guide isnt for beginners since I am not going to explain in detail how to use each program, but focus more on how to combine programs together.

 

1. Rip the DVD

For that I use smartripper. It is a program that can automatically cut trailers that are contained in the vob files of the movie.

I also use dvddecrypter when I have scratched dvds that produce errors in smartripper. You can use fast error skip and get the vob files on your hard disk with some errors of course. (Time consumed here is dependant on the speed of your DVDROM and the condtion of the disk)

2. DVD2AVI

I use this program to create a project that will be used by the frameserving utility and also to get the ac3 streams I want from. (Usually takes about 10 minutes with 1GHz cpu)

3. Frameserving, Cropping and Resizing

We all know that the fastest frameserving utility is avisynth. It also features resizing & cropping filters that are the fastest around. The only problem is that it doesnt have a gui (I personally hate GordianKnot). So what I do is first make a pseudo avi using VFAPI (about 10 seconds), feed it to virtualdub and find see how I want to crop the film using null transform filter and then how to resize. I note down the numbers I used and then write the script for avisynth. Bellow is a sample script.

 

LoadPlugin("C:\divx\mpeg2dec.dll")

mpeg2source("D:\vob\movie.d2v")

crop(3,71,717,434)

BicubicResize(576,256,0.333,0.333)

 

You can write this in notepad and save it as *.avs

The first line tells the program to load mpeg2dec.dll which will make possible to read the DVD2AVI project. The second line gives the location of the DVD2AVI project. The third line gives the options for cropping first number is how many pixels to crop from the left, the second number is how many pixels to crop from the top, the third is the width in pixels and the fourth number is the height.

The last line is the resize filter. I prefer bicubic resize since it gives a crisper image. The first 2 numbers are the size of the final avi in pixels and the next two numbers are the parameters that adjust the properties of the cubic. I prefer the neutral values of 0.333 and 0.333.

4. Sound

I keep the ac3 sound and NOT use any other compression (mp3, ogg etc). If you have SoftEncode you can transcode the ac3 file to 224 Kbps to gain some more space for the video data. (Transcoding takes about 1 and a half hour for a 100 minute movie).

5. Subtitles

I am a fun of vobsub cause it doesnt use OCR. The file will probably be about 3 MB. You can always compress it using rar which is supported internally. By now you can calculate the size that the video will have to be in order to fit on the cds. (You can use a bitrate calculator-remember that for xvid 1 KB=1024 Bytes)

6. Encoding

Open VirtualDub and load the avs file. Use Fast Recompress and choose compression. Choose the XviD and give these options (of course the are not the optimal, anyone who knows to how to manipulate the quantizer matrix can get a bit better results). The settings given are for 2 cds.

We use 2 pass mode internal.

Of course you give the size calculated above.

Global settings: Motion Search Precision: 5 - Very High

Quantization type: MPEG

FourCC used: XVID

All the rest at default

Enable Alternative Curve system, automatic minimum relative quality and automatic bonus bias calculation and leave the values at the default values. Choose if you want to encode start or end credits with lower bitrate and you are set to go.

Also check discard first pass.

After the first pass is over start the second pass without changing any options and in the end you will have your avi. (about 4-5 hours).

Now use Nandub to merge the ac3 sound file and the video(Enable interleaving and give preload 80ms of audio and interleave audio every 80ms). You can cut your final avi to fit on the 2 or 3 cds with Nandub with the option go to last keyframe (Ctrl+Shift+J) which gives you an avi of the size you want. You can cut the subtitles with vobsub cutter and then you just have to burn the files on cd.

I think this is the fastest method around that can provide top quality.

 

Of course the same method can be used with divx 5 with only changing the compression codec in virtualdub.

 

crAss

  • 3 χρόνια αργότερα...
Δημοσ.

Egw exw ena arxeio avi poy to exw kanei capture apo thn tv kai 8elw na petyxw idaniko mege8os , px 700MB , wste na grapsw se cd xrhsimopoiwntas ton Xvid kwdika.

Apo oti blepw sto Virtualdub me orismo 2-pass encoding mporeis na oriseis oti 8eleis teliko mege8os. Alla 8elei kai ena arxeio .pass to prwto encoding. Ayto to arxeio pws to ftiaxnw?

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...