|
|
| Elaphe666 |
| Posted: Dec 20 2013, 09:56 PM |
 |
|
Newbie

Group: Members
Posts: 8
Member No.: 35377
Joined: 31-August 12

|
Is there any plugin that adds intermediate frames in a 30 fps video to make it look like 60? I mean something like what some modern tvs do with the image (some call it truemotion) and that makes the movies look like a homemade video. If a TV is able to do this almost in real time, I suppose there must be a plugin to transform a video and have a sense of smoother motion. Thanx. |
 |
| dloneranger |
| Posted: Dec 20 2013, 10:26 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Why would anyone want to something so evil to a poor defenceless video ? It's usually best to leave 'buggering up the video' to a separate device and leave the original alone so not everyone has to suffer through the effect
Seriously though, it's also called "Motion interpolation" and avisynth's probably the best bet for doing it Can't recommend anything as it's not something I'd touch
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| meowmeow |
| Posted: Dec 21 2013, 12:34 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (dloneranger @ Dec 20 2013, 10:26 PM) | | It's usually best to leave 'buggering up the video' to a separate device and leave the original alone so not everyone has to suffer through the effect |
+1
Smooth Video Project (SVP) comes with tools that just played meowmeow's 25 fps video as 60 = ( ^ _ ^ ) =
Feature to open avs script in VD yet still to fix (says YV12 not YV12 or something it don't likes) Could be interesting to see what they exactly do with frames and which one is better. |
 |
| Elaphe666 |
| Posted: Dec 21 2013, 08:22 AM |
 |
|
Newbie

Group: Members
Posts: 8
Member No.: 35377
Joined: 31-August 12

|
I already have programs that simulate truemotion, such as Splash Pro or PotPlayer. However, I need to convert the original video files because I need to apply the home videocamera look. It's incredible VirtualDubMod lacks a plugin for this. Is that Avisynth another video editing program such as VirtualDubMod? |
 |
| Abrazo |
| Posted: Dec 21 2013, 09:15 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
@Elaphe666
I would like to advise you to use VirtualDub 1.9.11.x (or later) and NOT VirtualDubMod that is already 'old' (end of 2007). You can find it here: http://sourceforge.net/projects/virtualdub...virtualdub-win/ Installation goes by un-zipping the files to a folder like C:\Program files\VirtualDub (there is no setup or install). Start the program via VirtualDub.exe (NOT Vdub.exe).
In VirtualDub you will find the "Interpolate" filter (via Video-menu > Filters... > Add), and this one should do what you are looking for.
At Frame rate target, select Scale frame rate by 2 At Interpolation mode, select Linear blending
This will create your intermediate frames and the motion will be 'smoother'. |
 |
| dloneranger |
| Posted: Dec 21 2013, 10:28 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Interpolate filter does a different thing That one makes a blurred effect, by merging frames together like bad deinterlacing
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| dloneranger |
| Posted: Dec 21 2013, 11:52 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
| QUOTE | | It's incredible VirtualDubMod lacks a plugin for this |
Why incredible? More like nobody actually wants to write one People only write plugins for something they're interested in or want to do tbh, I wouldn't waste 5 mins writing such a plugin
Avisynth is a script language for video that can load plugins and 'do things' to the video You then can load/play the .avs script file like a video There's quite a bit on google -> avisynth motion interpolation Takes some setting up, but can be done
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| meowmeow |
| Posted: Dec 21 2013, 07:58 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (dloneranger @ Dec 21 2013, 11:52 AM) | | can be done |
Thanks, now encoding "TruMotion" alikes in VD
The framedoubting err, framedoubling scripts from AviSynth site as examples:
'Fastest':
| CODE | #loadplugin("c:\program files\avisynth 2.5\plugins\mvtools2.dll") #To double fps with MFlowFps for fastest (almost) real-time playing: AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc # assume progressive PAL 25 fps or NTSC Film 23.976 source super = MSuper(pel=1,hpad=0,vpad=0,chroma=false) backward_vec = MAnalyse(super, blksize=32, isb = true, chroma=false, searchparam=1,search=0) forward_vec = MAnalyse(super, blksize=32, isb = false, chroma=false, searchparam=1,search=0) MFlowFps(super, backward_vec, forward_vec, num=2*FramerateNumerator(last), \ den=FramerateDenominator(last), mask=0) |
Looks not much better than blurring frames. This I dropped quickly.
'Best' (for encoding):
| CODE | #loadplugin("c:\program files\avisynth 2.5\plugins\mvtools2.dll") #To double fps with MFlowFps for 'best' results (but slower processing): AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc # assume progressive PAL 25 fps or NTSC Film 23.976 source super = MSuper(pel=2) backward_vec = MAnalyse(super, overlap=4, isb = true, search=3) # Use block overlap, halfpixel accuracy and Exhaustive search forward_vec = MAnalyse(super, overlap=4, isb = false, search=3) MFlowFps(super, backward_vec, forward_vec, num=2*FramerateNumerator(last), \ den=FramerateDenominator(last)) |
Lacks GPU support, multithreading, etc... Visible "wave" artifacts for some frames and probably there's more. |
 |
| dloneranger |
| Posted: Dec 21 2013, 08:28 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Is that MVTools 2? There's also a supposedly better one at http://www.svp-team.com/wiki/Plugins:_MVTools2
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| raffriff42 |
| Posted: Dec 21 2013, 09:11 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12

|
Get MVtools2 per @dloneranger, and also get Interframe: http://forum.doom9.org/showthread.php?t=160226
Calling is simple - here's an example: | CODE | AviSource("source.avi") InterFrame(Preset="Medium", Tuning="Smooth", NewNum=60, NewDen=1) |
where Preset=Medium|Fast|Faster|Very Fast|Super Fast|Ultra Fast and Tuning=Film|Smooth|Animation|Weak and new framerate = NewNum/NewDen
Results are very good. Scene change detection is handled automatically. |
 |
| meowmeow |
| Posted: Dec 22 2013, 05:40 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (raffriff42 @ Dec 21 2013, 09:11 PM) | | Results are very good. |
1.84% better (PSNR-256-Y-YUV) than avs example (using mvtools2 from SVP) in my test in 5160 frames.
Can't get interframe to use GPU with InterFrame(Preset="Medium", Tuning="Smooth", NewNum=60, NewDen=1, cores=2, gpu=true)
SVP's best as it can play 1920x1080@60 in full screen realtime (through ffdshow - any player automatically but VD) |
 |