Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th February 2005, 01:57   #1  |  Link
nnigam
Registered User
 
Join Date: Nov 2004
Posts: 92
Opening Video Files

I see that there are many types of files, like vcd files, dvd files, other mpeg files that open directly in virtualdub and other applications. But I am unable to find an avisynth command to open them. No matter what I select, I get an error in the line that opens the video file. I am unable to find any other source command in the avisynth docs. Please help.
__________________
Neeraj C. Nigam
nnigam@pntravels.com
nnigam is offline   Reply With Quote
Old 13th February 2005, 03:30   #2  |  Link
Dark-Cracker
Registered User
 
Dark-Cracker's Avatar
 
Join Date: Feb 2002
Posts: 1,195
try to use :

directshowsource("c:\...\mymovie.mpg",audio=true,fps=25)

if you can open the video directly with the media player this avisynth script should work.

PS : you perhaps have problem because you don't have a mpeg directshow filter.

PS2 : next time try to post the avisynth script and the error msg returned else it can be difficult to help u.

Bye.
__________________

AutoDub v1.8 : Divx3/4/5 & Xvid Video codec and .OGG/.MP3/.AC3/.WMA audio codec.
AutoRV10 v1.0 : Use RealVideo 10 Codec and support 2 Audio Streams and Subtitles.

Dark-Cracker is offline   Reply With Quote
Old 8th March 2005, 22:03   #3  |  Link
nnigam
Registered User
 
Join Date: Nov 2004
Posts: 92
I already tried this. The lataest file that I tried this with was an m2v file created from pgcdemux. The file opened just fine when I directly opened in vdubmod. But my avisynth script below just would not work with any combination of the comment lines uncommented.

#LoadPlugin("c:\hd\yv12\YV12InterlacedReduceBy2.dll")
#DirectShowSource(".\VideoFile.m2v")
DirectShowSource(".\VideoFile.m2v", "YV12")
BiCubicResize(768,432)

Sorry about the delay in getting back to you, but I took an extended vacation, and then a major rush job at the office kept me pretty busy for anything else.
__________________
Neeraj C. Nigam
nnigam@pntravels.com
nnigam is offline   Reply With Quote
Old 8th March 2005, 22:44   #4  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Just use DGIndex (new version of dvd2avi) to create a d2v file.

Btw, have a look at http://www.avisynth.org/Section+2%3A...meserving#q2.8 (and q2.9) to import stuff in AviSynth (it's a bit outdated, but ok ...).
Wilbert is offline   Reply With Quote
Old 8th March 2005, 23:13   #5  |  Link
nnigam
Registered User
 
Join Date: Nov 2004
Posts: 92
Thanks, Now why didn't I think of that.
__________________
Neeraj C. Nigam
nnigam@pntravels.com
nnigam is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.