Quantcast Avisynth: Split Video then Merge Back? - digitalFAQ.com Forums [Archives]
  #1  
08-31-2009, 07:41 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
hello, im running a script thats quite slow, how can i split it the video by 2 or 3 parts and then merge them back? can this be done with many parts of a lossless avi? the source is mpg2

thanks
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  
09-01-2009, 02:45 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
avisynth is a frameserver, that means it is aimed to serve the picture frame per frame to an other programm (the encoder).
Why do you want to use it as something else (a cut/merge tool) ?

Explain a little more, and may be give your current script.
Reply With Quote
  #3  
09-01-2009, 10:21 AM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
The source are 3 dvds very very bad interlaced, i could only get great fix with animeIVTC, the problem is with all set takes 1.3 fps ending in like 1day per movie. The source also need cleanning so thats why saving the corrected ivtc to lossless. I though i could maybe serve half and then other half and then mux them together with a script, or even 3 parts and do it in 2 pc's

These are very important dvd to me so thats why im goin in all this trouble

Are you saying is better to cut the vobs, then ecode each other and then mux them when they are completely done (ivtc, cleaning)? Which tools do you recommend?
Reply With Quote
  #4  
09-02-2009, 04:10 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, so you are working in several step, saving the result in lossless for each intermediate steps.
So simply use:
- trim() to work on a given part of the movie
- then "+" to merge the parts together during the last step.
Reply With Quote
  #5  
09-02-2009, 11:25 AM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Hello, thanks thats what i was looking for. This could have problems with the IVTC?

Could you give me a quick example of the use of "+" ?


saluts
Reply With Quote
  #6  
09-02-2009, 06:40 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
a=avisource("part1.avi")
b=avisource("part2.avi")
a+b
Can't be simplier .

For trim and IVTC, the only thing I can see is that you have a chance/risk to cut in the middle of a sequence (IVTC creates 4 progressive frames from 5 interlaced ones). So after the join you may have a glitch at that point.
Reply With Quote
  #7  
09-04-2009, 01:20 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the example, so for the ivtc in theory is ok to cut in frames multiple of 5? this source has no proggresive, is like fully interlaced mixed with hard telecine of even double
Reply With Quote
  #8  
09-04-2009, 06:49 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I don't think that so simple else a complex IVTC would be useless. Frames needs to be analysed to determine what place in the 5-picture lenght sequence it occupies.
But don't worry for a 1 picture glitch, it's subliminal !
Reply With Quote
  #9  
09-07-2009, 08:43 AM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
je yeah i think you are right.

thanks
Reply With Quote
  #10  
09-18-2009, 06:55 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Should lossless pass be saved in fast recompress in virtual dub? i understand that in that mode it does not convert color, so if i have yv12 source that should be the mode?

thanks again
Reply With Quote
  #11  
09-25-2009, 12:49 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Personnaly I don't know what's the diff with full mode.
Reply With Quote
  #12  
09-26-2009, 05:53 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
It seems full mode also add a RGB conversion for virtualdub filters and then convert back to yuv. When serving with AviSynth fast recompress should be used to avoid the now useless color convertion
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: separate audio and video, how to merge them together ? digitalkaos Video Encoding and Conversion 1 08-14-2004 11:17 AM
DVD2SVCD: How to merge audio and video into single file? Big2hd Video Encoding and Conversion 4 07-20-2003 09:36 PM
TMPGEnc: Merge audio with video ? vhelp Video Encoding and Conversion 6 07-04-2003 05:00 PM
Avisynth: Merge Chroma/Luma encoding time? telemike Avisynth Scripting 12 06-04-2003 08:07 AM
KVCD: Video Went Crazy in dvd player, blocky and split into little screens? Paul0889 Video Encoding and Conversion 3 01-06-2003 07:40 PM

Thread Tools



 
All times are GMT -5. The time now is 03:48 AM  —  vBulletin Jelsoft Enterprises Ltd