I’m trying to use the melt to render the files exported from Shotcut.
Having the .mlt project file would like to have a command-line command which renders the .mlt for preview as a fullHD, this will save some time on rendering.
When all the edits are done and the project is approved would be good to have another command line that renders the same .mlt at the final 4K resolution.
For fullHD this command is working for me:
melt - progress shotcut-iIOuUF.mlt -consumer avformat:output-hd.mp4 vpre=veryfast preset=fast movflags=+faststart f=mp4 acodec=aac channels=2 ar=48000 ab=384k vcodec=h264_nvenc
qp=18 vq=18 g=15 bf=2 width=1920 height=1080
For 4k I have modified this to:
melt - progress shotcut-iIOuUF.mlt -consumer avformat:output-4k.mp4 vpre=veryfast preset=fast movflags=+faststart f=mp4 acodec=aac channels=2 ar=48000 ab=384k vcodec=h264_nvenc
qp=18 vq=18 g=15 bf=2 width=3840 height=2160
[ this would be ideal ]
This says that:
[h264_nvenc @ 0x7f150c201d80] Interlaced encoding is not supported. Supported level: 0
[h264_nvenc @ 0x7f150c201d80] No capable devices found
also the rendered output-4k.mp4 doesn’t have any video in it.
Have missed the preset=veryfast, changed to preset=fast.
When I’ve added the progressive=1 the sound became choppy, so dropped that one.
From what I found out, having vpre doesn’t hurt at all, can live with preset
This shouldn’t be related to interlace vs progressive. Something else may be in play, like 60.00 vs 59.94 fps, although even that is a stretch. Are any of the source clips from cell phones that weren’t converted to edit-friendly? Choppy audio is typical of VFR files.
It doesn’t provided it matches preset if both are specified. If they are in conflict, results could be unpredictable.