My way to VOB to AVI conversion #2
1. Install Graphedit
2. Build the graph (follow the instructions at the bottom of the page) :
3. Use Virtual Dub only to discover the actual frame rate you have to set your .AVI to get audio/video synced (choose Video-->Frame Rate and read the number)
4. Exit Virtual Dub and use Avifrate to instantaneously set video to the right frame rate (faster and more accurate than Virtual Dub in this operation)
Pros: fast (approx 1x with Celeron 450),
perfect sync, good quality
Cons: incorrect w/h ratio for panavision (2.35:1) DVD, no audio/video settings
<< go to "My way to VOB to AVI conversion #1"
Manually Build a Filter Graph
To create an empty filter graph and manually add filters and connections, perform the
following steps. This example assumes you want to play a file from your hard disk.
See About the DirectShow Filter Graph Editor for information about how GraphEdit
represents filters, pins, and connections graphically.
1 On the File menu, click New to create a new
filter graph.
2 On the Graph menu, click Insert Filters. GraphEdit displays the
"Which filters do you want to insert?" dialog box, which contains a list of
filter categories.
3 Click the plus symbol (+) immediately to the left of the DirectShow
Filters category to see the drop-down list of filters. The plus symbol becomes a minus
symbol () when the list is expanded, as the following illustration shows. Click the
minus symbol to contract the list.
4 Select File Source (Async) from the filter list (scrolling if
necessary) and click the Insert Filters button. Because the Asynchronous File Source
filter requires an input file, GraphEdit displays the "Select an input file for this
filter to use" dialog box.
5 Select a multimedia file that you have on your hard disk (for this
example, assume you chose a file called Jupiter.avi). Click the Open button. GraphEdit
inserts a rectangle labeled Jupiter.avi in its client area. This rectangle represents the
Asynchronous File Source filter and has a small square attached to its right side, labeled
Output, which represents the filter's output pin.
6 At this point, you could right-click the Async filter's output pin and
choose Render from the resulting shortcut menu to have GraphEdit render the rest of the
filter graph for you automatically. Instead, continue by inserting a few more filters
manually. From the "Which filters do you want to insert?" dialog box, select the
AVI Splitter filter. Like the File Source (Async) filter, this filter is listed in the
DirectShow Filters category. Click Insert Filters and GraphEdit inserts the AVI Splitter
filter in its client area. This filter has one input pin, shown by a small square attached
to the left side of the AVI Splitter filter rectangle.
7 Connect the Async File Source filter to the AVI Splitter filter as
follows.
1 Click the Async filter's Output pin and drag to the AVI
Splitter's input pin. GraphEdit creates an arrow representing
the connection between the filters, and moves the arrow in response to the dragging
operation.
2 Release the mouse button when the tip of the arrow head is over the small square
representing the AVI Splitter's input pin. The interior of the pin's square turns black
when the arrow head is in a valid location. After you've connected these filters, the AVI
Splitter filter sprouts one output pin for each stream in the file. If Jupiter.avi
contains an audio stream and a video stream, the pins will be labeled Stream 01 and Stream
00.
8 At this point, you could right-click each of the AVI Splitter's output pins in turn and choose Render to have GraphEdit render the rest of the filter graph for you automatically. Instead, continue by inserting one more filter manually. From the "Which filters do you want to insert?" dialog box, open the Audio Renderers filter category by clicking on the plus symbol (+) immediately to the left of the Audio Renderers label. Select a default audio renderer (for example, the Default WaveOut Device or Default DirectSound Device if available) and click the Insert Filters button.
9 Connect the AVI Splitter's Stream 01 output pin
by dragging from that pin and releasing the mouse button when the arrowhead is over the
input pin of the audio renderer.
10 You could continue to insert filters manually, much in the same way that you have so
far. Instead, right-click the AVI Splitter's Stream 00 output pin and choose Render to
have GraphEdit build up the rest of the filter graph for you automatically.