Problem with rendering HEIF image sequence

Venator wrote on 3/5/2025, 8:55 AM

Hello everyone! 


I want to make a timelapse for YouTube, so I took a photo sequence with my Sony camera, using the format HEIF 10-bit 4:2:2. Then I imported this sequence into Vegas Pro 22.0 as a sequence (so that it looks like a whole video, not individual photos). But when I start rendering (4K 60 FPS, MAGIX AVC/AAC MP4), it always fails at the same point - about 32% rendered or 46-th second of the whole 3-minute video.

Mostly it shows a pop-up “VEGAS Pro has stopped working”, but sometimes Vegas just freezes, so I have to use Task Manager to shut it down. 


I have tried several advises from the Internet, such as: 
1.    Enabling “allow legacy GPU rendering”
2.    Turning off “acceleration of video processing”
3.    Turning off real-time antivirus scan
4.    Enabling “legacy AVC decoding” and “experimental HEVC decoding”
5.    Turning off video preview while rendering


But nothing resolved or even affected the problem – rendering fails each time at the same point.

If I start rendering not from the beginning, but slightly before the failing point – Vegas successfully passes through this point but still fails later at another point.

Also, during rendering the amount of RAM used by Vegas grows rapidly and by the time of failing is about 14 Gb (my laptop has a total of 32 Gb).


Can anyone assume what can be the problem?

Comments

Reyfox wrote on 3/5/2025, 9:26 AM

Have you read this POST?

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 25.3.1

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

RogerS wrote on 3/5/2025, 7:24 PM

What build of 22 are you using? There could be a memory leak or another issue with the media decoding.

When it freezes do you get an error reporter box? Sometimes that has a useful clue.

Steve_Rhoden wrote on 3/5/2025, 11:25 PM

@Venator I would advise to try converting all your images to jpeg first, then you import as you like in Vegas.... I always make it a point of duty, that whenever i am working with images from any varied source, to batch convert them to jpeg format. That way, there will be no hiccups in Vegas.

Venator wrote on 3/6/2025, 1:16 AM

Have you read this POST?

Yes, but unfortunately didn't find a solution to my problem.

 

What build of 22 are you using? There could be a memory leak or another issue with the media decoding.

When it freezes do you get an error reporter box? Sometimes that has a useful clue.

239. Also tried to install 243, but it didn't help, so I returned to 239. About an error box - mostly it pops up, but sometimes do not and I have to shut down Vegas with Task Manager.

@Venator I would advise to try converting all your images to jpeg first, then you import as you like in Vegas.... I always make it a point of duty, that whenever i am working with images from any varied source, to batch convert them to jpeg format. That way, there will be no hiccups in Vegas.

Yes, I think converting the images to jpeg can help, but then, as I understand, these images won't be 10-bit.

RogerS wrote on 3/6/2025, 3:44 AM

Thanks for sharing the problem report- no obvious clue here (sometimes the fault module is useful). I hope you submitted the errors.

What is your GPU?

I just checked and my Sony also shoots this format. I'll try a timelapse and see if I can generate a similar error. Roughly many images do you need to have before the problems show up with rendering? (thousands? 1 minute is 3600 frames at 60fps).

Also happy to try to render your folder of images if you can make them privately available.

 

1.    Enabling “allow legacy GPU rendering”

Surprised this is still in VEGAS. Instead of this try MagixAVC with Mainconcept (CPU only) vs NVENC, etc.

2.    Turning off “acceleration of video processing”

Good to know this didn't work.

3.    Turning off real-time antivrus scan

Wouldn't expect this to do anything.

4.    Enabling “legacy AVC decoding” and “experimental HEVC decoding”

I wonder if any of this has any effect on stills decoding; I would doubt it.


5.    Turning off video preview while rendering

That's not likely to do much these days; it's no longer using GPU resources from my understanding.

Venator wrote on 3/6/2025, 4:51 AM

What is your GPU?

NVIDIA GeForce RTX 3070 Ti Laptop GPU

I just checked and my Sony also shoots this format. I'll try a timelapse and see if I can generate a similar error.

That would be great, thank you!

Roughly many images do you need to have before the problems show up with rendering? (thousands? 1 minute is 3600 frames at 60fps).

If I start rendering from the beginning, it always fails at around frame 2790 (each frame is a different image). Nothing of what I did had any effect - rendering fails strictly at that point, not earlier and not later.

Also happy to try to render your folder of images if you can make them privately available.

Yes, I can send you that folder. Would be very interesting to see if you can render it.

RogerS wrote on 3/6/2025, 9:42 AM

I'm not even able to import it as an image sequence - just got a memory error though as you can see I have plenty of VRAM and RAM available. (Using 22.243 here on my RTX 4060 laptop).

Will try again tomorrow.

john_dennis wrote on 3/6/2025, 4:45 PM

@Venator said: "... it always fails at around frame 2790..."

Try this:

  1. Use markers to divide your "3-minute video" into 30 second segments.
  2. Select the video between each of the markers and render to Apple Pro Res 422, HQ or XQ (pick your poison) naming the files Segment 1 through Segment n.
  3. Combine Segment 1 through Segment n in a new Vegas Pro project.
  4. Render the new project to your desired output file type.
  5. Report

RogerS wrote on 3/6/2025, 10:42 PM

I'm finding VEGAS (21, 22) can't read this media correctly and is getting the resolution wrong (is it only reading the thumbnail preview)?

MediaInfo says it is this but VEGAS says it's 320x180. Windows Photos also sees it as 320x180.

RogerS wrote on 3/6/2025, 10:44 PM

My recommendation until VEGAS support is fixed would be to convert them all to 16-bit TIFF or PSD which VEGAS can read without issue.

Venator wrote on 3/7/2025, 2:43 AM

@Venator said: "... it always fails at around frame 2790..."

Try this:

  1. Use markers to divide your "3-minute video" into 30 second segments.
  2. Select the video between each of the markers and render to Apple Pro Res 422, HQ or XQ (pick your poison) naming the files Segment 1 through Segment n.
  3. Combine Segment 1 through Segment n in a new Vegas Pro project.
  4. Render the new project to your desired output file type.
  5. Report

When I split my video into small fragments (about 30 seconds), I can successfully render each of these using my initial render settings (4K 60 FPS, MAGIX AVC/AAC MP4). Your render settings also work with no problems.


But when I try to render a whole video, without splitting, Vegas fails both with my and your render settings.

john_dennis wrote on 3/7/2025, 11:25 AM

If you're happy with the result of the individual renders, then recombine them and finish your project while Magix works on better support for HEIF. Since I have Photoshop open all the time, I'd probably do as @Steve_Rhoden and @RogerS suggested and get on with life.

Also, Vegas Pro has the option to render to a Still Image Sequence if you don't have a photo editor with batch processing capability.