VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Why i getting 1.222 Display aspect ratio and not 4:3? Is correct this? Thank any help

    Code:
    SetMTMode(3)
    DirectShowSource("C:\Documents and Settings\USER\Desktop\Sample-1991 MX 250 Full.mpg")
    SetMTMode(2)
    ConvertToYV12
    SeparateFields()
    PointResize(width,height*2)
    Deblock_QED(last, quant1=35, quant2=40, aoff1=4, boff1=4, aoff2=4, boff2=4)
    PointResize(width, height/2)
    Weave()
    QTGMC(preset="Slower")
    aWarpSharp(depth=5)
    nnedi3_rpow2(2, cshift="Spline64Resize", fwidth=width*2, fheight=height)
    Sharpen(0.5, 0.0)
    ColorYUV(gain_y=-48)
    Crop(2,10,-6,-16).AddBorders(4,12,4,14)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()



    SOURCE:

    General
    Complete name : C:\Documents and Settings\USER\Desktop\1991 MX 250 Full.mpg
    Format : MPEG-PS
    File size : 944 MiB
    Duration : 1h 17mn
    Overall bit rate mode : Variable
    Overall bit rate : 1 713 Kbps
    Writing library : (c) 1998-2012 Womble Multimedia, Inc. / MPEG Video Wizard DVD 5.0.1.100 (03/2011) / Dec 6 2012

    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 : Variable
    Duration : 1h 17mn
    Bit rate mode : Variable
    Bit rate : 1 486 Kbps
    Maximum bit rate : 9 396 Kbps
    Width : 352 pixels
    Height : 576 pixels
    Display aspect ratio : 4:3
    Frame rate : 25.000 fps
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Top Field First
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.293
    Time code of first frame : 00:00:00:00
    Time code source : Group of pictures header
    Stream size : 820 MiB (87%)
    Writing library : (c) 1998-2012 Womble Multimedia, Inc. / MPEG Video Wizard DVD 5.0.1.100 (03/2011) / Dec 6 2012
    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 : 1h 17mn
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel count : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 106 MiB (11%)

    RESULT

    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 227 MiB
    Duration : 49s 600ms
    Overall bit rate : 38.4 Mbps
    Writing library : VirtualDub-MPEG2 build 24586/release

    Video
    ID : 0
    Format : Lagarith
    Codec ID : LAGS
    Duration : 49s 600ms
    Bit rate : 36.9 Mbps
    Width : 704 pixels
    Height : 576 pixels
    Display aspect ratio : 1.222
    Frame rate : 25.000 fps
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Bits/(Pixel*Frame) : 3.640
    Stream size : 218 MiB (96%)

    Audio
    ID : 1
    Format : PCM
    Format settings, Endianness : Little
    Format settings, Sign : Signed
    Codec ID : 1
    Duration : 49s 600ms
    Bit rate mode : Constant
    Bit rate : 1 536 Kbps
    Channel count : 2 channels
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Stream size : 9.08 MiB (4%)
    Alignment : Aligned on interleaves
    Interleave, duration : 40 ms (1.01 video frame)
    Interleave, preload duration : 500 ms
    Quote Quote  
  2. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Basically because Lagarith does not have a DAR flag and just a ratio between width and height with square pixels. Your source used non-square pixels and a DAR flag.

    For 4:3 with Lagarith you would require 768*576
    Quote Quote  
  3. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Originally Posted by DB83 View Post
    Basically because Lagarith does not have a DAR flag and just a ratio between width and height with square pixels. Your source used non-square pixels and a DAR flag.

    For 4:3 with Lagarith you would require 768*576
    But if I demux the video and use Mpeg Source I'm correct with Lagarith , but I did not want to do it this way
    would have some way, via directshow?
    Quote Quote  
  4. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    But leave as it is then you have a slightly squashed image.

    If you intend to do a further conversion to a delivery format you can correct it later.

    Or, I guess, you can revise your resize filter within avisynth. But, I repeat, only 768*576 will give you 4:3.
    Quote Quote  
  5. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Any Way to get 4:3 without demux video?
    Quote Quote  
  6. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Yes, use a player that properly supports the DAR flag.
    It will stretch it to 4:3 during playback.

    Scott
    Quote Quote  
  7. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    As Scott states you can force playback in players such as vlc with the Aspect Ratio set at 4:3.

    But I do not believe this to be an ideal solution as you would have to do it each time you play the video.

    Surely it is better to edit your avisynth script to include a resize. Eg:

    Crop(2,10,-6,-16).AddBorders(4,12,4,14)
    Spline64Resize (768,576)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave()

    I am no expert in avisynth and someone could probably suggest a more elegant solution to the above one. But what I did notice is that your original script had re-interlaced the fields >> Weave() << BEFORE the command to double the video width. Surely that should be done in the progressive realm ?
    Quote Quote  
  8. Originally Posted by Caiosouza View Post
    But if I demux the video and use Mpeg Source I'm correct with Lagarith , but I did not want to do it this way
    would have some way, via directshow?
    What do you care what it is with Lagarith as it won't be your final format. Whatever is the intended final format, either set a SAR/DAR when encoding or resize to square pixel when making the Lagarith AVI the first time.

    But if I demux the video and use Mpeg Source I'm correct with Lagarith , but I did not want to do it this way
    would have some way, via directshow?
    The best way is as you're doing it already (I think). Make a D2V project file using DGIndex and open it using MPEG2Source.
    Quote Quote  
  9. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    Thanks for all (All the same), I going to MPEG2Source, but I'll test this before: Crop(2,10,-6,-16).AddBorders(4,12,4,14)
    Spline64Resize (768,576)
    AssumeTFF().SeparateFields().SelectEvery(4,0,3).We ave() (Thanks)



    PS:Are you in a bad mood today, master?
    Quote Quote  
  10. Originally Posted by Caiosouza View Post
    PS:Are you in a bad mood today, master?
    Is that meant for me? If so, haven't you done enough video work to know AVIs don't usually have a DAR flag, and it doesn't matter anyway if a Lagarith AVI is just an intermediate file? If you did know, this whole thread is pointless. If you didn't know, DB83 gave you the answer in the first reply and the rest of the thread is pointless.

    And the end format is MP4 or MKV or something besides DVD, I presume, and you're keeping black on all four sides around it? You must have your reasons, I suppose. Overscan, maybe? If you posted a sample, maybe someone could provide more informed advice.
    Quote Quote  
  11. Member Caiosouza's Avatar
    Join Date
    Nov 2013
    Location
    Capćo da Canoa, RS, Brazil
    Search Comp PM
    The topic would be useless if I did not get any help, any answer.

    F-i-v-e S-t-a-r-s

    How about some coffee now? Thanks all
    Quote Quote  



Similar Threads

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