VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Member rilopes64's Avatar
    Join Date
    Dec 2019
    Location
    Sao Paulo, Brazil
    Search Comp PM
    Hi, everyone ! Simple question: going from music concert interlaced PAL DVD to mkv (MPEG or H.264). But don't know which the best way to keep original AR (16:9 display) after encoding. Thanks in advance !

    Original VOB's Mediainfo:

    General
    Complete name : D:\Download\BRMC - Live In London (2010)\VIDEO_TS\VTS_01_1.VOB
    Format : MPEG-PS
    File size : 1 024 MiB
    Duration : 33mn 44s
    Overall bit rate mode : Variable
    Overall bit rate : 4 243 Kbps

    Video
    ID : 224 (0xE0)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, BVOP : Yes
    Format settings, Matrix : Custom
    Format settings, GOP : M=3, N=15
    Duration : 33mn 44s
    Bit rate mode : Variable
    Bit rate : 3 966 Kbps
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 16:9
    Frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Bottom Field First
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.383
    Time code of first frame : 01:00:00:00
    Time code source : Group of pictures header
    Stream size : 957 MiB (93%)
    Color primaries : BT.601 NTSC
    Transfer characteristics : BT.601
    Matrix coefficients : BT.601

    Audio
    ID : 189 (0xBD)-128 (0x80)
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Muxing mode : DVD-Video
    Duration : 33mn 44s
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 46.3 MiB (5%)

    AviSynth script (deinterlace by QTGMC):

    SetMemoryMax(512)
    LoadPlugin("C:\Program Files (x86)\DVD\AviSynth+\plugins64\DGDecode.dll")
    LoadPlugin("C:\Program Files (x86)\DVD\AviSynth+\plugins64\masktools2.dll")
    LoadPlugin("C:\Program Files (x86)\DVD\AviSynth+\plugins64\MVTools2.dll")
    LoadPlugin("C:\Program Files (x86)\DVD\AviSynth+\plugins64\Grunt-x64.dll")
    LoadPlugin("C:\Program Files (x86)\DVD\AviSynth+\plugins64\RemoveGrain.dll")
    Import("C:\Program Files (x86)\DVD\AviSynth+\plugins64\SRestore.avsi")
    Import("C:\Program Files (x86)\DVD\AviSynth+\plugins64\QTGMC.avsi")

    MPEG2Source("F:\BRMC.d2v")

    QTGMC()
    SRestore()
    Quote Quote  
  2. Member
    Join Date
    Aug 2017
    Location
    United States
    Search PM
    You said it's PAL interlaced, but this is an NTSC DVD given the specs. If it is interlaced, then you don't need to use srestore. The frame rate should be doubled, which is what you want after deinterlacing. Set the aspect ratio to 16:9 after encoding with MKVToolnix.
    Quote Quote  
  3. Yes, and since there's so much incorrect information in the post, better might be to make available 10 seconds from the DVD so we can have a look.
    Quote Quote  
  4. Member rilopes64's Avatar
    Join Date
    Dec 2019
    Location
    Sao Paulo, Brazil
    Search Comp PM
    Oooops, no SRestore ! My bad...
    Attached sample. Thanks in advance !!!
    Image Attached Files
    Quote Quote  
  5. Well, it's field-blended from a PAL source. It turns out your earlier script was correct.

    MPEG2Source("F:\BRMC.d2v")

    QTGMC()
    SRestore()


    As for the AR after reencoding, either resize it to a 1.778:1 ratio - one such as 852x480 - or keep the current resolution and set a SAR while encoding. It's 40:33 for a 16:9 NTSC DVD source (I think).
    Last edited by manono; 2nd Dec 2019 at 18:36.
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Actually, Srestore may be appropriate because it looks as if it was originally 25i. (there are some blends)
    So to resize just use spline36resize(852,480) to give DAR 16:9

    oops - manono beat me to it
    Quote Quote  
  7. Hehe, just barely. I edited afterwards to look up and add the AR stuff.
    Quote Quote  
  8. Member rilopes64's Avatar
    Join Date
    Dec 2019
    Location
    Sao Paulo, Brazil
    Search Comp PM
    You're both right: MediaInfo says NTSC, but when I load to encoder turns out PAL (25 fps) !?! I encoded lots of NTSC material in the past w/ the same script, but none like this: 32:27. I'll set SAR while encoding.
    Thanks guys !!!
    Quote Quote  
  9. Originally Posted by rilopes64 View Post
    You're both right: MediaInfo says NTSC, but when I load to encoder turns out PAL (25 fps) !?! I
    Your source is NTSC. But its source was a progressive PAL video. When the PAL video was converted to interlaced NTSC the frame size was reduced from 720x576 to 720x480 and blended fields were added to go from 25 frames per second to 59.94 fields per second. QTGMC converted 59.94 fields per second to 59.94 frames per second. SRestore() removed all the blended fields leaving the original (except for the frame size) 25 fps progressive PAL frames.
    Quote Quote  
  10. Member rilopes64's Avatar
    Join Date
    Dec 2019
    Location
    Sao Paulo, Brazil
    Search Comp PM
    And I wrote "simple question" on first post...Feeling a PRO now !
    The encoding just got perfect. Thanks a lot guys !!!
    Quote Quote  
  11. By the way, QTGMC().SRestore() may not have been right for the other videos you mentioned in post #8. This script is specifically for restoring 25p PAL from 30i NTSC.
    Quote Quote  
  12. Member rilopes64's Avatar
    Join Date
    Dec 2019
    Location
    Sao Paulo, Brazil
    Search Comp PM
    Just checked: there is a hashtag (#) before that line on the original generic script and for some reason I took it off this time. Maybe I noticed 'PAL source' the first time I sent it to encoder (Premiere). Honestly, I don't remember...
    Cheers !!!
    Quote Quote  



Similar Threads