I’m having problem combining .mpg video clips; originally these videos were from a same TV source. These open fine with DirectShowSource as individuals but when I use scripts as stated in the guide, I get an error message.
What do you think, I’m doing wrong? Thanks!
TS
+ Reply to Thread
Results 1 to 9 of 9
-
-
Try something like:
v1 = DirectshowSource("video1.avi")
v2 = DirectshowSource("video2.avi")
v3 = DirectshowSource("video3.avi")
return(v1+v2+v3)
All should have the same frame size, frame rate, etc. Consider using DGIndex/DGDecode and MPEG2Source() instead of DirectShowSource(). -
What is your actual script?Originally Posted by ks47
What is the error message?
Anyway, Avisynth is probably not the best choice unless you're converting it to AVI or another format. If it's just joining MPEGs and outputting it as MPEG, use an MPEG editor.
https://www.videohelp.com/tools/sections/video-editors-mpg-dvd -
Thanks for your suggestion. I tried the script and the programs just locks up, without any error messages. I used the DirectShowSource extension .mpg instead of .avi because the video clips are saved from TV via a DVD recorder. The sources are from the same standard NTSC program, i.e., the same resolution, frame rate, and aspect ratio. (I even check with GSpot to make sure) BTW, I have been using DGIndex for frameserving and it has worked great, but I thought I would give AviSynth a whirl. It’s more difficult than I thought…Originally Posted by jagabo
Individually the scripts seem to be OK because they play in VD and WMP; however, as soon as I tried use the either of the two scripts that are given in the original examples, the error messages like this would appear (The same message for VD and WMP):“AlanHK”
What is your actual script?
What is the error message?

TS
Edit: While trying to clone the example scripts above, I used DirectShowSource .mpg rather than avi as was stated in the in the initial post. -
So you have been using MPEG2Source("video1.d2v") but decided to try DirectShowSource() instead? That may imply some sort of problem with the installed Directshow MPEG2 decoder or file splitter.
-
I don't want to be boring, but what exactly is YOUR script?Originally Posted by ks47
One possibility is that the filenames are causing problems. You have spaces, commas, full stops in them. Some programs choke on these (thus "was not found" errors). Rename files and folders to simple, short names and try again. -
Thnaks for your input. I don’t want to seem ungrateful, but you’re right I am getting bored. Here are samples of scripts besides 3 dozen others I’ve tried after renaming video files to A & B:Originally Posted by AlanHK
1. UnalignedSplice(DirectShowSource("G:\Video Music\A.00.mpg"), DirectShowSource("G:\Video Music\B.01.mpg"))
2.DirectShowSource("G:\Video Music\A.00.mpg") + DirectShowSource("G:\Video Music\B.01.mpg")
TS -
You still have an extra period in your filenames.
Get rid of that.
Then try just one file:
If each can be displayed separately, then try joining.Code:DirectShowSource("G:\Video Music\A00.mpg") -
Maybe I misunderstood your statement, initially. What I meant to say was I use DGIndex and VFAPIConvEn to frameserve (This guide will describe how to frameserve a DVD (or MPEG2/MPG/TS/HDTV files) by Baldrick). I reread your post and I will try your advice, i.e., source scrip with MPEG2 using DGIndex/Decode. Thanks!Originally Posted by jagabo
TS
Similar Threads
-
Combining DVD's
By grandsire02 in forum Authoring (DVD)Replies: 2Last Post: 8th Apr 2012, 08:06 -
File Combining
By ccrow79 in forum Newbie / General discussionsReplies: 1Last Post: 9th Feb 2010, 07:57 -
TS combining
By vassock in forum Authoring (Blu-ray)Replies: 7Last Post: 17th Jul 2009, 23:12 -
combining two VOBs into one
By Jan G. in forum EditingReplies: 16Last Post: 8th Apr 2009, 13:27 -
Combining Images
By DuBsTaR in forum ComputerReplies: 4Last Post: 27th Mar 2008, 21:15




Quote