Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (9) 1 [2] 3 4 ... Last » ( Go to first unread post )
Frontend Mpeg-2 To Virtualdub, Get the video & audio into VirtualDub
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
donross
Posted: Jan 6 2003, 10:22 PM


Unregistered









tryed a lower level dir ,reinstalled avisynth and mpeg2virtualdub ,but Im still getting the same error in line 5
DelayAudio is (audio,-0.120) my mistake,sorry.
will try your update tomorrow night.

 
  Top
donross
Posted: Jan 7 2003, 05:48 PM


Unregistered









tryed it tonight and it working fine now ,no errors.
Thanks.
 
  Top
BaronVlad
Posted: Jan 7 2003, 08:18 PM


Terrorhörnchen


Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02



Hi jcsston,

I tried to use your program but it didnt work for me. ohmy.gif

It opened DVD2avi and that was all it did...hm...maybe I am to stupid

But another thing: I always use pvastrumento to correct broken mpeg streams. Wouldnt this be useful to be implemented ? No problems with async movies and broken frames anymore. smile.gif

--------------------
Hochachtungsvoll

BaronVlad

user posted image

Deutsch >> Capture FAQ - Capture Guide
Englisch >> Capture FAQ - Capture Guide
 
    Top
jcsston
Posted: Jan 7 2003, 08:45 PM


Matroska Dev


Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02



I don't think your stupid.
I don't have any experience with MPEG stream besides the ones my ATI card creates. In the future I hope to get a HDTV card that saves the streams directly to disk biggrin.gif

Could you give me more details on what happened? In the v1.6 with a separate audio file, I told DVD2AVI to extract the audio stream from the MPEG file which resulted in DVD2AVI doing nothing.

--------------------
Use the Matroska file format
 
       Top
BaronVlad
Posted: Jan 7 2003, 11:32 PM


Terrorhörnchen


Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02



QUOTE (jcsston @ Jan 7 2003, 02:45 PM)
I don't think your stupid.

smile.gif Thats fine,

Ok, i will try to explain what i did:

I had a file named "ARD - 2003,01,08 00,25,20.mpg" didnt work, renamed to "ARD.mpg" worked - for a moment, but:

VDub opened and hat a problem with delayaudio (no matter which audio decoder, rgb turned on / off)

hmmm.

I thought by myself: Ok, I have avisynth 2.5 -> put the right mpasource into the folder, nothing else happened, put mpeg2dec3.dll into the folder and renamed it to mpeg2dec.dll, nothing else happened. Ok

Now I went back to avisynth 2.07, uninstalled your program, deleted the folder, installed again, updated the exe, and - the same again.

I also tried to put mpeg2dec.dll into system32 folder (dont know why biggrin.gif ), nothing else.

Tried VDub and VDub Mod

Dont know what else I could do. huh.gif

Do you have a working version for avisynth 2.5 ? maybe compiled without the delay option, you could do this without probs in VDub after that.

Your program could do a very good job (maybe with pvastrumento, pvacut and cropping in popup windows in the future ?) so I would love to get it to work. wub.gif

Update:
I tried another mpg file (mpeg2 created with tmpeg) and worked with avisynth2.07, but not with 2.5 (and mpasource for 2.5). I could send you a small part (~1MB) of my not working mpeg2 file if you like, please tell me.



--------------------
Hochachtungsvoll

BaronVlad

user posted image

Deutsch >> Capture FAQ - Capture Guide
Englisch >> Capture FAQ - Capture Guide
 
    Top
jcsston
Posted: Jan 8 2003, 12:53 AM


Matroska Dev


Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02



I have AviSynth 2.06 installed, I think I need to try out 2.5
Yes I would like you to send me small part of the file that is giving you trouble.
wink.gif I suppose I should allow an option to de/include the DelayAudio option.
I downloaded pvastrumento and looking into it

I had one MPEG-2 file I recorded that when I tried to convert the mpa to wav using MADPlay, LAME, WinAmp, and CDex. Using WAVSource caused an crash on any program that opened the .avs script. Strangely another file recorded with the same settings works fine. My workaround was to mux the wav with VirtualDub.

--------------------
Use the Matroska file format
 
       Top
BaronVlad
Posted: Jan 8 2003, 10:27 AM


Terrorhörnchen


Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02



Hi Jory (and Lily smile.gif ),

i tried to send you a small clip, but the mail returned, please give me your working mail adress (PM)

When I capture digital, this is the way I do:

1. Capture to mpeg2 (I get some mpeg2 files, automatically split at 1,99 GB)
2. Use pvastrumento to make a pva stream (you dont have to do this, when you are able to capture directly to pva)
3. Use PVACut to cut commercials and join the pvas, save a new pva
4. use pvastrumento to demux audio and video (-> mp2 + mpv)
5. DVD2avi for mpv -> GKnot
6. Create avs with GKnot (with resize, crop, sometimes Deinterlace)
7. use mpasource (Thanks Warpenterprises) to add audio to avs (I have NO delay !!!)
8. Load avs into VDub Mod, cut again at exactly the frames I want to (that doesnt work with pvacut)
9. Save wav and compress it (i.g. Ogg or mp3 with Besweet)
10. Calculate the bitrate for the movie with GKnot
11. Two pass Encoding DivX/XVid with VDub Mod
12. Mux audio and video
13. Burn XCD, ready.

there is a guide about that (sorry German language only at this time), but if you look at the pictures you see some settings you should do (fix startup delay...) and with my explainations above it should work for you: Digital Capture Guide

Something else: Your program works with Avisynth 2.5: Just replace mpasource for 2.5 with the 2.0 version in the program folder and delete mpeg2dec.dll and put mpeg2dec3.dll ( http://ziquash.chez.tiscali.fr/ ) into the folder and rename it to mpeg2dec.dll.

With my files it worked this way: Make pva and demux the file, then loaded mp2 and mpv into your program, set delay to "0" in the pop up window. This opens VDub with the scripts and 0 delay (exactly in sync) Great !

Ok, the pva thing is my problem huh.gif , think I can do this with pvastrumento and pvacut also, but it would be very useful, but some hard work to implement crop and resize like GKnot does. But this would help a lot, cause you could use "Fast Recompress" in VDub and you dont have to add the filters manually.

Jory, you had a very good idea, and it works and this program will have a great future, please, please try to implement these things and I would like to be your first alpha and beta and gamma and what ever you like tester wub.gif



--------------------
Hochachtungsvoll

BaronVlad

user posted image

Deutsch >> Capture FAQ - Capture Guide
Englisch >> Capture FAQ - Capture Guide
 
    Top
sidebar99
Posted: Jan 8 2003, 03:26 PM


Unregistered









I still have no luck.
I am getting the line5 error.
May I have a detailed description of what you guys did.

I am using an ATI AIW128 Rage Ultra.
 
  Top
jcsston
Posted: Jan 8 2003, 03:41 PM


Matroska Dev


Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02



@sidebar99 Are you using build 34? Can you post the script.

I'm getting I lot of visits from Japan wacko.gif

@BaronVlad You recommend to use VBR mp3 in avi's? laugh.gif



--------------------
Use the Matroska file format
 
       Top
sidebar99
Posted: Jan 8 2003, 04:54 PM


Unregistered









I am using build 31 it seems.
I'll try build 34 and post in a few minutes

Tried it and no I get and unrecognized file format error .vds.
Damn!
I hope I didn't screw up my file associations.
Will post again when I get this sorted.

 
  Top
sidebar99
Posted: Jan 8 2003, 05:42 PM


Unregistered









Same error I am afraid.

Avisynth open failure:
Unrecognized exception!
(file address_vd.avs, line5)

I am using AVISYNTH2.07
VDUBMOD latest.

Is there a special way I should be doing this, should I try another avisynth?

Here's the content:

#Created with Jory's Mpeg-2 to VirtualDub 1.61.34
#For updates vist http://www.jory.cjb.net/vb/
LoadPlugin("E:\Program Files\MPEG2toVirtualDub\MPEG2DEC.dll")
LoadPlugin("E:\Program Files\MPEG2toVirtualDub\mpasource.dll")
video = mpeg2source("F:\Downloads\Jill ScottBrian McKnight_vd.d2v")
audio = WAVSource("F:\Downloads\F:\Downloads\JILL SCOTTBRIAN MCKNIGHT_VD MPA T01 DELAY 0ms.mpa.wav")
DelayAudio(audio,0)
AudioDub(video, audio)
ConverttoRGB32()[B]

 
  Top
donross
Posted: Jan 8 2003, 06:04 PM


Unregistered









started working for me after I reinstalled Avisynth using Gnot installer?.
Dont know why but it works great now.

 
  Top
BaronVlad
Posted: Jan 8 2003, 06:42 PM


Terrorhörnchen


Group: Moderators
Posts: 335
Member No.: 28
Joined: 12-July 02



@ sidebar99: maybe your mpeg2 is not working, try pvastrumento to demux and load audio and video separately.

@ jcsston: YES, I used vbr mp3 and avi and never had problems (I know there sometimes are), but normally I prefer and recommend ogg biggrin.gif

File is uploaded (named "BaronVlad.zip" )

Regarding your pvastrumento problem: You could try to create a pva with my file, but cropping... seems to be more important (at least for me smile.gif )

Thanks for your hard work

--------------------
Hochachtungsvoll

BaronVlad

user posted image

Deutsch >> Capture FAQ - Capture Guide
Englisch >> Capture FAQ - Capture Guide
 
    Top
sidebar99
Posted: Jan 8 2003, 08:12 PM


Unregistered









will do. Ill post tomorrow.
 
  Top
jcsston
Posted: Jan 8 2003, 10:56 PM


Matroska Dev


Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02



@BaronVlad I'm having trouble with my program processing your file.
I demuxed the file using pvastrumento
When DVD2AVI is launched is does nothing wacko.gif
But if I open the same DVD2AVI.exe and manually load the video file it works fine mad.gif I going to try figurer this out tonight.

I think I can have pvastrumento automatically demux the file and process the two streams.
Why do you use PVACut and then cut again with VirtualDubMOD, that seems redundant to me wink.gif

--------------------
Use the Matroska file format
 
       Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
133 replies since Dec 12 2002, 02:40 AM Track this topic | Email this topic | Print this topic
Pages: (9) 1 [2] 3 4 ... Last »
<< Back to Avisynth Filtering, Processing and Scripts Discussion