Codec Problems / Process does not start

Hello,

Sorry about my bad English, my english is not very good. I am from germany.

I have a problem with converting a .mkv video to an .mp4 video. I used a Nvidea GPU in my pc. First i configure shotcut to use this GPU. I use auto config an shotcut give me thumb up für the H264_nevenc Codec and some other NVIDIA Codecs.

But when i start to convert, Shotcut Abortes the process before it began. When i use the 264libx Codec, all work Fine.

But i dont want use this Codec.

Can anyone help?

Thanks,

Sven

Maybe your graphic card is too old.

Right click on the failed job and click on View log

KE7zRN6ekn

Check if you get these entries:

If you can’t update your Nvidia drivers to at least version 522.25, and/or nvenc API to version 12, one solution is to disable Use hardware encoder
lfKvV7lxIt

See this discussion:

1 Like

Hello and good morning.

I have tried and figured out follolwing log entry:

[h264 @ 0000015cafa1e040] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264_nvenc @ 0000015caf9d3ec0] Loaded Nvenc version 12.2
[h264_nvenc @ 0000015caf9d3ec0] Nvenc initialized successfully
[h264 @ 0000015cafa1e040] mmco: unref short failure
[h264 @ 0000015cafa1e040] mmco: unref short failure
[h264 @ 0000015cafa1e040] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264_nvenc @ 0000015caf9d3ec0] 1 CUDA capable devices found
[h264_nvenc @ 0000015caf9d3ec0] [ GPU #0 - < NVIDIA GeForce RTX 4070 Ti > has Compute SM 8.9 ]
[h264 @ 0000015cafa1e040] mmco: unref short failure
[h264 @ 0000015cafa1e040] mmco: unref short failure
[h264 @ 0000015cafa1e040] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015cafa1e040] Increasing reorder buffer to 1
[h264 @ 0000015cafa1e040] mmco: unref short failure
[h264 @ 0000015cafa1e040] mmco: unref short failure
[h264 @ 0000015cafa1e040] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015cafa1e040] Increasing reorder buffer to 2
[h264 @ 0000015caf9a6c80] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000015caf9a6c80] mmco: unref short failure
[h264 @ 0000015caf9a6c80] mmco: unref short failure
[h264 @ 0000015caf9a6c80] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015caf9a6c80] mmco: unref short failure
[h264 @ 0000015caf9a6c80] mmco: unref short failure
[h264 @ 0000015caf9a6c80] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015caf9a6c80] Increasing reorder buffer to 1
[h264 @ 0000015caf9a6c80] mmco: unref short failure
[h264 @ 0000015caf9a6c80] mmco: unref short failure
[h264 @ 0000015caf9a6c80] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015caf9a6c80] Increasing reorder buffer to 2
[h264 @ 0000015caf9a7080] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000015caf9a7080] mmco: unref short failure
[h264 @ 0000015caf9a7080] mmco: unref short failure
[h264 @ 0000015caf9a7080] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264_nvenc @ 0000015caf9d3ec0] Interlaced encoding is not supported. Supported level: 0
[h264 @ 0000015caf9a7080] mmco: unref short failure
[h264 @ 0000015caf9a7080] mmco: unref short failure
[h264 @ 0000015caf9a7080] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015caf9a7080] Increasing reorder buffer to 1
[h264 @ 0000015caf9a7080] mmco: unref short failure
[h264 @ 0000015caf9a7080] mmco: unref short failure
[h264 @ 0000015caf9a7080] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264_nvenc @ 0000015caf9d3ec0] No capable devices found
[h264_nvenc @ 0000015caf9d3ec0] Nvenc unloaded
[h264 @ 0000015caf9a7080] Increasing reorder buffer to 2
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 6 max_channels 6
[AVIOContext @ 0000015caf5cee80] Statistics: 710314 bytes read, 5 seeks
[chain avformat-novalidate] C:/Users/Anwender/Desktop/Test.mkv
checking VFR: pkt.duration 20
[link swresample] 6(5.1(side)) f32le 48000Hz → 2(stereo) f32le 48000Hz
[h264 @ 0000015caf9a7880] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000015caf9a7c80] mmco: unref short failure
[h264 @ 0000015caf9a7c80] mmco: unref short failure
[h264 @ 0000015caf9a7c80] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015caf9a5480] mmco: unref short failure
[h264 @ 0000015caf9a5480] mmco: unref short failure
[h264 @ 0000015caf9a5480] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0000015caf9a5880] mmco: unref short failure
[h264 @ 0000015caf9a5880] mmco: unref short failure
[h264 @ 0000015caf9a5880] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
Failed with exit code -1073741819
Failed with exit code -1073741819

I also have tried to disable hardware encoding. Same problem. It does not start.

My Graphic Card is a Nvidia GeForce RTX 4070 Ti. Version of game ready driver are 551.61

Did u have any other idea to solve this problem?

Best regards

Sven

Sorry, but no. I’m not familiar with this kind of failure. But no worries, I’m sure someone else will be able to help you with that.

I think this is a reason. Try with Export > Advanced > Video > Scan mode = Progressive.

Where can i find this? I dont have such a menu.

I find it and it will work!

Thank you very much!