VEAI hangs when exporting as images

When I try to export as PNG (or any image format for that matter), the program starts then hangs on the 7th frame, becomes unresponsive and I have to force close it.

Output to PNG hang/fail:
2021-04-13-01-29-45-Main.tzlog (41.6 KB) 2021-04-13-01-29-45-QML.tzlog (1.7 KB)

OS: Windows 10 Pro 64-bit (10.0, Build 20H2, v19042.867)
CPU: AMD Ryzen 5950X
GPU: NVIDIA GeForce RTX 3090 (Studio Driver v461.92)
Memory: 64GB RAM
SSD: Sabrent 4TB Rocket 4 PLUS NVMe 4.0 Gen4

Can you paste the output from mediainfo here?

I think it’s having a problem with the audio codec. Turn off “Keep Audio”.

Sure:

image

I turned off “Keep Audio” before it is removed when I select PNG as the output, still hangs.

Sorry, you said you tried multiple videos and it fails each time? I thought it was the high 444 profile but this is probably something file system related

I tested it with both the video I exported, which is 444 and a 480p video from YouTube. Neither worked, both hang at the 7th frame and VEAI automatically has “Not Responding” on it.

And sure, here’s the text readout:

General
Complete name : C:\Users\MainUser\Desktop\New folder (2)\ReBoot - 1x01 - The Tearing-ChromaResample.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 54.9 MiB
Duration : 4 s 0 ms
Overall bit rate : 115 Mb/s
Writing application : Lavf57.79.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L3
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 4 s 0 ms
Bit rate : 114 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 5:4
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 10.963
Stream size : 54.9 MiB (100%)
Writing library : x264 core 157 r2935M 545de2f
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0
Color range : Limited
Matrix coefficients : BT.470 System B/G
Codec configuration box : avcC

Is any part of the output file written? Can you try to create a text file with the same name in the same path you are attempting to output?

Can you attempt to output to ProRes and send me the end of the log. Your log for the mp4 output shows

"Thread ID: 0x2a40b831070 TVideoWriter: Unkown Exception setting video options. "h264" 1 / 1 QSize(1440, 1152) 14391663"

AND

> 2021-04-13T01:12:05.321 [Debug ] < line #: 0> Thread ID: 0x2a40b831070 TBackend::setErrorMessage(): "V<!>CannotOpenOutput<!>C:/Users/MainUser/Desktop/ReBoot/New folder/ReBoot - 1x01 - The Tearing-ChromaResample_2.00x_1440x1152_ahq-11.mp4<!> "

So I was thinking maybe it can’t write to the output but it can read from it?

About your source. I notice it’s 4:4:4 and 10bit color but an SD resolution, this is very unusual. Your QP is also set to 0 so can I assume your source output was set to lossless h264?

I don’t know if setting 10bit color before performing a restoration, especially if the destination isn’t HDR. The 4:4:4 is doable with image outputs but the prores is HQ422 8bit. so you’ll get a conversion there.

Shout out for using lossless h264 though!

No, only thing VEAI creates is the folder for the images. No frames are saved in that directory.

Sure, I encoded with ProRes and here’s the end of that log:

2021-04-13T05:34:25.762 [Debug ] < line #: 0> Thread ID: 0x1e8ac4d18a0 TVideoWriter::open: QUrl(“file:///C:/Users/MainUser/Desktop/New folder (2)”) QSize(1440, 1152) 3 “C:/Users/MainUser/Desktop/New folder (2)”
2021-04-13T05:34:25.762 [Debug ] < line #: 0> Thread ID: 0x1e8ac4d18a0 OUTPUTPATH “C:/Users/MainUser/Desktop/New folder (2)”
2021-04-13T05:34:25.762 [Debug ] < line #: 0> Thread ID: 0x1e8ac4d18a0 ----- TVideoWriter::open seq folder: QDir( “C:/Users/MainUser/Desktop/New folder (2)” , nameFilters = { “*” }, QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) ) C:/Users/MainUser/Desktop/New folder (2)
2021-04-13T05:34:25.765 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 2 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:25.765 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:25.795 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 1 Frame: " 47 ms
2021-04-13T05:34:25.858 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 92 ms
2021-04-13T05:34:25.871 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 3 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:25.871 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:25.908 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 2 Frame: " 51 ms
2021-04-13T05:34:25.939 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 83 ms
2021-04-13T05:34:25.963 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 4 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:25.963 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:25.997 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 3 Frame: " 43 ms
2021-04-13T05:34:26.028 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 77 ms
2021-04-13T05:34:26.050 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 5 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:26.050 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:26.086 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 4 Frame: " 43 ms
2021-04-13T05:34:26.118 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 77 ms
2021-04-13T05:34:26.137 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 6 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:26.137 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:26.165 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 5 Frame: " 42 ms
2021-04-13T05:34:26.213 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 75 ms
2021-04-13T05:34:26.222 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 7 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:26.222 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:26.262 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 6 Frame: " 43 ms
2021-04-13T05:34:26.296 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 73 ms
2021-04-13T05:34:26.305 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 8 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:26.305 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:26.343 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 7 Frame: " 41 ms
2021-04-13T05:34:26.379 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 74 ms
2021-04-13T05:34:26.388 [Debug ] < line #: 0> Thread ID: 0x1e8af3fa6e0 FRAME: 9 TAG: “–PREVIEW --SAVE”
2021-04-13T05:34:26.388 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Deinterlace Frame: 0 ms
2021-04-13T05:34:26.429 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 8 Frame: " 46 ms
2021-04-13T05:34:26.477 [Info ] < line #: 0> Thread ID: 0x1e8af3fa6e0 Process Frame: 89 ms
2021-04-13T05:34:26.520 [Info ] < line #: 0> Thread ID: 0x1e8c16a18f0 "Post Process Output 9 Frame: " 37 ms

I’m not sure why I can get it to output to video fine, but images aren’t working. Brand new computer as well…

Yes, I have a script setup to use it and also VirtualDub2 is set to export with those settings. I know SD with 10bit is generally not needed, but I’m trying to setup the video with the best settings possible before upscaling.

Maybe none of that is really needed… Not sure.

That said, even with the settings changed to 4:2:0, not lossless, or 10bit, the exporting to images fails (hangs exactly on the 7th frame, as all the other videos).

I should note that I’m able to export frames from video via VirtualDub2 to the same location as VEAI is attempting to do.

Ah sorry I thought you meant encode the pre-upscale video to ProRes. Sorry late night… misread.

At this point though I’m able to export video, but I cannot export the frames to images. So H264 or ProRes isn’t the issue I think?

So you are able to output to mov and mp4 now but you weren’t able to when you earlier. What did you change? Could you send the log files when attempting to output to an image format?

Ironically enough all I had to do was click on the “Out” directory/file name and manually type in a name for the video file. If I don’t do that I get the write error. Very strange really!

As for the logs for outputting to image format, I have them in the first post.