Log in

View Full Version : DirectShowSource vs Mpeg2Source


Lele-brz
24th May 2007, 11:45
Hi all,
just noticed that the encoders like Staxrip uses Mpeg2Source in avs file, what's the problem using always DirectShowSource ? Since Staxrip re index the source mpeg.

Thanks in advance

bye

Dr.Khron
25th May 2007, 17:39
I've wondered this myself...
In addition to mpeg2source vs. DirectShowSource in your AVS files, MeGUI also has option to force DirectShow input for its audio encoding.

My best guess is that DirectShow is slowest option, since it uses the operating system filters instead of a more direct method such as Mpeg2source or similiar. However, if you have trouble getting the media to decode with a direct filter, DirectShowSource will decode anything that you can play.

Guest
25th May 2007, 18:14
StaxRip indexes with DGIndex and the resulting index file is usable only by MPEG2Source().

Lele-brz
26th May 2007, 13:23
What I noticed is that sometimes DiewctShowSource lose AV sync, I mean if you open with MEdia Player the AV sync is ok, if opened through an avs file with DirectShow the av is not ok.
So probably Mpeg2Source is preferred for that?

Hyper_Thread
26th May 2007, 15:13
The .d2v file generated by DGIndex offers much more media info's than Directshow.
Most of MPEG-2 files contains 2 or +2 audio tracks, DGIndex demux them all or a pre-selected one with a delay value mentioned in file name (ex : test T01 DELAY 86ms.mpa) so Audio Encoder can apply it.
Directshow can't do this, if audio is set "True" in DirectshowSource, the first audio stream is used.
This is why GUIs uses DGIndex+MPEG2Source instead of DirectshowSource.

lpvtech
26th May 2007, 15:19
Hyper_Thread's post explains half the reason. The main reason is that, DirectShowSource requires that you have a DirectShow filter installed. If none is installed, then it will not work entirely. Also, the quality of the output depends on the decoder used. But in the other case, no DirectShow filters/decoders need to be installed in the system. It just works as DGIndex Decodes the video and it also has a very good video quality.