Quantcast Avisynth: Concatenating Multiple AVI Files? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
05-01-2002, 02:03 PM
Scav Scav is offline
Free Member
 
Join Date: Apr 2002
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Hello all,

Has anyone used the avisynth feature that allows you to treat multiple avi input files as one long logically joined file? Like so:
Avisource(file1) + avisource(file2) + etc....

Whenever I try to load the such a .avs file into Tmpgenc, it gives me an error (in the Tmpeg preview window) about some pointer being out of range, or outside the file boundary, or something like that (I'm at work, and so don't have the exact text in front of me.)
Has anyone encountered this and if so, what do I need to fix? It would be nice to use this method instead of fileserving in direct stream copy mode from Virtualdub.
Any help would greatly appreciated.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
05-01-2002, 04:47 PM
el_mero_zooter el_mero_zooter is offline
Free Member
 
Join Date: Apr 2002
Location: T.O. (Da T-Dot)
Posts: 498
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to el_mero_zooter
S,

I haven't used avisynth for a while so the guyz who are using it may pitch in better ideas. I find virtual dub easier to use for the extra filters that are not ported to avisynth. Everyone has their 'best' setup which is always subjective. But i'd try something like the following that DDogg suggested:

a=avisource("1.avi")
b=avisource("2.avi")
c=avisource("3.avi")
vclip1=a+b+c
return vclip1

Save this script as combine.avs. Try opening it with windows media player.
If it doesnt open try running the avs through the Vfapi Codec/Converter "VFAPIConv-EN.exe" . Make sure you have the codec installed first.

Then try loading this combine_avs-vfapi.avi into tmpgenc and see if this loads.

Goodluck, and if you get it solved post your steps for future reference.


ZtR
Reply With Quote
  #3  
05-05-2002, 10:08 AM
energy80s energy80s is offline
Invalid Email / Banned / Spammer
 
Join Date: Apr 2002
Location: Northern Ireland
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Does this combine feature also work with MPEGs?? I would like to use VDub to combine 2 or 3 MPEG files before encoding with TMPGenc, would a similar script work?
Reply With Quote
  #4  
05-06-2002, 11:37 AM
el_mero_zooter el_mero_zooter is offline
Free Member
 
Join Date: Apr 2002
Location: T.O. (Da T-Dot)
Posts: 498
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to el_mero_zooter
80's,

Although vdub can open mpg1 files, [ if all the mpg's you have are the same type, {mpg1, vbr, 352x240/480, 1150 or less, 224 or less etc...} then you can try joining them with a small app MGPJoin, tmpgenc's MPEGTools, filemerger {is use this for joining vob's or mpg2's}, or mpgvcr. ] i'm not sure if it will let you join them , save them, without re-encoding by doing a Direct Stream Copy, without using an mpg1 codec like DVMpeg or something. If you needed to edit the movie(s), then i could see this working by importing the clips, editing, and then frameserving to tmpgenc/kvcd.

i'd give mpgvcr, tmpgenc-mpegtools, or even mpgscissors, to join and then encode.

ztr
Reply With Quote
  #5  
05-20-2002, 07:21 AM
Scav Scav is offline
Free Member
 
Join Date: Apr 2002
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Hey all,

Well, I finally got time to fool with this again. After actually reading the reference guide for Avisynth (RTFM!), I tried the 'last resort' suggestion in the guide, which is to use directshowsource(). I was able to concatenate my input avi files using this function, but all I get is the video. Directshowsource() doesn't seem to include the audio when I load the avs file as the video source in Tmpeg. Is this how directshowsource() is supposed to work, or am I missing something?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Mencoder scripting with AVSEdit and Guide for Multiple Files Prodater64 Video Encoding and Conversion 10 06-12-2004 06:18 PM
Converting multiple MPEG-1 files to KDVD? acanthusarch Video Encoding and Conversion 4 02-04-2004 12:26 PM
FFMPEG: Multiple vob files as input [FAQ] Razorblade2000 Video Encoding and Conversion 4 10-29-2003 10:24 AM
How to determine the midpoint in DVD2AVI with multiple VOB files? nicksteel Video Encoding and Conversion 14 09-19-2003 09:16 PM
Avisynth: Multiple D2V files with Mpeg2Dec3 ? ak47 Avisynth Scripting 0 06-29-2003 11:41 PM




 
All times are GMT -5. The time now is 04:36 PM  —  vBulletin © Jelsoft Enterprises Ltd