agni451
10th November 2012, 15:26
Is there any way to use qtgmc instead of the built-in yadif filter? My video files are mpeg2, and that should be (http://msdn.microsoft.com/en-us/library/windows/desktop/dd407173%28v=vs.85%29.aspx) Directshow compatible. My avs ("A.avs") looks like this:
SetMemoryMax(1600)
SetMTMode(3,8)
video=DirectShowSource("S:\TEST5\A.m2v")
SetMTMode(2)
video=video.AssumeTFF()
video=video.QTGMC(Preset="Slow")
video=video.SelectEven()
video=video.Lanczos4Resize(1920,1080)
video2=BlankClip(video,length=102)
return(video+video2)
and then the ffmpeg commandline looks like:
ffmpeg -v verbose -y -i "S:\TEST5\A.avs" -c:v libx264 -preset slow -b:v 7550k -r:v 30000/1001 -x264opts open-gop:b-pyramid=strict:slices=4:qpmax=51:nr=250 -f rawvideo "S:\TEST5\A.264"
Unfortunately all I get is "AFIFileOpen failed with error -2147221164. S:\TEST5\A.avs: Operation not permitted". Even when I just try to load the video in avisynth, no filters or anything:
DirectshowSource("S:\TEST5\A.m2v")
I get the same message. I am currently using the absolute latest version of ffmpeg (N-46469-gc995644 (Nov 5 2012)) with --enable-avisynth and --enable-libx264 and avisynth 2.58. I really need to be able to get the quality of qtgmc here, so how do I do this?
SetMemoryMax(1600)
SetMTMode(3,8)
video=DirectShowSource("S:\TEST5\A.m2v")
SetMTMode(2)
video=video.AssumeTFF()
video=video.QTGMC(Preset="Slow")
video=video.SelectEven()
video=video.Lanczos4Resize(1920,1080)
video2=BlankClip(video,length=102)
return(video+video2)
and then the ffmpeg commandline looks like:
ffmpeg -v verbose -y -i "S:\TEST5\A.avs" -c:v libx264 -preset slow -b:v 7550k -r:v 30000/1001 -x264opts open-gop:b-pyramid=strict:slices=4:qpmax=51:nr=250 -f rawvideo "S:\TEST5\A.264"
Unfortunately all I get is "AFIFileOpen failed with error -2147221164. S:\TEST5\A.avs: Operation not permitted". Even when I just try to load the video in avisynth, no filters or anything:
DirectshowSource("S:\TEST5\A.m2v")
I get the same message. I am currently using the absolute latest version of ffmpeg (N-46469-gc995644 (Nov 5 2012)) with --enable-avisynth and --enable-libx264 and avisynth 2.58. I really need to be able to get the quality of qtgmc here, so how do I do this?