Posts: 657
Threads: 56
Joined: 2018 Feb
Thanks: 330
Given 604 thank(s) in 220 post(s)
Country:
2020-03-03, 04:05 PM
(This post was last modified: 2020-03-04, 07:41 PM by bronan.)
I have finally joined the ranks of video capturers with a Blackmagic Intensity Pro card! I just captured my first LD to HuffyYUV 4:2:2 in 2 parts. Now my question is, whats the best way to losslessly combine the 2 parts into 1, then get ready for x264 encoding (de-interlacing, cropping, etc)?
EDIT:
Thanks a bunch to everyone for the help! Here's the final details for future use:
- LD Video -> Blackmagic Intensity Pro -> VirtualDub 2
- Set Video>Compression to HuffyUV, and Video>Set Custom Format... to UYVY (4:2:2 color) and Capture
- Download TIVTC plugin for AVS
Create AVS script:
Code: LoadPlugin("TIVTC.dll")#put the plugin in the same directory as your script
side1=
\AviSource("U:\side1.avi")
\.TFM()
\.TDecimate()
\.ConvertToYV12() #if you are going to 4:2:0 color
\.Trim(17, 81430)
\.Crop(10,3,-24,-3)
side2=
\AviSource("U:\side2.avi")
\.TFM()
\.TDecimate()
\.ConvertToYV12() #if you are going to 4:2:0 color
\.Trim(73, 34696)
\.Crop(10,3,-24,-3)
side1 ++ side2
- Render audio via VirtualDub (open same AVS script, then File, Save Audio...)
- Render video with SimpleX264
- Remux!
Posts: 621
Threads: 107
Joined: 2015 Apr
Thanks: 126
Given 218 thank(s) in 126 post(s)
Country:
@ bronan
Import the video into NLE of choice and there you can join the file and export a master file for further working, if you need to use an external application.
Posts: 657
Threads: 56
Joined: 2018 Feb
Thanks: 330
Given 604 thank(s) in 220 post(s)
Country:
(2020-03-03, 04:15 PM)bendermac Wrote: @bronan
Import the video into NLE of choice and there you can join the file and export a master file for further working, if you need to use an external application.
Cool, any good/free solutions I should look into?
Posts: 1,403
Threads: 33
Joined: 2016 Dec
Thanks: 96
Given 502 thank(s) in 298 post(s)
You can do it all in AviSynth
Posts: 1,526
Threads: 55
Joined: 2015 Jan
Thanks: 223
Given 591 thank(s) in 358 post(s)
2020-03-03, 05:05 PM
(This post was last modified: 2020-03-03, 05:06 PM by Chewtobacca.)
As you are going to IVTC, crop, etc, anyway, I'd write an AviSynth script in which both sides are processed and spliced together, and then feed it to x264.
EDIT: Ha! Zoidberg was quicker on the draw.
Posts: 657
Threads: 56
Joined: 2018 Feb
Thanks: 330
Given 604 thank(s) in 220 post(s)
Country:
2020-03-03, 05:07 PM
(This post was last modified: 2020-03-03, 05:08 PM by bronan.)
Oh cool, had no idea I could combine clips in AviSynth. Alright I will start researching! Do you have any useful scripts I should look at for guidance on the IVTC and such?
Posts: 2,842
Threads: 136
Joined: 2017 Aug
Thanks: 1523
Given 890 thank(s) in 551 post(s)
Country:
I always do this:
Code: DoubleWeave()
Pulldown(0,3)
Source: http://avisynth.nl/index.php/Pulldown
But you sometimes need to cut away individual frames to set the "rhythm" straight before you run this.
Posts: 6,435
Threads: 543
Joined: 2015 Jan
Thanks: 918
Given 1144 thank(s) in 773 post(s)
Country:
(2020-03-03, 05:05 PM)Chewtobacca Wrote: I'd write an AviSynth script in which both sides are processed and spliced together
I'd IVTC each single side (and also crop, as sometimes black borders are different between sides, even if by few pixels), and then finally join them.
Posts: 1,526
Threads: 55
Joined: 2015 Jan
Thanks: 223
Given 591 thank(s) in 358 post(s)
2020-03-03, 05:44 PM
(This post was last modified: 2020-03-03, 06:09 PM by Chewtobacca.)
That's what I said, you old cat.
EDIT: Bronan, you might need to do a manual IVTC,as Tom suggested, but the automated approaches usually work fairly well. Try TIVTC first.
Your script should look something like this:
Code: LoadPlugin("TIVTC.dll")#put the plugin in the same directory as your script
side1=
\AviSource("side1.avi")
\.TFM()
\.TDecimate()
\.Crop()#add the appropriate values
side2=
\AviSource("side2.avi")
\.TFM()
\.TDecimate()
\.Crop()#add the appropriate values
side1 ++ side2
Posts: 657
Threads: 56
Joined: 2018 Feb
Thanks: 330
Given 604 thank(s) in 220 post(s)
Country:
(2020-03-03, 05:44 PM)Chewtobacca Wrote: That's what I said, you old cat. 
EDIT: Bronan, you might need to do a manual IVTC,as Tom suggested, but the automated approaches usually work fairly well. Try TIVTC first.
Your script should look something like this:
Thanks Chewie! Unfortunately I get an error: "TFM: YV12 and YUY2 data only!"
Does this mean I need to do a color conversion first?
|