Compression failed in a few seconds with no output files or error dialog
I try to compress a DJI mp4 video but the process ends in a few seconds. It switches to a small dialog with 2 quick click sounds and also a very short music, then it switches back to the big dialog with compression options. No output files found in the specified output dir. No error dialog or log files. What's the problem here?
Which function are you using? What are your settings? Can you send me the log by right-clicking on the 'Progress status' section then 'Show console' after running the function?
Paul.
Which function are you using? What are your settings? Can you send me the log by right-clicking on the 'Progress status' section then 'Show console' after running the function?
Paul.
Sure, but I'm using Win10 in Chinese. Although I change the language of Shutter Encoder to English, it still prints characters in the wrong encoding as below
Command: -strict -2 -hide_banner -threads 0 -hwaccel none -i "xxx.MP4" -r 30000/1001 -c:v libx265 -b:v 2997k -profile:v main -filter_complex "[0:v]scale=1920:1080[out]" -map "[out]" -c:a aac -ar 48k -b:a 256k -map a? -pix_fmt yuv420p -sws_flags bicubic -tag:v hvc1 -metadata creation_time="2025-04-06T10:31:30.186845900Z" -y "xxx_1.mp4"
ϵͳ�Ҳ���ָ����·����
I'll try changing the OS language later to see if there is any difference.
Which function are you using? What are your settings? Can you send me the log by right-clicking on the 'Progress status' section then 'Show console' after running the function?
Paul.
Please see to the full log below. Line number 76 is the FIRST and ONLY attempt to convert the mp4. I don't know why there are 3 "conversion failed" logs ahead of it. And such error log doesn't show up again after the failed attempt.
-strict -2 -v quiet -hide_banner -ss 0ms -i "D:\xxx.MP4" -vf "scale=684:384:sws_flags=bilinear:sws_dither=none" -r 29.97 -c:v bmp -an -f image2pipe -
Input #0, lavfi, from 'nullsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> hevc (hevc_nvenc))
Press [q] to stop, [?] for help
[hevc_nvenc @ 000002a4d7c12940] Driver does not support the required nvenc API version. Required: 13.0 Found: 12.2
[hevc_nvenc @ 000002a4d7c12940] The minimum required Nvidia driver for nvenc is 570.0 or newer
[vost#0:0/hevc_nvenc @ 000002a4d7c12400] [enc:hevc_nvenc @ 000002a4d7c104c0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 000002a4d7c2d880] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 000002a4d7c2d880] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000002a4d7c2d880] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/hevc_nvenc @ 000002a4d7c12400] [enc:hevc_nvenc @ 000002a4d7c104c0] Could not open encoder before EOF
[vost#0:0/hevc_nvenc @ 000002a4d7c12400] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_nvenc @ 000002a4d7c12400] Terminating thread with return code -22 (Invalid argument)
[out#0/null @ 000002a4d7bef280] 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
Conversion failed!
Input #0, lavfi, from 'nullsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> hevc (hevc_qsv))
Press [q] to stop, [?] for help
[hevc_qsv @ 000001d86f272840] Using the constant quantization parameter (CQP) by default. Please use the global_quality option and other options for a quality-based mode or the b option and other options for a bitrate-based mode if the default is not the desired choice.
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf61.9.108
Stream #0:0: Video: hevc, nv12(tv, progressive), 640x360 [SAR 3:4 DAR 4:3], q=2-31, 25 fps, 25 tbn
Metadata:
encoder : Lavc61.33.102 hevc_qsv
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[out#0/null @ 000001d86f24f000] video:1KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame= 25 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.84 bitrate=N/A speed=2.26x
Input #0, lavfi, from 'nullsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> hevc (hevc_amf))
Press [q] to stop, [?] for help
[AVHWDeviceContext @ 000002065d8421c0] DLL amfrt64.dll failed to open
[hevc_amf @ 000002065d412840] Failed to create hardware device context (AMF) : Unknown error occurred
[vost#0:0/hevc_amf @ 000002065d412300] [enc:hevc_amf @ 000002065d40fc00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 000002065d412dc0] Error sending frames to consumers: Unknown error occurred
[vf#0:0 @ 000002065d412dc0] Task finished with error code: -1313558101 (Unknown error occurred)
[vf#0:0 @ 000002065d412dc0] Terminating thread with return code -1313558101 (Unknown error occurred)
[vost#0:0/hevc_amf @ 000002065d412300] [enc:hevc_amf @ 000002065d40fc00] Could not open encoder before EOF
[vost#0:0/hevc_amf @ 000002065d412300] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_amf @ 000002065d412300] Terminating thread with return code -22 (Invalid argument)
[out#0/null @ 000002065d3eebc0] 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
Conversion failed!
Input #0, lavfi, from 'nullsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> hevc (hevc_vulkan))
Press [q] to stop, [?] for help
[hevc_vulkan @ 000002b622166100] Device does not support the VK_KHR_video_encode_queue extension!
[vost#0:0/hevc_vulkan @ 000002b622148640] [enc:hevc_vulkan @ 000002b622164540] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 000002b622166480] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 000002b622166480] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000002b622166480] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/hevc_vulkan @ 000002b622148640] [enc:hevc_vulkan @ 000002b622164540] Could not open encoder before EOF
[vost#0:0/hevc_vulkan @ 000002b622148640] Task finished with error code: -22 (Invalid argument)
[vost#0:0/hevc_vulkan @ 000002b622148640] Terminating thread with return code -22 (Invalid argument)
[out#0/null @ 000002b62213c6c0] 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
Conversion failed!
-strict -2 -v quiet -hide_banner -ss 0ms -i "D:\xxx.MP4" -vf "scale=1920:1080,scale=684:384:sws_flags=bilinear:sws_dither=none" -r 29.97 -c:v bmp -an -f image2pipe -
Command: -strict -2 -hide_banner -threads 0 -hwaccel none -i "D:\xxx.MP4" -r 30000/1001 -c:v libx265 -b:v 2997k -profile:v main -filter_complex "[0:v]scale=1920:1080[out]" -map "[out]" -c:a aac -ar 48k -b:a 256k -map a? -pix_fmt yuv420p -sws_flags bicubic -tag:v hvc1 -metadata creation_time="2025-04-06T13:15:57.300075600Z" -y "D:\xxx_1.mp4"
The system cannot find the path specified.
The error is caused by the path name, can you try with a path that does not contains Chinese characters?
The error is caused by the path name, can you try with a path that does not contains Chinese characters?
Actually the full path is D:\xxx.MP4 where xxx is just [A-Za-z0-9_]+