06-05-2003, 10:30 AM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Is there any way to join more than 100 segmented avi files?
I have files that are labelled:
"Name.001.avi", "Name.002.avi", ... , "Name.143.avi".
Thanks,
Icarus
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
06-05-2003, 11:23 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You're going to have to type a lot
It would be something like this:
AviSource("Name.001.avi"") + AviSource("Name.002.avi"") + AviSource("Name.003.avi"") etc.
Check the correct syntax at www.avisynth.org
-kwag
|
06-05-2003, 12:01 PM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks Kwag!
I know I can do it that way, you can even do:
Avisource ("Name.01.avi", "Name.02.avi") (a bit less typing )
I was hoping there was an easier way, such as renaming the files > 100 to a new name, and then merging two segmentedavisource commands.
Does anyone know if there is a way to do this?
Thanks,
Icarus
|
06-05-2003, 01:26 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Doesn't VirtualDub have an option to automatically detect and load additional segments? Seems to me that would be the easiest way if you can get it to work.....
|
06-06-2003, 12:12 AM
|
Free Member
|
|
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Why not frameserve from virtualdub then there is no need bother with multiple avisorce commands in a script
|
06-06-2003, 08:46 AM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Urban Tec:
Can you please elaborate?
How do I frameserve a multi-segmented .avi file from virtualdub to avisynth?
Thanks,
Icarus
|
06-06-2003, 10:07 AM
|
Free Member
|
|
Join Date: Nov 2002
Location: West Australia
Posts: 272
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
G'day Icarus
Check
this guide to get the frame serving setup.
Instead of opening the dummy avi file directly with tmpgenc as in the guide use it as the source in your avs script.
Hope this makes it a little more clear
|
06-06-2003, 01:09 PM
|
Free Member
|
|
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I think you are looking for the Avisynth command:
SegmentedAviSource(string base_filename [, ... ], bool audio, string pixel_type)
Your line would simply look like:
SegmentedAviSource(Name.avi)
|
06-06-2003, 01:52 PM
|
Free Member
|
|
Join Date: Jan 2003
Location: Illinois, USA
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@Icarus3000
For greater than 100 files like you requested follow these steps:
Batch rename your files. - Name.001.avi to Name-0.01.avi
Name.002.avi to Name-0.02.avi
...
Name.099.avi to Name-0.99.avi
Name.100.avi to Name-1.00.avi
Name.101.avi to Name-1.01.avi
...
Name.143.avi to Name-1.43.avi
Then use the following command to load the files. - SegmentedAviSource(Name-0.avi)+SegmentedAviSource(Name-1.avi)
Regards, Tenra
|
06-06-2003, 01:52 PM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Mr Tibs:
It was my understanding that the SegmentedAviSource() command only works for:
Name.01.avi , Name.02.avi, ... , Name.99.avi
I have files labelled:
Name.001.avi, Name.002.avi..., Name.143.avi
Hence, looking for a way to expand the capability of the SegmentedAviSource() command.
Thanks,
Icarus
|
06-06-2003, 02:54 PM
|
Free Member
|
|
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@Icarus3000
Sorry about that. You are correct, I wasn't paying attention. Personally, I like ARnet_tenRA's method.
Do you often have more than a hundred segments?
|
06-09-2003, 08:30 AM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ARnet's method sounds like what I was looking for, but unfortunately I couldn't get it to work.
Actually I couldn't get SegmentedAviSource () to work with 100 files. I didn't have time to experiment, but it worked fine with 50 files.
When I tried SegmentedAviSource() with 100 segments, I received a TMPGenc error: Unsupported file type.
When I tried SegmentedAviSource() with 50 segments, it worked fine.
When I tried SegmentedAviSource(1-50) + Segmented AviSource(51-100), I received a TMPGenc error: Unsupported file type.
I worked around this by doing the encoding in 3 batches, but has anyone else run into this problem?
Thanks,
Icarus
|
All times are GMT -5. The time now is 05:20 PM — vBulletin © Jelsoft Enterprises Ltd
|