VideoHelp Forum




+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 72 of 72
  1. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Originally Posted by manono
    Originally Posted by rocky12
    In this case, I am using 640x352.
    No you're not.
    Code:
    BlackmanResize(448,336,0,0,640,352)
    AddBorders(16,72,16,72)
    I don't know where you came up with that script (probably some AVI->SVCD script), but it makes a 480x480 video with a whole lot of black all around the outside. Just open that script in VDub(Mod) and have a look. How about just:

    LanczosResize(640,352)#or your favorite resizer

    And I have no idea why you might think The Matrix needs deblocking. And personally, I wouldn't sharpen it up either as all that does is to make it less compressible.















    I like using BlackmanResize for downscaling, and LanczosResize for upscaling. I got the script from FitCD.

    How's this script?



    Code:
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
    Mpeg2Source("D:\The Matrix\movie.d2v")
    BlackmanResize(640,352)
    TFM(D2V="D:\The Matrix\movie.d2v")
    TDecimate(
    Quote Quote  
  2. Once again, you need to IVTC before resizing:

    Code:
    LoadPlugin("C:\Program Files\AviSynth[/url] 2.5\plugins\TIVTC.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
    Mpeg2Source("D:\The Matrix\movie.d2v")
    TFM(D2V="D:\The Matrix\movie.d2v")
    TDecimate()
    BlackmanResize(640,352)
    And if you had used the Forced Film option in DgIndex (The Matrix is likely encoded progressive with pulldown flags) you wouldn't need to IVTC at all:

    Code:
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
    Mpeg2Source("D:\The Matrix\movie.d2v")
    BlackmanResize(640,352)
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    1.) I rather use IVTC.

    2.) After encoding how do I fix the audio?

    3.) What is the difference for the DivX keyframe of 300 and 100? 300 is default.

    It's time for a chew. I chew 2 tin cans a day. Lol.
    Quote Quote  
  4. Originally Posted by rocky12
    1.) I rather use IVTC.
    Unless you're doing this as a learning exercise or an experiment you are just wasting time. It silly to take a progressive soure, turn it into a telecined video, then inverse telecine. The result is the same except that IVTC will sometimes make mistakes and cause jerks in the video.

    Originally Posted by rocky12
    2.) After encoding how do I fix the audio?
    As has been discussed before, you set the audio skew.

    Originally Posted by rocky12
    3.) What is the difference for the DivX keyframe of 300 and 100? 300 is default.
    Basically, high compression codecs save space by only encoding the changes between frames. First a keyframe is created which contains an entire picture (like a JPEG image) then subsequent frames only encode things that change between frames. The keyframe interval determines how often a keyframe is inserted into the video stream. Using shorter keyframe intervals leads to less compression but easier seeking during playback. I prefer to use 100 rather than the default of 300. The difference in compression is very little but seeking during playback is much easier. If you use intervals less than 30 or so the compression starts to suffer.
    Quote Quote  
  5. 1. If it can be Force Filmed and you'd still rather IVTC, then that means you'd also rather the encoding take much longer and also rather have possible IVTC mistakes? If it can be Force Filmed, then a Force Film is much preferable to an IVTC.
    2. What's wrong with the audio?
    3. If the framerate is 23.976fps, then keyframes at a max of 300 frames means one at least every 12 seconds or so. If the Keyframe distance is 100 frames, then at 23.976fps you'll get one at least every 4 seconds or so. For XviD/DivX AVI it's often recommended to set them for every 10 seconds or, in this case, for 240.
    Originally Posted by rocky12
    How's this script?
    I forgot that The Matrix is something like 2.40:1. Don't you believe in cropping away all the black bars above and below the picture and then resizing to 640x272 or whatever is correct after the cropping is complete?
    Quote Quote  
  6. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    In my audio file it has -50ms. When I set the skew for -50 I get out of synch.

    Should I use FitCD for cropping and addborders?


    Originally Posted by manono
    1. If it can be Force Filmed and you'd still rather IVTC, then that means you'd also rather the encoding take much longer and also rather have possible IVTC mistakes? If it can be Force Filmed, then a Force Film is much preferable to an IVTC.
    2. What's wrong with the audio?
    3. If the framerate is 23.976fps, then keyframes at a max of 300 frames means one at least every 12 seconds or so. If the Keyframe distance is 100 frames, then at 23.976fps you'll get one at least every 4 seconds or so. For XviD/DivX AVI it's often recommended to set them for every 10 seconds or, in this case, for 240.
    Quote Quote  
  7. Originally Posted by rocky12
    In my audio file it has -50ms. When I set the skew for -50 I get out of synch.
    So, set the skew for whatever it takes to get it back in synch.
    Quote Quote  
  8. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Will you set the skew for me?



    Originally Posted by manono
    Originally Posted by rocky12
    In my audio file it has -50ms. When I set the skew for -50 I get out of synch.
    So, set the skew for whatever it takes to get it back in synch.
    Quote Quote  
  9. Originally Posted by rocky12
    Will you set the skew for me?
    Not unless you post a sample of the audio and video with identifiable sounds.

    The video you uploaded in this post
    https://forum.videohelp.com/topic368025-30.html#1968322
    is empty.

    The d2v you uploaded in this post
    https://forum.videohelp.com/topic368025.html#1967908
    indicates the video is already 23.976 fps and doesn't need an IVTC. Using TFM() and TDecimate() on that video will result in a video that is 19.181 fps. This will create a jerky video.

    About 3 minutes into the movie there is a fight scene between Carrie-Anne Moss (Trinity) and the cops. That scene has many identifiable sounds -- gun shots, punches, etc.
    Quote Quote  
  10. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    1.) I don't need IVTC?

    2.) With the d2v clip. Was the audio out of sync? Will you fix it?


    Originally Posted by jagabo
    Originally Posted by rocky12
    Will you set the skew for me?
    Not unless you post a sample of the audio and video with identifiable sounds.

    The video you uploaded in this post
    https://forum.videohelp.com/topic368025-30.html#1968322
    is empty.

    The d2v you uploaded in this post
    https://forum.videohelp.com/topic368025.html#1967908
    indicates the video is already 23.976 fps and doesn't need an IVTC. Using TFM() and TDecimate() on that video will result in a video that is 19.181 fps. This will create a jerky video.

    About 3 minutes into the movie there is a fight scene between Carrie-Anne Moss (Trinity) and the cops. That scene has many identifiable sounds -- gun shots, punches, etc.
    Quote Quote  
  11. Originally Posted by rocky12
    1.) I don't need IVTC?
    The video referenced in the D2V clip is already 23.976 progressive film frames.

    Originally Posted by rocky12
    2.) With the d2v clip. Was the audio out of sync? Will you fix it?
    The D2V clip contains no video or audio. It's just a text file listing some properties of the video. Here's part of what's in the D2V file:

    Code:
    DGIndexProjectFile16
    4
    D:\The Matrix\VIDEO_TS\VTS_02_1.VOB
    D:\The Matrix\VIDEO_TS\VTS_02_2.VOB
    D:\The Matrix\VIDEO_TS\VTS_02_3.VOB
    D:\The Matrix\VIDEO_TS\VTS_02_4.VOB
    
    Stream_Type=1
    MPEG_Type=2
    iDCT_Algorithm=6
    YUVRGB_Scale=1
    Luminance_Filter=0,0
    Clipping=0,0,0,0
    Aspect_Ratio=16:9
    Picture_Size=720x480
    Field_Operation=1
    Frame_Rate=23976 (24000/1001)
    Location=0,0,3,1c067
    
    d00 5 0 2048 0 1 1 b2 b2 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
    900 5 0 192512 0 1 1 32 32 92 b2 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
    Quote Quote  
  12. Originally Posted by rocky12
    1.) I don't need IVTC?
    That's not really the question, although it probably doesn't need an IVTC. But jagabo spotted something I missed when I was looking at the D2V myself, partly because I assumed you had left it at its default settings, and that's this:

    Field_Operation=1

    That says you had set the Field Operation to Forced Film which makes a 23.976fps D2V to be used in your AviSynth script. An IVTC on top of that would make it jerky as all get out, with 19.98fps. When Force Filming, you don't IVTC afterwards. But you have to be sure that Force Film is the right thing to do. With the field operation set for Honor Pulldown Flags you'd get a 29.97fps D2V and, if applicable, you'd IVTC that. Honor Pulldown Flags would give you this near the top of the D2V file:

    Field_Operation=0
    Quote Quote  



Similar Threads

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