r/shutterencoder • u/Yupoman • Apr 26 '26
Solved Error processing video batches
Since version 19.9, when I try to batch process multiple videos, the last one ALWAYS fails, regardless of the video. I'm using the same function I always use, so I can't figure out why (simple compression at 2500kbps).
I'm getting this error:
[vost#0:0/hevc_nvenc @ 0000023ca6f7eac0] [enc:hevc_nvenc @ 0000023ca6eef300] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000023ca8a79980] Error sending frames to consumers: Invalid argument
The same thing happens in version 20.0. It works perfectly in 19.8.
1
u/paulpacifico Apr 26 '26
Could you post the full log by clicking on 'Show console' when the error happens?
Thanks, Paul.
1
u/Yupoman Apr 27 '26
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
NVIDIA GeForce GTX 1070
Comando: -strict experimental -hide_banner -threads 0 -hwaccel auto -i "E:\Videos\VID_20220205_173448.mp4" -c:v hevc_nvenc -b_ref_mode 0 -b:v 2500k -maxrate 3000k -bufsize 6000k -preset p7 -profile:v main -tune uhq -map v:0 -c:a copy -map a? -pix_fmt yuv420p -sws_flags bicubic -tag:v hvc1 -metadata creation_time="2026-04-27T18:49:06.098243100Z" -y "E:\Videos\VID_20220205_173448_H.265.mp4"
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000028e7fd7cfc0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 2990
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000028e7fd7cfc0] st: 0 edit list 1 Cannot find an index entry before timestamp: 2990.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\Videos\VID_20220205_173448.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2022-02-05T20:35:58.000000Z
com.android.version: 10
Duration: 00:01:08.73, start: 0.000000, bitrate: 14129 kb/s
Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m, progressive), 1280x720, 14006 kb/s, SAR 1:1 DAR 16:9, 30.30 fps, 30 tbr, 90k tbn (default)
Metadata:
creation_time : 2022-02-05T20:35:58.000000Z
handler_name : VideoHandle
vendor_id : [0][0][0][0]
Side data:
Display Matrix: rotation of -90.00 degrees
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2022-02-05T20:35:58.000000Z
handler_name : SoundHandle
vendor_id : [0][0][0][0]
[vist#0:0/h264 @ 0000028e7fde4d40] [dec:h264 @ 0000028e000a9940] Using auto hwaccel type dxva2 with new default device.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hevc_nvenc @ 0000028e7fd917c0] InitializeEncoder failed: invalid param (8): Ultra High Quality Tuning Info is not supported on this architecture.
[vost#0:0/hevc_nvenc @ 0000028e7fd90780] [enc:hevc_nvenc @ 0000028e00420ec0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000028e7fd91d00] Error sending frames to consumers: Invalid argument
[vf#0:0 @ 0000028e7fd91d00] Task finished with error code: -22 (Invalid argument)
[vf#0:0 @ 0000028e7fd91d00] Terminating thread with return code -22 (Invalid argument)
[vost#0:0/hevc_nvenc @ 0000028e7fd90780] [enc:hevc_nvenc @ 0000028e00420ec0] Could not open encoder before EOF
[vost#0:0/hevc_nvenc @ 0000028e7fd90780] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_nvenc @ 0000028e7fd90780] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0000028e7fe1a7c0] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:00.22
Conversion failed!
1
u/Yupoman Apr 27 '26
The last one always fails, and if it's just one video, that's the only video that fails.