View Full Version : DirectShowSource resizes video?
gonzooka
4th January 2015, 00:10
Hi there!
I am new to Avisynth and... I have a problem:
I am using virtualdub32 (1.9.11) to run avisynth script
and I want to use the MSU Framerateconverter (http://www.compression.ru/video/frame_rate_conversion/index_en_msu.html) to make slow motion for further footage. It works fine,
but it resizes the video to 640x480, and i don't know why!
DirectShowSource("x_Talschwenk_2.mp4", convertfps=true)
ConvertToYV12().MSU_FRC(2, "slow")
For compression I use x264. Audio is disabled.
i tried AviSource(video.mp4) too, but when starting conversion with virtualdub I get "avisynth read error cavistreamsynth: System exeption - Access Violation at..."
Any idea?
Thanks a lot!!!
Roman.
Wilbert
4th January 2015, 00:35
DirectShowSource("x_Talschwenk_2.mp4", convertfps=true)
Info()
Could you give the width and height of the mp4 file?
AviSource can't read mp4 files. You can try ffmpegsource (if you want to try someting else).
gonzooka
5th January 2015, 14:33
oh okay, my mistake!
AviSource(...), sure i used with an avi-file :-)
Source resolution is 1920x1080
ffmpegsource I tried but Avisynth didnt find
"FFmpegSource" or "FFVideoSource". Installed
dll into avisynth-plugin folder, also avsi-file,
found nothing helpful example....
I also tried to use x264 from cmd:
it starts but then nothing happens...
foxyshadis
7th January 2015, 07:24
Why not use InterFrame (http://forum.doom9.org/showthread.php?t=160226) instead? MSU plugins are slow and long abandoned, often buggy, although a couple can do cool things no other plugins can yet (like Cartoonizer). SVP & Interframe are much better quality.
If it's actually DSS and not MSU that's resizing your video, then open it in a media player and find the settings for the filter that's being called. If you have a codec pack, uninstall it and replace it with LAV Filters.
hello_hello
7th January 2015, 16:50
I'd try MeGUI. If you use the File/Open menu MeGUI should offer to index the video. For MP4 it'll default to ffms2 for indexing. Add the indexing job to the queue and run it. When it's done the script creator will open (FFVideoSource) with a preview. You can modify the script manually and preview the changes before saving it.
gonzooka
10th January 2015, 16:30
Thanks! tried interframe with MeGUI, looks pretty good!
Although I got artifacts with these settings, possible to optimize? Would be fine, but i want make a slowmotion.
http://imageshack.com/a/img661/646/zfEu1t.jpg
right side, the (moving) strings of the swing
Setmemorymax(512)
SetMTMode(3,8)
PluginPath = "C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\"
LoadPlugin(PluginPath+"svpflow1.dll")
LoadPlugin(PluginPath+"svpflow2.dll")
Import(PluginPath+"InterFrame2.avsi")
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("D:\Eigene Dateien\Filme\Panorama 13 - 2014\106GOPRO1\gopro protune output\4_letzter Tag Party - Rundgang und Schaukel.mp4", fpsnum=25, fpsden=1, threads=1).ConvertToYV12()
Crop(0, 12, -0, -12)
InterFrame(OverrideAlgo=13,NewNum=50000,NewDen=1001,Cores=8, GPU=true)
hello_hello
10th January 2015, 20:10
I've not played with InterFrame much. Someone else may be able to help, or suggest a better slow motion method.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.