Log in

View Full Version : Possibilities to open a mpeg1 file?


Koepi
2nd October 2002, 12:37
Hi,

I'm re-encoding several mpeg1 files of series *whistle* for backup purposes, for space-saving and a little "quality improvement".

But mpeg1 with avisynth is a real pain. Using Nic's mpegdecoder is fine, but unfortunately it's not usable for 2pass mdoes as no matter what I do (reload avs before 2nd pass, close vdub, reload,... reboot, reload,..) all the time the frames are different between first and second pass.
DirectShowSource is not seakable so I can't tweak the filters as I need to.
mpeg2dec.dll does what the name says, only mpeg2 ;)

Do you know of other possibilities to load an mpeg1 stream into avisynth?

Thanks for your help,
best reards,
Koepi

ompg
2nd October 2002, 12:43
You could use the VFAPI plugin "m2v.vfp" via LoadVfapiPlugin() function + Flipvertical()

here the link : http://e3lt11.ocv.ne.jp/mpeg2/

The home page and the readme.txt are in Japanese.

It's OK for Mpeg2, never tried for Mpeg1 but this plugin support it.

Koepi
2nd October 2002, 12:49
Thanks for the info.

vfapi works in RGB and thus introduces 2 color space conversions, that's a bad thing[tm]. I guess I've to live with DirectShowSource for so long :-/

Thanks for your tip though! :)

Best regards,
Koepi

hakko504
2nd October 2002, 13:16
Another possibility is to use VD's frameserver as VD can open MPEG1 and AVIsource acceps .vdr files if I recall correctly. This of course also have the disadvantage of double color space conversions :(

Nic
2nd October 2002, 13:23
Koepi ill fix that for MPEGDecoder :) ...(I keep breaking that :))
I was trying to fix the rff problem....grrr & double grrr that was.

-Nic

Didée
2nd October 2002, 14:16
to avoid the color conversion for now, you could fast recompress to Huffyuv and ...

[Didée running away very quickly]

:)

ompg
3rd October 2002, 11:52
Perhaps Mpeg mediator could help you

http://www.mpeg-mediator.com/

it supports MPEG-1 and MPEG-2 streams.
I didnt't try it and i don't know if you can use it with Avisynth like you want.

But Internal processing is YUV and i read somewhere that It works in conjunction with an AviSynth script.

If you want i could try to find the tutorial

Ompg