VideoHelp Forum




+ Reply to Thread
Results 1 to 17 of 17
  1. Resolved. Thanks all
    Last edited by xicudiz; 11th Sep 2013 at 11:09.
    Quote Quote  
  2. Originally Posted by xicudiz View Post
    i dont understand why output.mkv has some frames removed, some frames duplicated, some frames remaining from Source.avi.[/FONT]
    That's pretty much the definition of Variable Frame Rate Encoding. However, I'm not prepared to download a 1.5GB file to see if it has done it correctly. Anime, which I assume this is, often comes from mixed sources and different VFR encoders may interpret it differently.
    Quote Quote  
  3. Originally Posted by smrpix View Post
    Originally Posted by xicudiz View Post
    i dont understand why output.mkv has some frames removed, some frames duplicated, some frames remaining from Source.avi.[/FONT]
    That's pretty much the definition of Variable Frame Rate Encoding. However, I'm not prepared to download a 1.5GB file to see if it has done it correctly. Anime, which I assume this is, often comes from mixed sources and different VFR encoders may interpret it differently.
    Thanks for reading and answer. It's not Anime. It's Korean TV Series. If you can, please spend a little time to download it and help me finish this case (
    Quote Quote  
  4. Please clip a short section. I don't think many here will download a 1.5GB file.

    (Had to re-read "avs example" several times before I realised you were looking for an avisynth script and not a windows media file.)
    Quote Quote  
  5. AVI cannot be VFR. In all likelihood the h.264 decoder used to read the AVI file had problems returning the correct frames when requested. That's very common with h.264 in AVI.
    Last edited by jagabo; 8th Sep 2013 at 12:01.
    Quote Quote  
  6. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    The "source" isn't an original source anyway. The "original" was apparently a movie that's been through VirtualDub and re-encoded with h264 in an AVI container, then the O.P. fed it into mkvmerge -- for some strange reason that remains unexplained. I'd guess the owner is apparently joining the current trend to degrade digital video by re-encoding for a smaller bitrate and filesize. The "source" has all kinds of framing problems, but looks as if it might have been telecined film that was de-interlaced in VDub.
    Image Attached Files
    Last edited by sanlyn; 21st Mar 2014 at 14:15.
    Quote Quote  
  7. It's not likely it started out as film. The AVI is 29.97 fps with no duplicate frames. If it had been shot on film at 24 fps it would have a duplicate frame every 5th frame. Unless the just sped the film up to 29.97. But that does not appear to be the case.
    Quote Quote  
  8. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I think the O.P. needs to inform us about the nature of the original source and the Frankenstein experiments that have been performed on it.
    Last edited by sanlyn; 21st Mar 2014 at 14:15.
    Quote Quote  
  9. Thanks all for reply.@Sanlyn: what does O.P mean?
    And should i try reencode Source.avi in VirtualDubMod to get output like output.mkv that i posted?

    P/S: All that i want is how to encode Source.avi to Output.mkv (has some frame remove, dupes, remain.. like Output.mkv that i posted)
    Thank very much.
    Last edited by xicudiz; 8th Sep 2013 at 20:45.
    Quote Quote  
  10. OP = Original Post(er)

    Originally Posted by xicudiz View Post
    And should i try reencode Source.avi in VirtualDubMod to get output like output.mkv that i posted?
    Why would you want screwed up output like that? What are you looking to do? Remux to MKV? Shrink the file? Hard code subs?
    Quote Quote  
  11. Originally Posted by jagabo View Post
    OP = Original Post(er)

    Originally Posted by xicudiz View Post
    And should i try reencode Source.avi in VirtualDubMod to get output like output.mkv that i posted?
    Why would you want screwed up output like that? What are you looking to do? Remux to MKV? Shrink the file? Hard code subs?
    Its my work . My mission is figure out this case. I'm still praying that will have someone can help me complete that mission (
    Quote Quote  
  12. You need to figure out how to get duplicate/dropped frames like in the mkv file? Try using DirectShowSource() in an AviSynth script then feed that to x264 with 24 threads and the very slow preset like were used to make the mkv file. You might need a more complex script to make sure frames are requested out of order. That's likely to generate similar problems.
    Last edited by jagabo; 8th Sep 2013 at 22:36.
    Quote Quote  
  13. Originally Posted by jagabo View Post
    You need to figure out how to get duplicate/dropped frames like in the mkv file? Try using DirectShowSource() in an AviSynth script then feed that to x264 with 24 threads and the very slow preset like were used to make the mkv file. You might need a more complex script to make sure frames are requested out of order. That's likely to generate similar problems.
    Thanks for reply. Please take a note, output.mkv encoded by other one, not me. I want to know how to encode the source.avi to get the exact video like output.mkv. I think the first encoder added some scripts to avs script to make frame order diffirent from the source.
    Quote Quote  
  14. Originally Posted by sanlyn View Post
    The "source" isn't an original source anyway. The "original" was apparently a movie that's been through VirtualDub and re-encoded with h264 in an AVI container, then the O.P. fed it into mkvmerge -- for some strange reason that remains unexplained. I'd guess the owner is apparently joining the current trend to degrade digital video by re-encoding for a smaller bitrate and filesize. The "source" has all kinds of framing problems, but looks as if it might have been telecined film that was de-interlaced in VDub.

    MediaInfo for the "source" avi attached.
    The encoder reencoded source.avi for subtitle hardcode purpose
    Quote Quote  
  15. Originally Posted by xicudiz View Post
    I want to know how to encode the source.avi to get the exact video like output.mkv.
    You need exactly the same frames deleted and duplicated? For example, in output.mkv there is a frame missing between frames 20683 and 20684. And frames 20686 is a duplicate of frame 20685. You need to match that exactly? Good luck.
    Last edited by jagabo; 8th Sep 2013 at 23:46.
    Quote Quote  
  16. Originally Posted by jagabo View Post
    You need exactly the same frames deleted and duplicated?
    Yes. And I also wanna find out what has been done to the source
    Quote Quote  
  17. That's insane. Since there is no pattern of dropped/duped frames you'll need to compare them manually. A script like this will help:

    Code:
    v1=ffVideoSource("Source.avi").BilinearResize(640,360)
    v2=ffVideoSource("output.mkv").BilinearResize(640,360).Trim(315,0)
    
    sub = v1.subtract(v2) 
    substrong = sub.levels(112,1,144,0,255) 
    StackVertical(StackHorizontal(v1,v2),StackHorizontal(sub.subtitle("Diff"),substrong.subtitle("Diff 8x")))
    You'll have to log which frames are missing and which are duplicates. Then duplicate those defects.

    Other than that, I don't think anything was done other than adding the logo, subtitles, and re-encoding with a lower bitrate.
    Last edited by jagabo; 9th Sep 2013 at 00:12.
    Quote Quote  



Similar Threads

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