I'm having problems converting some FTA sources from ISDB system captured as 1280x720@59.940, some sources has progressive video with some sort of interlaced text overlay, others has progressive text over interlaced video. In 90% of the cases the script bellow works like a charm, but this is not the case for this video, it generates a 47.952 fps video:
Other options I tried:Code:ConvertToYV12(matrix="Rec709",interlaced=no) QTGMC().SelectEven() vInverse() TDecimate()
Code:TFM().TDecimate(Mode=1)This kind of works, but it's mess.Code:TFM(CThresh=10).TDecimate()
Code:AssumeBFF() SeparateFields() SelectEvery(4,0,3) Weave() vInverse() QTGMC().SelectEven()
[Attachment 49432 - Click to enlarge]
I don't know what else to try, here a sample with no audio.
https://drive.google.com/file/d/11e2yPF8zJEhyeU4C_kzLp7bYKUxdkpP1/view?usp=sharing
I'm new to avisynth, I've tried different options, other tools for two days but I can't get it done by myself, if I fix one thing it breaks the other.
Thanks.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
If possible, you probably shouldn't capture in RGB32.
The source is 59.94fps. You apply QTGMC you double the framerate. You apply SelectEven you bring it back to 59.94fps. You apply TDecimate you get 47.952fps. You don't need Vinverse. To do it right, one way is:
SelectEven()
TDecimate() -
That AVI file isn't interlaced. It's already been bob deinterlaced, poorly. You can restore the original film frames with TDecimate(Cycle=10, CycleR=6). But do yourself a favor and capture 1080i instead and use TFM().TDecimate(). And capture YUV, not RGB.
It's not unusual for titles to be overlaid as interlace video onto telecined film. With such video you cannot decimate and get smooth motion of both the titles and the underlying film.Last edited by jagabo; 23rd Jun 2019 at 07:12.
-
Thank you both manono and jagabo.
About capturing in RGB, Blackmagic don't offer too many options, it has YUV 8 bit and YUV 10 bit, YUV 8 bit is 1 GiB for every 10 seconds of video, YUV 10 bit it is 1 GiB for every 5~6 seconds of video.
YUV 8 bit
Code:General Complete name : E:\capture\Untitled 07.avi Format : AVI Format/Info : Audio Video Interleave Format profile : OpenDML File size : 1.14 GiB Duration : 10 s 43 ms Overall bit rate : 979 Mb/s Video ID : 0 Format : YUV Codec ID : UYVY Codec ID/Info : Uncompressed 16bpp. YUV 4:2:2 (Y sample at every pixel, U and V sampled at every second pixel horizontally on each line). A macropixel contains 2 pixels in 1 u_int32. Duration : 10 s 43 ms Bit rate : 994 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:2 Compression mode : Lossless Bits/(Pixel*Frame) : 16.001 Time code of first frame : 00:00:00:00 / 00:00:00:00 Time code source : Adobe tc_A / Adobe tc_O Stream size : 1.16 GiB Audio ID : 1 Format : PCM Format settings : Little / Signed Codec ID : 00000001-0000-0010-8000-00AA00389B71 Duration : 9 s 843 ms Bit rate mode : Constant Bit rate : 2 304 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Bit depth : 24 bits Stream size : 2.70 MiB (0%) Alignment : Aligned on interleaves Interleave, duration : 1004 ms (30.10 video frames)
Code:General Complete name : E:\capture\Untitled 08.avi Format : AVI Format/Info : Audio Video Interleave Format profile : OpenDML File size : 1.02 GiB Duration : 6 s 607 ms Overall bit rate : 1 330 Mb/s Video ID : 0 Format : YUV Codec ID : v210 Codec ID/Hint : AJA Video Systems Xena Duration : 6 s 607 ms Bit rate : 1 326 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 10 bits Compression mode : Lossless Bits/(Pixel*Frame) : 21.332 Time code of first frame : 00:00:00:00 / 00:00:00:00 Time code source : Adobe tc_A / Adobe tc_O Stream size : 1.02 GiB (100%) Audio ID : 1 Format : PCM Format settings : Little / Signed Codec ID : 00000001-0000-0010-8000-00AA00389B71 Duration : 6 s 607 ms Bit rate mode : Constant Bit rate : 2 304 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Bit depth : 24 bits Stream size : 1.81 MiB (0%) Alignment : Aligned on interleaves Interleave, duration : 944 ms (28.29 video frames)
I'll try to capture in full 1080i@29.970 and see how it goes. -
8 bit YUV 4:2:2 is 33 percent less data per frame than 8 bit RGB. Even 10 bit YUV 4:2:2 is less data per frame than 8 bit RGB. 1080i30 is only about 13 percent more data than 720p60. I recommend you capture 1080i 8 bit YUV 4:2:2 with lagarith (or other lossless) compression.
-
Yes, I would love to do that!
But the capture only works in RGB or the YUV format provided by BM's, so I'm out of options, anything else you get a black screen. To make matters worse, BM cards doesn't work with Virtualdub2 or any other third party capture software. -
I'm waiting for commercials but none so far, this is what I have for now, 1080i@29.970. Sorry for not sharing any YUV 8 bit capture because this is too much, the samples was converted to H264 4:2:2 instead:
[Attachment 49443 - Click to enlarge]
[Attachment 49440 - Click to enlarge]
[Attachment 49441 - Click to enlarge]
[Attachment 49442 - Click to enlarge]
I see standard interlacing, nothing a basic QTGMC() can't handle in the F1 racing, but I would like some advice with the old cartoon. -
Sample2.avi is simple telecined film. Use AssumeTFF().TFM().TDecimate(). Sample3.avi is interlaced video. Use QTGMC or Yadif.
-
Oh, I just noticed the fade to black at the end of sample2 is on a field by field basis. I don't think it's necessary to retain that so I'd just use TFM and TDecimate as I suggested before.
-
I'm seeing this color issues around the fire, head and feet.
[Attachment 49446 - Click to enlarge]
I'm including the converted and original without "TFM().TDecimate()".
Sorry for the trouble. -
Somewhere along the line interlaced YUY2 was converted to YV12 without consideration for the interlacing. If you did the conversion with ConvertToY12() use ConvertToYV12(interlaced=true) instead.
Similar Threads
-
Ultimate Guide for Interlaced (29,97 fps) to Progressive (23,976/59,94 fps)
By kalemvar1 in forum Video ConversionReplies: 9Last Post: 22nd Dec 2018, 07:49 -
Mixed progressive and interlaced source
By gamjerr in forum Video ConversionReplies: 2Last Post: 4th May 2018, 22:59 -
Best way to convert from progressive to interlaced in mixed footage project
By Nedo in forum Video ConversionReplies: 11Last Post: 18th Nov 2017, 09:57 -
Interlaced Content to Progressive
By TE16 in forum Video ConversionReplies: 2Last Post: 14th Jan 2017, 17:38 -
NTSC interlaced dvd (29,976 fps) to progressive (23,976 fps) ?
By kalemvar1 in forum Video ConversionReplies: 2Last Post: 6th Aug 2015, 20:25