Avisynth problem using the MPEGSource command
- hawrbarmsn
- Joined: Sat Jul 26, 2003 5:00 pm
Avisynth problem using the MPEGSource command
Okay, here's the deal:
I have an mpeg2-file, which I want to be able to open in VirtualDub.
I used an avisynth script for this, since I've had good experiences with that before (I'm using the avisynth that came with amvapp).
Since I just wanted to open the file, my script consisted of a single line:
MPEG2Source("C:\directory\file.mpg")
However, trying to load it into vdub resulted in this error:
Avisynth open failure:
MPEG2Source: couldn't open file
(C:\directory\avs.avs, line 1)
Using the DirectShowSource command was no success either.
It shouldn't be a problem with the file itself, since it plays just fine in my regular media player. I'm somewhat new at working with avisynth, so I'm not entirely sure what the cause of this problem could be.
If anyone know what I did wrong, it would really help me out. Thanks in advance.
I have an mpeg2-file, which I want to be able to open in VirtualDub.
I used an avisynth script for this, since I've had good experiences with that before (I'm using the avisynth that came with amvapp).
Since I just wanted to open the file, my script consisted of a single line:
MPEG2Source("C:\directory\file.mpg")
However, trying to load it into vdub resulted in this error:
Avisynth open failure:
MPEG2Source: couldn't open file
(C:\directory\avs.avs, line 1)
Using the DirectShowSource command was no success either.
It shouldn't be a problem with the file itself, since it plays just fine in my regular media player. I'm somewhat new at working with avisynth, so I'm not entirely sure what the cause of this problem could be.
If anyone know what I did wrong, it would really help me out. Thanks in advance.
Just one out of six billion people in one big statistic ...
My profile
Well, so much for flashy signatures ... ^_^
My profile
Well, so much for flashy signatures ... ^_^
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact:
Don't know why DirectShowSource won't work, but VirtualDub can parse complete MPEG1 streams natively. Just load the MPEG file into Vdub. Unless you have a MPEG2 stream named as a .mpg file, which is poor use of extension convetions <_<>_>.
Also MPEG2Source is for MPEG2 streams, so if this is an MPEG1 stream, it would obviously not work.
Also MPEG2Source is for MPEG2 streams, so if this is an MPEG1 stream, it would obviously not work.
- hawrbarmsn
- Joined: Sat Jul 26, 2003 5:00 pm
Yes, I know that vdub can parse mpeg1-files. However, this IS an mpeg2 stream, regardless of whatever bad use of extension it may have (I didn't name the thing).
My question was, and still is, if anyone knows what I need to do in order to get the darn avisynth script to work. Does anyone know?
My question was, and still is, if anyone knows what I need to do in order to get the darn avisynth script to work. Does anyone know?
Just one out of six billion people in one big statistic ...
My profile
Well, so much for flashy signatures ... ^_^
My profile
Well, so much for flashy signatures ... ^_^
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact:
- hawrbarmsn
- Joined: Sat Jul 26, 2003 5:00 pm
Yeah, tried that too. That screws up the proportions of the file, though :/
Just one out of six billion people in one big statistic ...
My profile
Well, so much for flashy signatures ... ^_^
My profile
Well, so much for flashy signatures ... ^_^
- klinky
- Joined: Mon Jul 23, 2001 12:23 am
- Location: Cookie College...
- Contact:
Well senor, many times MPEG2 is used in a format tha adheres to a standard. Such as an SVCD would be 480x480, DVD 720x480. There are flags put in the MPEG2 file that tell the player what the original aspect ratio was and it resizes it back to the proper ratio.
DVD2AVI doesn't follow this flag, you can save the project and then use AVS to resize it using the BiCubicResize command.
DVD2AVI doesn't follow this flag, you can save the project and then use AVS to resize it using the BiCubicResize command.
- hawrbarmsn
- Joined: Sat Jul 26, 2003 5:00 pm
I considered doing that, but I would have liked to avoid any kind of resizing. Ah well, this'll have to do ...
Thanks for your help.
Thanks for your help.
Just one out of six billion people in one big statistic ...
My profile
Well, so much for flashy signatures ... ^_^
My profile
Well, so much for flashy signatures ... ^_^
- Kaji01
- Joined: Fri Feb 07, 2003 11:29 am
- Location: San Jose, CA
- Contact:
I was having this problem a while back. I contacted AD on AIM, and he suggested finding and downloading the Donald Graft (DG) modifications for DVD2AVI and MPEG2Dec. That solved most of my problems since then, and what few I have had I have been able to solve just by resaving the project in DVD2AVI. Here's the link to download them: http://neuron2.net/fixd2v/decodefix.html
AD, If you see this, think it might be a good idea to substitute these for the existing versions in the App?
AD, If you see this, think it might be a good idea to substitute these for the existing versions in the App?