VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. hi, sorry if the title is quite generic but I don't know how to describe this situation.
    in few words: I have a webdl progressive at 25fps(tag RAI) from which I wanna take the audio and mux it with the best of the two video sources I've found:

    - the TS file at 25(interlaced?), has a logo and it seems to have a problem at the beginning, it seems the first 34 frames are freezed,
    anyway I used the command
    Code:
    QTGMC().SRestore(25)
    and it seems it works. not sure. is it correct for this video?


    - the mkv. bluebird tag, is the file I would like to use as video source, it has no logo and slightly larger size,
    but I'm totally lost about what commands to use in order to match the RAI Audio at 25.
    I also tried the "QTGMC().SRestore(25)" but I cannot eliminate the double frame that appear every 5 frames.
    So I tried "TFM().TDecimate()" and it seems it works better, anyway how to let it match 25fps?
    and anyway is it the correct solution for this kind of file?


    these are the samples: https://www.dropbox.com/sh/fk47ocj2red24x0/AAC4HYtc2zb7wL6c5_qbkfsZa?dl=0

    what would you do?

    please I'm still quite noob with these commands, I really need help with the scripts.
    Last edited by maudit; 12th Apr 2022 at 16:15.
    Quote Quote  
  2. The TS file is encoded interlaced but the frames are progressive. So there's no need to deinterlace it. It does have some residual comb like artifacts from the compression. Those can be eliminated with vInverse() or Santiag().

    The BLUEBIRD clip is encoded progressive but every 6th frame is blended. SRestore() has problems with the clip because the blurry shots with the ants make it hard to tell which blurs are from blending, and which are from motion blur, the shallow depth of field, and compression artifacts. I would try SRestore(frate=25) on the main movie. I suspect it will work pretty well.
    Quote Quote  
  3. Originally Posted by jagabo View Post
    The TS file is encoded interlaced but the frames are progressive. So there's no need to deinterlace it. It does have some residual comb like artifacts from the compression. Those can be eliminated with vInverse() or Santiag().
    thx jagabo, sry for the delay, I tried those two commands, vInverse() or Santiag(), but I can't exactly determine what they do, as soon as I apply them, the frame changes, I can't see any big differences playing the video, but they probably work, btw that TS file seems to be hard to handle with avspmod. I don't use it. forget it.


    The BLUEBIRD clip is encoded progressive but every 6th frame is blended. SRestore() has problems with the clip because the blurry shots with the ants make it hard to tell which blurs are from blending, and which are from motion blur, the shallow depth of field, and compression artifacts. I would try SRestore(frate=25) on the main movie. I suspect it will work pretty well.
    here's another part of the video, I hope it helps better: https://www.dropbox.com/s/9rt97jaic2i2ldy/Ants.-BLUEBIRD%202.mkv?dl=0
    I tried SRestore(25), it seems there are duplicates frames, I'm not sure those "1 every 6 - extra frames" are completely gone,
    I wait for your confirmation that SRestore(25) is the best solution, when you have time ofc..

    number of frames at 29.970 with no commands = 97290
    nember of frames at 25.000 with the command SRestore(25) = 81156

    thanks
    Last edited by maudit; 17th Apr 2022 at 10:17.
    Quote Quote  
  4. SRestore() still doesn't work well with the video. It often discards the wrong frame leaving blended frames a jerks in the motion. About the best I could get was with a manual decimation:

    Code:
    SelectEvery(6,0,1,2,3,5)
    That works well with the first ~3.5 seconds but it falls apart after that. You would have to break the video down into many short segments an Use a different SelectEvery() for each. Something like:

    Code:
    p1 = Trim(0,110).SelectEvery(6,0,1,2,3,5)
    p2 = Trim(111,564).SelectEverY(6,0,1,3,4,5)
    p3 = Trim(566,0).SelectEvery(6,0,1,2,3,4)
    p1+p2+p3
    That's a lot of work for an entire show/movie.
    Quote Quote  
  5. ok then, supposing I do not re-encode that 29.97 video.
    how can I sync it with the audio of the RAI mp4 at 25fps, so I can mux them?
    Quote Quote  
  6. It's hard to tell from those short samples but it looks like the running time of the two is close to the same but the BLUEBIRD (29.97 fps) video starts 33 frames earlier. So try setting an audio delay of 1.101 seconds (33 / 29.97). If they drift out of sync you will probably lengthen the audio by a factor of 1001/1000, Ie, multiply the length of the audio by 1.001. For example, if the audio is 5400 seconds long stretch it to 5405.4 seconds.
    Quote Quote  



Similar Threads

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