Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LD to MKV
#1
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!
Reply
Thanks given by: HippieDalek
#2
@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.
Reply
Thanks given by:
#3
(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?
Reply
Thanks given by:
#4
You can do it all in AviSynth
Reply
Thanks given by:
#5
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. Smile
Reply
Thanks given by:
#6
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?
Reply
Thanks given by:
#7
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.
Reply
Thanks given by:
#8
(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.
Reply
Thanks given by:
#9
That's what I said, you old cat. Big Grin

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
Reply
Thanks given by: spoRv , bronan
#10
(2020-03-03, 05:44 PM)Chewtobacca Wrote: That's what I said, you old cat. Big Grin

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?
Reply
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)