VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    Will MVtools work on my Athlon 1800+ (no sse2)
    can't seam to find the requirements for this plugin

    i just want to convert an handheld camera shot
    from 30 to 60 fps to feed to deshaker (lots of panning and fast motion)
    i don't want to just double up the frames , just interpolate the missing frame

    lots of avisynth plugins require sse2
    and i want to find a workaround

    thanks for your time , have a great day

    my source is in .asf format
    Quote Quote  
  2. I don't think it's a requirement, just makes it process faster

    what error message are you getting?

    what camera shoots directly to .asf .wmv ??
    Quote Quote  
  3. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    it's not my camera but a friend's ; i think it's a cannon but i'm not really shure

    what would be the ideal script for this task ?

    i just wanted to know before doing anything
    Quote Quote  
  4. What does mediainfo say about the source file? (view=>text) copy & paste the results back here

    There is no "ideal" script , you tradeoff speed vs. analysis quality options. There are dozens of different variations on motion interpolation scripts
    Quote Quote  
  5. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    General
    Complete name : C:\...FNM_Jam06.ASF
    Format : Windows Media
    File size : 616 MiB
    Duration : 24mn 11s
    Overall bit rate : 3 558 Kbps
    Maximum Overall bit rate : 3 731 Kbps
    Encoded date : UTC 1970-01-01 00:00:00.000

    Video
    ID : 1
    Format : MPEG-4 Visual
    Codec ID : M4S2
    Codec ID/Hint : Microsoft
    Description of the codec : mpeg4z
    Duration : 24mn 11s
    Bit rate : 3 364 Kbps
    Width : 640 pixels
    Height : 480 pixels
    Display aspect ratio : 4:3
    Frame rate : 30.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 0.365
    Stream size : 582 MiB (95%)

    Audio
    ID : 2
    Format : ADPCM
    Codec ID : 2
    Codec ID/Hint : Microsoft
    Description of the codec : adpcm_ms
    Duration : 24mn 11s
    Bit rate : 44.1 Kbps
    Channel(s) : 1 channel
    Sampling rate : 11.025 KHz
    Bit depth : 4 bits
    Stream size : 7.63 MiB (1%)
    Quote Quote  
  6. What is your end goal ? PC playback? or something like DVD ?

    It matters, because 30.0 fps is different than 29.97 fps (30000/1001) , and some devices and standard hardware require the proper 30000/1001

    Also you have mono audio, does that matter to you? You can make it "fake stereo" by copying the channel

    Motion interpolation has a lot of side effects - objects morph and you get edge dragging. It can look very bizarre. Some types of content are interpolated better than others
    Quote Quote  
  7. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    lots of end goal , both dvd and web (facebook and youtube) but mostly a good mpeg2

    will try to mix it later with another camera shot (another format)
    i will keep the audio format to mono ,

    but for now i'm just preparing the sources if i can put it this way ..

    ideally i'll go from 30 (.asf) to 60fps (.avi) and end up with 29.97(mpeg2) at the end

    i just basically want a lot smoother playback from deshaker (or another tool !)

    I taught MVtools was used also for noise reduction ?
    if it introduced artifacts well i'll pass ...
    Quote Quote  
  8. Originally Posted by smartel View Post
    lots of end goal , both dvd and web (facebook and youtube) but mostly a good mpeg2

    will try to mix it later with another camera shot (another format)
    i will keep the audio format to mono ,

    but for now i'm just preparing the sources if i can put it this way ..

    ideally i'll go from 30 (.asf) to 60fps (.avi) and end up with 29.97(mpeg2) at the end

    i just basically want a lot smoother playback from deshaker (or another tool !)

    I taught MVtools was used also for noise reduction ?
    if it introduced artifacts well i'll pass ...

    ok, but for DVD you need to make it compliant - frame size and fps need to be "fixed" at some point in your workflow, and the audio is not compliant either - you would need to fix sampling rate

    60.0 fps isn't compliant, and 60 to 29.97 implies that you are making it 59.94i (interlaced ?) because 59.94p isn't complaint with DVD or youtube etc... Youtube will only accept upto 30.0p

    MVtools is used in a lot of filters for different purposes

    The motion interpolation will always introduce artifacts of some sort. You're generating "inbetween" frames. On some types of content, it's barely noticable, on others it's very horrible

    You can try it out the documentation gives you a simple variation (just copy & paste it). And there are several variations on interpolation scripts you can try as well
    Quote Quote  
  9. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i'm thinking that a better frame rate doubling would give me better and smoother results from deshaker

    a good feed for deshaker = better file for my mpeg2 encoder

    avisynth script to virtualdub (deshaker) =30 to 60 fps
    and then 60fps file to maybe HC via another script (60 to 29.97 (30 fps drop frame))

    that's why i'm posting in the newbe forums

    the audio will be muxed at the end
    Quote Quote  
  10. It might be better , it might be worse, or anything in between. It really depends on the type of content

    Here is a simple script for 2x (so 60.0 FPS if your source was 30.0 FPS) , for video only using the older mvflowfps from mvtools 1.x

    source=FFVideoSource("video.asf")

    backward_vec = source.MVAnalyse(overlap=4, isb = true, pel=2, search=3, idx=1)
    forward_vec = source.MVAnalyse(overlap=4, isb = false, pel=2, search=3, idx=1)
    source.MVFlowFps(backward_vec, forward_vec, num=2*FramerateNumerator(source), \
    den=FramerateDenominator(source), idx=1)

    If you wanted to use mflowfps from mvtools 2.x

    source=FFVideoSource("video.asf")

    super = source.MSuper(pel=2)
    backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
    forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
    source.MFlowFps(super, backward_vec, blend=false, forward_vec, num=60, den=1)

    The results will be similar in terms of artifacts
    Quote Quote  
  11. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i'll try that latter on this evening

    got to go to work !

    and thank you for your input
    Quote Quote  
  12. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    frame accurate seeking is not possible with this file
    used mvtools2
    Quote Quote  
  13. if it was cut incorrectly , you can get that error with ffms2

    try another source filter dss2 , it comes with haali media splitter package. Put avss.dll in plugins folder

    DSS2("video.asf")
    Quote Quote  
  14. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    l'll try first to make it seekable with asftools if that does not work i'll try it
    Quote Quote  
  15. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i did both asftools repair and the dss2 thing my file is now being analysed 20 hours for a 25 min clip ouch !

    i did the script with MEgui it crashed while doing it but i managed to save the script anyway
    Last edited by smartel; 14th Apr 2011 at 23:19.
    Quote Quote  
  16. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i'm now encoding
    the preview in virtualdub looks good (xvid bitrate = 5000)

    i'm still at 60 fps , should i have done it at 29,97??

    the result of this will be dvd .. framerate convertion will be the next step

    gives me time to read a little ..
    read about MotionProtectedFPS from masktool (SalFPS3!??)

    am i dearching too far ?

    i'm aiming for smootest play

    script used :

    LoadPlugin("C:\Documents and Settings\Steve\Bureau\MeGUI_1989_x86\tools\avisynt h_plugin\avss.dll")
    LoadPlugin("C:\Documents and Settings\Steve\Bureau\MeGUI_1989_x86\tools\ffms\ff ms2.dll")
    DSS2("C:\Documents and Settings\Steve\Bureau\FNM\Nouveau dossier\Nouveau dossier\FNM_Jam06.lch.adv.ASF").AssumeFPS(30.000)
    source=DSS2("FNM_Jam06.lch.adv.ASF")
    super = source.MSuper(pel=2)
    backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
    forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
    source.MFlowFps(super, backward_vec, blend=false, forward_vec, num=60, den=1)
    ConvertToRGB

    i did it with no audio ...maybe i should have done it so that video and audio match in virtualdub ...
    Quote Quote  
  17. You might have problems with sync, because many .asf/wmv files are variable frame rate and variable sample rate.

    You can try this instead

    source=DirectShowSource("video.asf", fps=30, convertfps=true, audio=true)
    super = source.MSuper(pel=2)
    backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
    forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
    source.MFlowFps(super, backward_vec, blend=false, forward_vec, num=60, den=1)
    ConvertToRGB

    This will include the audio and (hopefully) be in sync

    Keep it at 60fps until you've finished exporting from deshaker and vdub , then do the framerate conversion and re-interlacing, and resample the audio
    Quote Quote  
  18. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    another day (or 2) of encoding for me ... i need one more pc

    and thx again for the input
    Quote Quote  
  19. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    doesn't MVtool have it's own stabilisation capability ?

    deshaker's results are so so
    Quote Quote  
  20. Originally Posted by smartel View Post
    doesn't MVtool have it's own stabilisation capability ?

    deshaker's results are so so

    Depan, DepanStabilize , and related wrapper functions like Stab are avisynth stabilization functions

    Deshaker results can often be optimized if you use better settings
    Quote Quote  
  21. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i got to turn off the zoom fonction .. i think
    Quote Quote  



Similar Threads

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