VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. it crashed mid image export and stopped at image 28590 and i want to continue to finish but if i try to do a new export from where it stopped it start a new one

    lets say 2500 to 3000 it wont number it as jpg02500 - jpg03000 but jpg0000 - jpg 0500

    how can i fix it without wasting a lot of time?
    Quote Quote  
  2. One workaround is to use a renaming utility. e.g. bulk rename utility. You export the continued portion as is, then fix it with the utility (this would involve the remove for the existing numbers, and the numbering portion to add the correct numbers. But it does it all in 1 step and you can preview the naming result)

    Or use something else like ffmpeg, avisynth (imagewriter) etc... where you can specify the start frame


    But you have to consider why it crashed in the first place... maybe some other problems
    Quote Quote  
  3. Originally Posted by poisondeathray View Post
    One workaround is to use a renaming utility. e.g. bulk rename utility. You export the continued portion as is, then fix it with the utility (this would involve the remove for the existing numbers, and the numbering portion to add the correct numbers. But it does it all in 1 step and you can preview the naming result)

    Or use something else like ffmpeg, avisynth (imagewriter) etc... where you can specify the start frame


    But you have to consider why it crashed in the first place... maybe some other problems
    no the crash is my fault , what avisyth script can i add to

    Code:
    MPEG2Source("D:\VideoTS\VIDEO_TS.d2v")
    va = fa()
    vb = fb()
    vc = fc()
    
    ReplaceFramesSimple(va, vb, mappings="[16749 16883][17296 17416][17831 17968][18245 18296][18504 18710][23066 23220][24518 24526][24700 24787][27024 27149][27372 27373][28403 28538][28565 28685][28949 29066][29407 29497][30120 30247][32411 32542][32677 32818][33495 33758][33946 34072][35464 35474]")
    ReplaceFramesSimple(last, vc, mappings="[35973 38741]")
    
    
    return(last)
    
    
    function fa(clip C)
    {
    C
    TFM()
    TDecimate(Mode=1)
    McTemporalDenoise(settings="Low")
    sharpen(0.17)
    Hysteria(strength=0.5, maxchg=30,lowthresh=12)
    McTemporalDenoise(settings="Low")
    
    return Last
    }
    
    function fb(clip C)
    {
    C
    QTGMC(FPSDivisor=2)
    TDecimate(Mode=1)
    McTemporalDenoise(settings="Low")
    sharpen(0.17)
    Hysteria(strength=0.5, maxchg=30,lowthresh=12)
    McTemporalDenoise(settings="Low")
    return Last
    }
    
    function fc(clip C)
    {
    C
    QTGMC(FPSDivisor=2)
    TDecimate(Mode=1)
    return Last
    }
    to start at a specific frame? if i use "trim()" it still start from 0
    Quote Quote  
  4. Originally Posted by zanzar View Post

    to start at a specific frame? if i use "trim()" it still start from 0
    lets say 2500 to 3000 it wont number it as jpg02500 - jpg03000 but jpg0000 - jpg 0500
    Let's say the name was image02500.jpg to image03000.jpg . Replace "PATH" with the real path, and names
    http://avisynth.nl/index.php/ImageWriter

    You need to send it RGB data for ImageWriter
    Code:
    ImageWriter("PATH\image%05d.jpg, start=2500, end=3000, type="jpg" )
    To write it out, you can use vdub (but avisynth is doing the writing), you seek to just before the frame. So about 2499. The file=>run video analysis pass and it will write the frames

    But the characteristics might be different than what you used earlier. The jpg quality and sampling for example. Or the method of RGB conversion that vdub did. The jpg header. All those little differences might or might not be significant. If it was me, I'd use the easy batch renaming method. The image characteristics will be identical to the aborted set because it's exactly the same method
    Quote Quote  
  5. This is how easy it is. This is the one I use, but there are others like it
    http://www.bulkrenameutility.co.uk/Main_Intro.php

    1) Export the remainder of the aborted sequence as normal into a different folder. It will start with "image00000.jpg" (or whatever name)

    2) In the program, navigate to the folder, you can press ctrl+a to select all

    3) In the remove box, you want "last n" set to "5" in this example ( so image00000.jpg becomes image.jpg) . You can see it "live" in the preview in green text

    4) In the numbering box, mode suffix, start 2500, pad 5 (because 5 place holder digits)

    5) Push rename (not shown in the cropped screenshot)

    Click image for larger version

Name:	bulk rename utility.jpg
Views:	62
Size:	136.9 KB
ID:	45082
    Quote Quote  
  6. The Bulk Rename Utility is absolutely brilliant. Even if it doesn't help you with this project, get it anyway. Even though it is free, send the guy some money if you use it. He deserves it.
    Quote Quote  



Similar Threads

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