VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Hi. I indexed the VOBs within a VIDEO_TS file with MeGUI (DGDecode) and left the DAR at 6480:4739. Due to a little bit of black line either side, I added 'crop(2, 0, -2, 0)'. The resulting file was very wide and very short with mediainfo saying 21.258 (as opposed to 1.333). Removing the crop instruction gave me a normal output.

    Any idea what happened here? Thank you
    Quote Quote  
  2. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    Post the script
    Quote Quote  
  3. Code:
    # Set DAR in encoder to 6480 : 4739. The following line is for automatic signalling
    global MeGUI_darx = 6480
    global MeGUI_dary = 4739
    LoadPlugin("E:\MeGUI\tools\avisynth_plugin\NicAudio.dll")
    LoadPlugin("E:\MeGUI\tools\dgindex\DGDecode.dll")
    a=DGDecode_mpeg2source("E:\VIDEO_TS\VTS_01_1.d2v")
    b=NicAC3Source("E:\VIDEO_TS\VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    audiodub(a,b)
    crop(2, 0, -2, 0)
    #Spline36Resize(712,480) # Spline36 (Neutral) ### THIS RESIZE WAS AUTO DONE BY MEGUI BUT I DIDN'T USE IT.  ORIG SIZE IS 720x480
    
    
    a=loop(70,3328,3328).trim(3328,3328+69).amplify(0).fadein0(30).QTGMC(FPSDivisor=2)++trim(3328,9848).amplify(2).fin(60).fout(80).QTGMC(FPSDivisor=2)
    a++loop(370,9848,9848).trim(9848,9848+369).amplify(0).fadeout0(30).QTGMC(FPSDivisor=2)
    Quote Quote  
  4. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    Originally Posted by pooksahib View Post
    Code:
    # Set DAR in encoder to 6480 : 4739. The following line is for automatic signalling
    global MeGUI_darx = 6480
    global MeGUI_dary = 4739
    LoadPlugin("E:\MeGUI\tools\avisynth_plugin\NicAudio.dll")
    LoadPlugin("E:\MeGUI\tools\dgindex\DGDecode.dll")
    a=DGDecode_mpeg2source("E:\VIDEO_TS\VTS_01_1.d2v")
    b=NicAC3Source("E:\VIDEO_TS\VTS_01_1 T81 2_0ch 192Kbps DELAY 0ms.ac3")
    audiodub(a,b)
    crop(2, 0, -2, 0)
    #Spline36Resize(712,480) # Spline36 (Neutral) ### THIS RESIZE WAS AUTO DONE BY MEGUI BUT I DIDN'T USE IT.  ORIG SIZE IS 720x480
    
    
    a=loop(70,3328,3328).trim(3328,3328+69).amplify(0).fadein0(30).QTGMC(FPSDivisor=2)++trim(3328,9848).amplify(2).fin(60).fout(80).QTGMC(FPSDivisor=2)
    a++loop(370,9848,9848).trim(9848,9848+369).amplify(0).fadeout0(30).QTGMC(FPSDivisor=2)
    Avisynth didn't cause a weird asopect ratio. You did. You told Avisynth what to do.
    But, really, it's amazing the clever ways people create to ruin digital video. I'm impressed.
    - My sister Ann's brother
    Quote Quote  
  5. I take it you've identified a scripting error that I've not seen but aren't prepared to tell me. Why would you waste your own time creating a post, then?
    Quote Quote  
  6. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    Originally Posted by LMotlow View Post
    Avisynth didn't cause a weird asopect ratio. You did. You told Avisynth what to do.
    But, really, it's amazing the clever ways people create to ruin digital video. I'm impressed.
    Wtf, just spit it out. As I don't see anything that would cause a AR of 1:21.258

    @OP, I'm not really sure what is going on besides the mediaplay you are using is interpreting the DAR wrong. Maybe try muxing it through mkvmerge and select the DAR you want before muxing a new .MKV.
    Quote Quote  
  7. Thanks for that, KarMa. Cropping 2 from either side gave me that squashed down result as I mentioned above. As an experiment, I tried cropping different values but odd things still happened. I've just left it uncropped - no big deal as the black bits are so small anyway. If there's one thing I've learned since I began video editing it's that there's often all sorts of weirdness involved...
    Quote Quote  
  8. Post the MeGUI log. Like the others said the AviSynth script itself doesn't point to 1:21:258.
    Quote Quote  
  9. Member
    Join Date
    Aug 2017
    Location
    United States
    Search PM
    Originally Posted by LMotlow View Post
    Avisynth didn't cause a weird asopect ratio. You did. You told Avisynth what to do.
    But, really, it's amazing the clever ways people create to ruin digital video. I'm impressed.
    I read the comment before looking at the name and somehow I knew.
    Quote Quote  
  10. Log as requested. The source is VOB (720x480) and my script was a simple one, something I've done many times before:
    Code:
    # Set DAR in encoder to 6480 : 4739. The following line is for automatic signalling
    global MeGUI_darx = 6480
    global MeGUI_dary = 4739
    LoadPlugin("E:\Free\MeGUI\tools\avisynth_plugin\NicAudio.dll")
    LoadPlugin("E:\Free\MeGUI\tools\dgindex\DGDecode.dll")
    a=DGDecode_mpeg2source("E:\VTS_01_5.d2v")
    b=NicAC3Source("E:\VTS_01_5 T81 2_0ch 192Kbps DELAY -24ms.ac3")
    audiodub(a,b)
    crop(2, 0, -2, 0)
    #Spline36Resize(656,440) # Spline36 (Neutral)## COMMAND PURPOSELY DEACTIVATED BY ME
    trim(1000,1300)
    It'd be interesting to see if the log reveals why I get a squashed video.. Thanks for looking.
    Image Attached Files
    Quote Quote  
  11. Member
    Join Date
    Jan 2019
    Location
    Europe
    Search Comp PM
    remux it and set it to 16:9 or whatever the source is

    sar get set --sar 64205:70041

    Because of this?

    # Set DAR in encoder to 6480 : 4739. The following line is for automatic signalling
    ---[NoImage] global MeGUI_darx = 6480
    ---[NoImage] global MeGUI_dary = 4739

    ----[Information] AspectRatio: 21.259
    Quote Quote  
  12. My guess is it's a bug in megui, a numeric overflow with --sar 64205:70041 is causing it to write the wrong DAR value in the mkv header.
    Quote Quote  
  13. Thanks guys. I changed the script in post #10 to read darx=4 and dary=3. The output file is now perfect. I guess MeGUI couldn't handle 6480 and 4739 PLUS the crop commmand (6480 and 4739 worked fine with no cropping).
    Quote Quote  



Similar Threads