View Full Version : Input format is not YV12 ColorSpace??
fedevaps
26th November 2005, 14:02
I get this error when I try to encode a .avi file with QuEnc:
Could not use C:\movie.avs as Input!
Input format is not YV12 ColorSpace
Any ideas?
scharfis_brain
26th November 2005, 14:05
this encoder only accepts the YV12 colorspace.
so use either converttoyv12() for progressive stuff
or converttoyv12(interlaced=true) for interlaced stuff
fedevaps
26th November 2005, 14:18
I can't seem to find a program called :
converttoyv12() or converttoyv12(interlaced=true)
Do I need to install Linux to use these programs?
scharfis_brain
26th November 2005, 14:21
you need to insert this command (function) at the end (as last line) of the file (script) movie.avs
fedevaps
26th November 2005, 14:24
Ohh. Something like:
LoadPlugin("C:\Programmer\GordianKnot\VirtualDubMod\plugins\textsub.vdf")
avisource("test.avi")
BicubicResize(720,272)
AddBorders(0,104,0,104)
TextSub("test.srt")
ResampleAudio(44100)
converttoyv12()
I have installed AviSynth 2.0 since 2.5 could not use some plugin (I was told to downgrade AviSynth) will this have any effect?
scharfis_brain
26th November 2005, 14:28
AVS 2.0 will NOT support YV12.
starting from AVS 2.5 YV12 is supported.
Do you want to create a DVD? then you must use 48kHz Audio. 441 kHz is not supported on DVD.
fedevaps
26th November 2005, 14:36
But if I use AviSynth 2.5 I get this error:
Avisynth open failure:
Plugin C:\Programmer\GordianKnot\VirtualDubMod\plugins\textsub.vdf is not an AviSynth 2.5 plugin.
For some reason I can only use the textsub.vdg plugin with Avisynth 2.0.
But maybe I can just:
1) delete the subtitles entries in my .avs file
2) do the conversion with AviSynth 2.5
3) downgrade Avisynth to 2.0
4) Enter subtitles lines
5) Encode with QuEnc
....but it seems at bit complicated
scharfis_brain
26th November 2005, 14:49
*.vdf are VDub Plugins.
you need to load them using
loadvirtualdubplugin or so.
please read the AVISynth documentation for further explantation. it describes it pretty well.
Reading documentation is a task I won't and don't want to do for you.
ou have to learn the things by yourself.
Wilbert
26th November 2005, 15:05
1) please post AviSynth in the appropriate forum.
2) Install vsfilter (non-unicode build is for W98):
http://sourceforge.net/project/showfiles.php?group_id=82303&package_id=84359
LoadPlugin("C:\Programmer\GordianKnot\VirtualDubMod\plugins\vsfilter.dll")
avisource("test.avi")
BicubicResize(720,272)
AddBorders(0,104,0,104)
TextSub("test.srt")
ResampleAudio(44100)
converttoyv12()
Make sure to read the documentation on your hdd:
...\avisynth25\docs\english\externalfilters\vsfilter.htm
Read the AviSynth Q&A how to load v2.0 plugins in AviSynth v2.5, when you need that the next time.
fedevaps
26th November 2005, 15:26
Ok now nothing works.
I have just used your changes (entered them in a file called movie.avs, and copied vsfilter.dll to the below dir):
LoadPlugin("C:\Programmer\GordianKnot\VirtualDubMod\plugins\vsfilter.dll")
avisource("test.avi")
BicubicResize(720,272)
AddBorders(0,104,0,104)
TextSub("test.srt")
ResampleAudio(44100)
converttoyv12()
when I open the .avs file QuEnc I get no errors but nothing happens. I mean the file is shown in "Source AVS file" but nothing is shown in "Destination File". If I choose my own destination file and choose Encode nothing happens.
Did your above code snippet demand that it was AviSynth 2.0 or 2.5 that was installed?
Since you typed "converttoyv12()" in the last line I guess it should be 2.5 and that is also what I currently have installed.
Seems that there is a compatability problem with subtitles and the AviSynth version, I am no the only one having this problem:
http://www.videohelp.com/forum/archive/t160943.html
Wilbert
26th November 2005, 16:06
Sorry, i also can't get it to work. Strange. I'm quite sure it worked once with v2.5.
Is there someone who can get it working? (srt/sub, vsfilter v2.37; tried v2.55 and latest CVS)
GrofLuigi
27th November 2005, 02:15
Sorry, i also can't get it to work. Strange. I'm quite sure it worked once with v2.5.
Is there someone who can get it working? (srt/sub, vsfilter v2.37; tried v2.55 and latest CVS)Works here with latest vsfilter from sourceforge (900k in size, "release unicode"):
avisource ("c:\video\hans.avi")
LoadPlugin ("C:\Program Files\VobSub\vsfilter.dll")
TextSub ("c:\video\s.ssa")Avisynth Version 2.56, build Oct 28 2005. XP SP2.
GL
Wilbert
27th November 2005, 13:49
It works also for me. I used a wrong script. (Actually i used wrong subs, which would show up after the movie was finished :))
@fedevaps,
1) What happens if you open that script in VirtualDub?
2) If you don't see any subs, can you attach your test.srt in this thread?
Since you typed "converttoyv12()" in the last line I guess it should be 2.5 and that is also what I currently have installed.
Yes, indeed.
fedevaps
27th November 2005, 14:10
I uninstalled AviSynth and Gordian Knot, and reinstalled Gordian Knot and now it works!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.