Using Melt on different PC results in "failed to allocate memory" error

Hi I want to use Melt on Windows on a Mini-PC for Background-Rendering. I am connecting to this PC via Remote Desktop.

I am now starting Melt to render a Video from .mlt-File and close the Remote Desktop Connection. As soo as I re-open the connection from my main PC again I can see these errors exploding in my Melt-Window (CLI):

[consumer avformat] error with video encode: -12 (frame 4733)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4734)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4735)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4736)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4737)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4738)
Current Frame: 4767, percentage: 1[h264_qsv @ 0000021895f45740] 7Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4739)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4740)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4741)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4742)
[h264_qsv @ 0000021895f45740] Error during encoding: failed to allocate memory (-4)
[consumer avformat] error with video encode: -12 (frame 4743)

What is the issue here and can I ignore these and just go on with the video?

Can you give it a try without using a hardware encoder? The remote connection disconnect/reconnect might reset the video driver in a way that melt doesn’t like. If you don’t disconnect/reconnect does it finish the render with no errors?

I can actually try it but shouldn’t Melt be able to handle this either way?

EDIT: Without the hardware support and with Codec “libx264” itis working now. But takes forever to render. How can I solve this? Is there a way to deny video driver reset on disconnect?

This seems to be a common problem (google quicksync crash remote desktop) with hardware encoding, not affecting only melt. From my quick read it happens with headless processes running over RDP, try to update the intel graphics driver maybe it’ll help. Other than this try keeping the RDP open for the duration of the export if that’s feasible, or connecting a screen temporarily and start the export directly on the mini pc.

Okay, I think I found a solution with TightVNC. This is a RDP compatible viewer and dont closes the session afterwards. So no GPU-Resources are getting disposed.

Thank god :smiley:

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.