Log in

View Full Version : RMVB to DVD results in gray frames, plus AVS error


Sakuya
17th October 2007, 05:15
I have an RMVB file which I'm trying to convert to MPEG-2 for burning to DVD. Before, I was using Avisynth version 2.5.6 and here was the script I used:


DirectShowSource("file.rmvb", fps=29.97, convertfps=true)
LanczosResize(720,480)


I previewed the script in Vdubmod and MPC 6.4 and there would be flashing gray frames every other frame creating some blinding flashes. The original RMVB had no gray frames. I updated to the latest Avisynth Alpha 2.5.8 and tried the script again but this time, I get this error in MPC and it crashed in Vdubmod:

"CAVIStreamSynth: System exception - Access violation at 0x0, reading from 0x0"

I experimented by removing parts of the script to see what was causing the problem. The script played if I removed the convertfps value but when I try to fast forward, it hanged up on me. In Vdubmod, it simply crashed.

I've also tried to use WinAVIConverter to convert but the resulting MPG file was corrupted. I'm thinking of using 2.5.6 again but there's that unsolvable problem with the gray frames. So any help on this matter would be appreciated!

Edit:
Here's my computer specs:

Windows 2000
Intel Pentium IV, 2.8 GHz with hyper-threading
1,039,084kb RAM

themostestultimategenius
17th October 2007, 06:46
Hmmm. I get this problem too. With AviSynth 2.5.7 and 2.5.8.
It opens in VDM with VDub's Handler for me though.

mgh
18th October 2007, 10:16
Using directshowsource, i have also faced similar problems in the past not only with rmvb but also wmv and mp4. For rmvb, my solution was to put the correct fps value, available while playing in real player from File-Clip Properties-Clip Source.Look for encoded frame rate value.
For wmv, look under statistics in windows media player. For mp4, mediainfo will give you the value.

themostestultimategenius
18th October 2007, 12:22
I only get the grey frames for the first few seconds of the video. The rest is fine of it is fine. Putting in the FPS value doesn't seem to help =\

mgh
18th October 2007, 14:25
in that case you can just trim it off