Hi All,
I have a movie file that shows the following info in G-Spot:
Video = DivX 5.0
Audio = MP3 VBR
Render Video Path = AVI Splitter=>DivX Decoder Filter=>Subtitle Mixer.
Rende Audio Path = AVI Splitter=>Moonlight Odio=>Morgan Stream..
This movie runs fine in WMP v6.4 and v9. It shows in properties (WMP v9) video codec = Subtitle Mixer)
I create a simple aviscript (avisynth v2.54) to open the video and save as Movie.avs:
video = "C:\TEST\DOD.avi"
AviSource(video)
When I run this .avs file in WMP, I can hear the sound but the video is all black. I looked at the video codec in properties in WMP v9 and it is blank. I tried to open also in VirtualDub and I get flashing green screen.
I also tried and added this line,
ConvertToYUY2()
to the bottom of the script, but got the same result. Please help if anyone knows what the problem is. Thanks in advance!
+ Reply to Thread
Results 1 to 7 of 7
-
-
Load file in virtualdubmod and use direct stream copy to save video as avi-save audio as wav file
load avi file with avisource and wav file with wavsource-use audiodub for muxing-think your avisynth script will work
you can try adding
EnsureVBRMP3Sync()
before trying above. -
First, thanks for the quick reply. However, I tried both ways and still it did not work.
#Script 1
video = "C:\TEST\DOD.avi"
AviSource(video)
EnsureVBRMP3Sync()
ConvertToYUY2()
#Result = Black screen
#Script 2
video = AviSource("c:\TEST\DOD.avi")
audio = WavSource("c:\TEST\DOD.wav")
AudioDub(video, audio)
EnsureVBRMP3Sync()
#Result = Shows like 1 frame of the video then turns green for a few seconds then flash 1 frame again. And it keeps doing this.
#Script 3
video = AviSource("c:\TEST\DOD.avi")
audio = WavSource("c:\TEST\DOD.wav")
AudioDub(video, audio)
EnsureVBRMP3Sync()
ConvertToYUY2()
#Result = WMP v6.4 attempts to download some codecs then it said unable to download an appropriate decompressor, and the video plays showing black screen.
I noticed that when I open the 'watchable' avi file itself with VDub, the decompressor in the 'File Information...' is 'DivX Pro 5.0.2' codec. When I open the 'green screen' avs script, the codec for script 2 (w/out the 'ConvertToYUY2()') is 'XVID MPEG4' and for script 3 it is 'YUV 4:2:2 (YUY2)'
Any other suggestions, anyone? Thanks in advance for the help! -
if this is considered newbie conversion - MAN, do I have a LONNNNGGGGG way to do
-
try directshowsource instead of avisource. Also make sure you have the divx codec installed on your computer.
Similar Threads
-
Should i use and avisynth script for Dv ?
By smartel in forum Newbie / General discussionsReplies: 0Last Post: 10th Mar 2012, 08:29 -
Need Help with My AviSynth Script
By Enkidu in forum Newbie / General discussionsReplies: 3Last Post: 21st Jan 2011, 21:37 -
Avisynth Script Help
By jamhat in forum Video ConversionReplies: 2Last Post: 29th Nov 2009, 06:13 -
Avisynth script
By daz2712 in forum Video ConversionReplies: 2Last Post: 19th Aug 2009, 11:08 -
avisynth script
By magenta2007 in forum SVCD2DVD & VOB2MPGReplies: 7Last Post: 25th Sep 2007, 11:29