VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hey, guys.

    I'm facing a little problem in the encode of my anime. My source is a Blu-ray disk.

    Media-info:
    Code:
    General
    ID                             : 0 (0x0)
    Complete name                  : R:\Encode\HC Encode\00008.m2ts
    Format                         : BDAV
    Format/Info                    : Blu-ray Video
    File size                      : 22.0 GiB
    Duration                       : 1 h 12 min
    Overall bit rate mode          : Variable
    Overall bit rate               : 43.3 Mb/s
    Maximum Overall bit rate       : 48.0 Mb/s
    
    Video
    ID                             : 4113 (0x1011)
    Menu ID                        : 1 (0x1)
    Format                         : AVC
    Format/Info                    : Advanced Video Codec
    Format profile                 : High@L4.1
    Format settings                : CABAC / 4 Ref Frames
    Format settings, CABAC         : Yes
    Format settings, ReFrames      : 4 frames
    Codec ID                       : 27
    Duration                       : 1 h 12 min
    Bit rate mode                  : Variable
    Bit rate                       : 40.0 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:0
    Bit depth                      : 8 bits
    Scan type                      : MBAFF
    Scan type, store method        : Interleaved fields
    Scan order                     : Top Field First
    Bits/(Pixel*Frame)             : 0.643
    Stream size                    : 20.3 GiB (92%)
    Color range                    : Limited
    Color primaries                : BT.709
    Transfer characteristics       : BT.709
    Matrix coefficients            : BT.709
    
    Audio
    ID                             : 4352 (0x1100)
    Menu ID                        : 1 (0x1)
    Format                         : PCM
    Format settings                : Big / Signed
    Muxing mode                    : Blu-ray
    Codec ID                       : 128
    Duration                       : 1 h 12 min
    Bit rate mode                  : Constant
    Bit rate                       : 1 536 kb/s
    Channel(s)                     : 2 channels
    Channel positions              : Front: L R
    Sampling rate                  : 48.0 kHz
    Bit depth                      : 16 bits
    Stream size                    : 797 MiB (4%)
    I'm using the MeGUI, and I realized that the video gets weird in the preview and the encode finished.

    My script:
    Code:
    LoadPlugin("R:\Encode\MeGUI\tools\lsmash\LSMASHSource.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\masktools2.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\dither.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\avstp.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\Decomb.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\TIVTC.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\nnedi3.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\eedi3.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\RgTools.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\masktools2.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\yadifmod2.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\TDeint.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\GRunT.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\TMM2.dll")
    LoadPlugin("R:\Encode\MeGUI\tools\avisynth_plugin\EEDI2.dll")
    import("R:\Encode\MeGUI\tools\avs\plugins\FMDF.avsi")
    import("R:\Encode\MeGUI\tools\avs\plugins\dither.avsi")
    import("R:\Encode\MeGUI\tools\avs\plugins\Srestore.avsi")
    import("R:\Encode\MeGUI\tools\avs\plugins\AnimeIVTC.avsi")
    import("R:\Encode\MeGUI\tools\avs\plugins\sanimebob.avsi")
    import("R:\Encode\MeGUI\tools\avs\plugins\SMDegrain v.3.1.2d.avsi")
    
    
    
    LWLibavVideoSource("00008.m2ts")
    spline36resize(1280,720)
    TDecimate(mode=1)
    
    __film = last
    __t0 = __film.trim(0, 34792)
    __t0
    And this is the result in some parts of the video:






    Any tips on how I can fix this? Thanks.
    Quote Quote  
  2. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Isn't that interlaced? 1920x1080 @29.97 fps for BluRay is required to be either interlaced, or telecined and encoded as interlaced.
    https://www.videohelp.com/hd#tech
    - My sister Ann's brother
    Quote Quote  
  3. You need to inverse telecine or deinterlace before resizing. Or use an interlace aware resizer. You probably want something like:

    Code:
    LWLibavVideoSource("00008.m2ts")
    TFM()
    TDecimate()
    spline36resize(1280,720)
    trim(0, 34792)
    Quote Quote  
  4. Originally Posted by jagabo View Post
    You need to inverse telecine or deinterlace before resizing. Or use an interlace aware resizer. You probably want something like:

    Code:
    LWLibavVideoSource("00008.m2ts")
    TFM()
    TDecimate()
    spline36resize(1280,720)
    trim(0, 34792)
    Thanks, I'll try again!
    Quote Quote  
  5. Originally Posted by jagabo View Post
    You need to inverse telecine or deinterlace before resizing. Or use an interlace aware resizer. You probably want something like:

    Code:
    LWLibavVideoSource("00008.m2ts")
    TFM()
    TDecimate()
    spline36resize(1280,720)
    trim(0, 34792)
    It worked perfectly. Thank you!
    Quote Quote  



Similar Threads

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