I’m trying to use the melt to render the files exported from Shotcut, but I’m running into various issues.
This is the melt command I’m using, with all the options I’ve got :
melt - progress shotcut-iIOuUF.mlt -consumer avformat:output.mp4 vpre=veryfast preset=veryfast movflags=+faststart f=mp4 acodec=aac channels=2 ar=48000 ab=384k vcodec=h264_nvenc vglobal_quality=18 vq=18 g=15 bf=2 width=1920 height=1080 top_field_first=2 deinterlace_method=yadif rescale=bicubic threads=15
The options are taken from the temporary .mlt file, also the used .mlt file is the exported project from Shortcut.
The used options above may not be the best ones, any suggestion on how to correct them?
The time in which the project is rendered is way slower in the command line than when done in Shotcut. Any idea why that could be?
For example, a 9:13 long video is rendered in Shotcut in 5:15, but using the command line it takes 17:40
Getting some errors in the command line rendering:
h264_nvenc @ 0x7fa138201d80] [Eval @ 0x7fa140c58f30] Undefined constant or missing ‘(’ in ‘veryfast’
[h264_nvenc @ 0x7fa138201d80] Unable to parse option value “veryfast”
[h264_nvenc @ 0x7fa138201d80] Interlaced encoding is not supported. Supported level: 0
[h264_nvenc @ 0x7fa138201d80] No capable devices found
[mp4 @ 0x7fa138200f40] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp3 @ 0x7fa10fe5a080] Estimating duration from bitrate, this may be inaccurate
Hoping that these can be sorted out by somebody more knowledgable as I.
Have a build with GeForce RTX 2060 GPU and an I9-9900 CPU.
I would consider removing threads since the libraries make good guesses on their own, and there’s no reason to overly bind commands to hardware in case the hardware changes.
Is parallel processing turned on when rendering from Shotcut?
The error h264_nvenc No capable devices found makes me wonder if the unsupported settings are causing hardware encoding to fail and it reverts to libx264 software encoding. Are there any references to libx264 in the command line log file?
veryfast is not a supported quality preset for hardware. The closest is fast which is also called p2 with NVENC. See: