<p>While I wasn't able to fix the problem, I was able to go around it, by converting my input file into <code>xvid</code>.</p>

<p>I don't have any black frames anymore, but the video freezes for a few seconds at some point.</p>

<p>Since I was recording and playing the game on the same PC, I'm guessing that there's been a problem at some point and <code>fraps</code> had to drop the framerate.</p>

<p>In any case, I suspect some other bug in my video editing setup, since <code>Vegas</code> was adding black frames in other parts of the video, that play fine once converted to <code>xvid</code>.</p>

CC BY-SA 3.0
2015-06-09T08:03:20.430Z
2015-06-09T08:03:20.430Z
Manu
<p>I'm trying to import some clips into a <code>Vegas 13</code> project, but they "flicker": some frames are all black (even in the preview), even though the files play perfectly in <code>mplayer</code> and <code>VLC</code>.</p>

<p>The clips are recorded from a videogame using <code>fraps</code>, and then reencoded in H.264 with <code>mencoder</code> with the settings: <code>-x264encopts preset=slow:keyint=200:crf=19:level_idc=31:colormatrix=bt709</code> (I don't have the originals anymore, I deleted them to gain disk space. Stupid mistake, I know).</p>

<p>Gspot tells me this about the files:
<img src="https://i.sstatic.net/5rrVb.png" alt="enter image description here"></p>

<p>I have tried a lot of different options:</p>

<ul>
<li>disabling using the GPU for rendering</li>
<li>setting the switch to "smart resample", "force resample", and "no resample"</li>
<li>changing the frame rate</li>
<li>using constant and variable bitrates</li>
<li>using the "deinterlace" settings "blend" and "interpolate" (pretty sure this does nothing in my case ^^)</li>
<li>checking/unchecking "adjust source media"</li>
</ul>

<vegas-pro><h.264>
Video in Sony Vegas flickers and is full of black frames
Manu
# Video in Sony Vegas flickers and is full of black frames

(Asked by: username_0 on 2015-05-24)

I'm trying to import some clips into a `Vegas 13` project, but they "flicker": some frames are all black (even in the preview), even though the files play perfectly in `mplayer` and `VLC`.

The clips are recorded from a videogame using `fraps`, and then reencoded in H.264 with `mencoder` with the settings: `-x264encopts preset=slow:keyint=200:crf=19:level_idc=31:colormatrix=bt709` (I don't have the originals anymore, I deleted them to gain disk space. Stupid mistake, I know).

Gspot tells me this about the files:
![enter image description here](https://i.sstatic.net/5rrVb.png)

I have tried a lot of different options:

* disabling using the GPU for rendering
* setting the switch to "smart resample", "force resample", and "no resample"
* changing the frame rate
* using constant and variable bitrates
* using the "deinterlace" settings "blend" and "interpolate" (pretty sure this does nothing in my case ^^)
* checking/unchecking "adjust source media"

**Tags:** vegas-pro, h.264


---

## 1 answers

### Answer by username_0 on 2015-06-09. Score: 1 | Accepted answer

While I wasn't able to fix the problem, I was able to go around it, by converting my input file into `xvid`.

I don't have any black frames anymore, but the video freezes for a few seconds at some point.

Since I was recording and playing the game on the same PC, I'm guessing that there's been a problem at some point and `fraps` had to drop the framerate.

In any case, I suspect some other bug in my video editing setup, since `Vegas` was adding black frames in other parts of the video, that play fine once converted to `xvid`.


---

