VideoHelp Forum
+ Reply to Thread
Results 1 to 14 of 14
Thread
  1. 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:
    Code:
    ConvertToYV12(matrix="Rec709",interlaced=no)
    QTGMC().SelectEven()
    vInverse()
    TDecimate()
    Other options I tried:
    Code:
    TFM().TDecimate(Mode=1)
    Code:
    TFM(CThresh=10).TDecimate()
    This kind of works, but it's mess.
    Code:
    AssumeBFF()
    SeparateFields()
    SelectEvery(4,0,3)
    Weave()
    vInverse()
    QTGMC().SelectEven()
    Image
    [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.
    Quote Quote  
  2. 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()
    Quote Quote  
  3. 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.
    Quote Quote  
  4. 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)
    YUV 10 bit
    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)
    And there's no option to tweak anything, it is what it is, take it or leave it. Over here RGB it's less worse and the only option that works with a BM card.
    I'll try to capture in full 1080i@29.970 and see how it goes.
    Quote Quote  
  5. 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.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    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.
    Quote Quote  
  7. 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:
    Image
    [Attachment 49443 - Click to enlarge]

    Image
    [Attachment 49440 - Click to enlarge]

    Image
    [Attachment 49441 - Click to enlarge]

    Image
    [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.
    Image Attached Files
    Quote Quote  
  8. Sample2.avi is simple telecined film. Use AssumeTFF().TFM().TDecimate(). Sample3.avi is interlaced video. Use QTGMC or Yadif.
    Quote Quote  
  9. 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.
    Quote Quote  
  10. Thank you jagabo!
    Quote Quote  
  11. I'm seeing this color issues around the fire, head and feet.
    Image
    [Attachment 49446 - Click to enlarge]


    I'm including the converted and original without "TFM().TDecimate()".

    Sorry for the trouble.
    Image Attached Files
    Quote Quote  
  12. 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.
    Quote Quote  
  13. Hey jagabo, sorry I'm late.
    That did the work, thanks!!!
    Quote Quote  
  14. Classic cartoons, the best!
    Image
    [Attachment 49450 - Click to enlarge]
    Image Attached Files
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!