For certain source files of mine, I am unable to frameserve directly to TMPGEnc. If I do so, even though the video shows up fine in the TMPGEnc preview, the encoding process will almost always end in a "stream writing" or "stream reading" error (usually "stream writing").
However, if I take the exact same AVS file, open it in VirtualDub, and then frameserve from VirtualDub, it works!
I'm sure that using VirtualDub as a middleman between AviSynth and TMPGEnc is causing a speed hit, and I don't understand why it is necessary.
I first thought that my "stream writing" errors were linked to the 2-pass VBR option in TMPGEnc, but actually they seemed to be linked to a combination of source file and AviSynth. In other words, I see these errors only when using AviSynth to frameserve, and only for certain source files.
+ Reply to Thread
Results 1 to 5 of 5
-
-
What versions of all three programs are you currently using?
-
Try adding this line to the end of your AVS script.
ConvertToRGB24()
TMPGenc only supports RGB input. For a YUV source you must convert to RGB first, unless you are frameserving through VFAPI, in which case it does the conversion to RGB. -
I'm using TMPGEnc 2.512.52.161, AviSynth 2.52, VirtualDub 1.5.3 (build 16250/release-P4)
When I try to frameserve directly to TMPGEnc, I have to put ConvertToRGB24() at the end of my AviSynth script, otherwise I just get a black screen in the TMPGEnc preview. So, yes, I have been doing the conversion and still getting "stream" errors when I try to encode with TMPGEnc. I shouldn't have to use Convert, though. I installed HuffyUV so I could use that as the YUY2 decoder...(check out http://www.avisynth.org/index.php?page=Convert)
They say you can get better speed and quality by using HuffyUV instead of ConvertToRGB24()....but I still get no video in TMPGEnc unless I use Convert. -
Just as an update, I have found that by increasing the priority of the directshow filter in TMPGEnc, I no longer get the stream writing errors.
I should also add that the stream writing errors were only "mostly" reproducible and not "completely" reproducible...every once in a while, I wouldn't get the error on a very short clip.
One reason I didn't want to have to frameserve from VirtualDub is that you can only set up one frameserved file at a time, and thus can only have one vdr in the TMPGEnc batch encode list.
Although raising the priority of the directshow filter looks like a solution, I thought the directshow filter was not very good and should be avoided. Will using the directshow filter affect the quality of my encodes?
Similar Threads
-
720p 59.94 to 480p 23.976 in TMPGEnc w/o Using AVISynth
By CubDukat in forum Video ConversionReplies: 6Last Post: 19th Oct 2009, 09:51 -
Can't Frameserve to Tmpgenc
By BonnieW88 in forum Video ConversionReplies: 1Last Post: 30th Aug 2009, 23:40 -
How to frameserve this resizing algorithm to TMPGEnc?
By DRP in forum Video ConversionReplies: 3Last Post: 4th Jan 2008, 22:19 -
How to frameserve (dvd2avi / VirtualDub / Avisynth / VFAPI)
By Truman in forum User guidesReplies: 32Last Post: 20th Nov 2007, 08:38 -
Frameserve from VirtualDubMod to TMPGEnc
By pchan in forum DVD RippingReplies: 1Last Post: 25th Aug 2007, 08:13