"Use Hardware Encoder" on Dell Inspiron Laptop


#1

I’ve attempted to ‘Use Hardware Encoder’ with 18.11.13 on my Dell Inspiron 5000 laptop. The result is no video (black screen) and just audio. I’ve attempted to try to force Shotcut to use both graphics adapters (NVIDIA and Intel) ut none of the combinations I’ve tried will work. This is Windows 10.

Am I missing something obvious? Or is this just not an option for me?

Thanks,

John


Hardware Encoding - Not Found
#2

This is a work-in-progress, and there is a lot of different hardware. Also, it is not guaranteed to work on all hardware. Sometimes, a hardware implementation does not work with Shotcut’s default encode parameters.

You need to let the automatic configuration do its job and report its findings. Then, run an export job and upload to here both the job XML and its log to help me diagnose it further. To redo the automatic configuration:

  1. click OFF Use hardware encoder
  2. click Configure…
  3. deselect all options and click OK
  4. click ON Use hardware encoder
  5. click Configure…
  6. report what appears selected

#3

Originally just h264.nvenc (which I use with OBS) was checked.

I’m not quite understanding this either. So I followed your instructions.
shotcut181113_2018-11-14_14-44-26
shotcut181113_2018-11-14_14-44-48
I didn’t check any of the boxes, they check marked themselves.
Should I leave them all checked?

i7-7700k, GTX1070, 32gb ram


#4

No, because which one is picked when switching from libx264 or libx265 will not be obvious: It uses the first one found in the list you show, which should be the value stored in the configuration file/registry. I am a little surprised amf worked for you because you did not indicate that you have AMD hardware. I recommend that you use the manual overrides to select only _nvenc or _qsv codecs, make some tests, and decide which you like best. Then, use the manual configuration to keep it locked into your preference.


#5

I haven’t tried to export anything yet with the new version, just have it installed. I’ll set it back to what it first had, h264 nvenc.

My motherboard is a ASUS ROG Maximus IX Hero Z270 LGA1151 DDR4 if that helps determine anything. No AMD hardware, just one graphics card. Unless my monitor is showing up as an AMD device.

My monitor is this: Samsung C27FG70 27” Curved Quantum Dot 1ms (MPRT) 144hz sRGB 125% AMD FreeSync Gaming Monitor 1920 x 1080 HDMI, then I have an older 24" LED/LCD monitor from ASUS 60Hz.


#6

Thanks for looking at this! I ran a very simple job and got the same result as Hudson555x. Automatic Config selected all options.

I do not see a way to upload a zip file so will paste the log content and the mlt content. Sorry if this is a bonehead move! Will post is separate relies.


#7

THE LOG:

log file

[Info ] Application::Application Starting Shotcut version 18.11.13
[Info ] Application::Application Windows version 192
[Info ] Application::Application number of logical cores = 4
[Info ] Application::Application locale = QLocale(English, Latin, UnitedStates)
[Info ] Application::Application install dir = “C:/Program Files/Shotcut”
[Info ] Application::Application device pixel ratio = 1
[Debug ] ShotcutSettings::log language “en”
[Debug ] ShotcutSettings::log deinterlacer “yadif”
[Debug ] ShotcutSettings::log external monitor “”
[Debug ] ShotcutSettings::log GPU processing false
[Debug ] ShotcutSettings::log interpolation “hyper”
[Debug ] ShotcutSettings::log video mode “atsc_1080p_2997”
[Debug ] ShotcutSettings::log realtime true
[Debug ] ShotcutSettings::log audio channels 2
[Debug ] ShotcutSettings::log display method 0
[Debug ] MainWindow::changeTheme begin
[Debug ] MainWindow::changeTheme end
[Debug ] MainWindow::MainWindow begin
[Debug ] Mlt::Controller::Controller begin
[Info ] plugin_mgr_get_object_file_plugins: error opening shared object file ‘C:\Program Files\Shotcut\lib\ladspa/AUTHORS’: “C:\Program Files\Shotcut\lib\ladspa\AUTHORS”: The specified module could not be found.
[Info ] plugin_mgr_get_object_file_plugins: error opening shared object file ‘C:\Program Files\Shotcut\lib\ladspa/COPYING’: “C:\Program Files\Shotcut\lib\ladspa\COPYING”: The specified module could not be found.
[Info ] plugin_mgr_get_object_file_plugins: error opening shared object file ‘C:\Program Files\Shotcut\lib\ladspa/readme.txt’: “C:\Program Files\Shotcut\lib\ladspa\readme.txt”:
[Debug ] Mlt::Controller::Controller end
[Debug ] Mlt::GLWidget::GLWidget begin
[Debug ] Mlt::GLWidget::GLWidget end
[Debug ] MainWindow::setupSettingsMenu begin
[Warning] [ 0x9f82140] The DeckLink drivers not installed.
[Debug ] MainWindow::setupSettingsMenu end
[Debug ] MainWindow::readPlayerSettings begin
[Debug ] MainWindow::setAudioChannels 2
[Debug ] Mlt::Controller::setAudioChannels 2
[Debug ] MainWindow::readPlayerSettings end
[Debug ] MainWindow::configureVideoWidget begin
[Debug ] MainWindow::setProfile “atsc_1080p_2997”
[Debug ] Mlt::Controller::setProfile setting to profile “atsc_1080p_2997”
[Debug ] MainWindow::setAudioChannels 2
[Debug ] Mlt::Controller::setAudioChannels 2
[Debug ] MainWindow::configureVideoWidget end
[Debug ] ScopeController::ScopeController begin
[Debug ] ScopeWidget::ScopeWidget begin true
[Debug ] ScopeWidget::ScopeWidget end
[Debug ] AudioLoudnessScopeWidget::AudioLoudnessScopeWidget begin
[Debug ] AudioLoudnessScopeWidget::AudioLoudnessScopeWidget end
[Debug ] ScopeDock::ScopeDock begin
[Debug ] ScopeDock::ScopeDock end
[Debug ] ScopeWidget::ScopeWidget begin true
[Debug ] ScopeWidget::ScopeWidget end
[Debug ] AudioPeakMeterScopeWidget::AudioPeakMeterScopeWidget begin
[Debug ] AudioPeakMeterScopeWidget::AudioPeakMeterScopeWidget end
[Debug ] ScopeDock::ScopeDock begin
[Debug ] ScopeDock::ScopeDock end
[Debug ] ScopeWidget::ScopeWidget begin true
[Debug ] ScopeWidget::ScopeWidget end
[Debug ] AudioSpectrumScopeWidget::AudioSpectrumScopeWidget begin
[Debug ] AudioSpectrumScopeWidget::AudioSpectrumScopeWidget end
[Debug ] ScopeDock::ScopeDock begin
[Debug ] ScopeDock::ScopeDock end
[Debug ] ScopeWidget::ScopeWidget begin true
[Debug ] ScopeWidget::ScopeWidget end
[Debug ] AudioWaveformScopeWidget::AudioWaveformScopeWidget begin
[Debug ] AudioWaveformScopeWidget::AudioWaveformScopeWidget end
[Debug ] ScopeDock::ScopeDock begin
[Debug ] ScopeDock::ScopeDock end
[Debug ] ScopeWidget::ScopeWidget begin true
[Debug ] ScopeWidget::ScopeWidget end
[Debug ] VideoWaveformScopeWidget::VideoWaveformScopeWidget begin
[Debug ] VideoWaveformScopeWidget::VideoWaveformScopeWidget end
[Debug ] ScopeDock::ScopeDock begin
[Debug ] ScopeDock::ScopeDock end
[Debug ] ScopeController::ScopeController end
[Debug ] RecentDock::RecentDock begin
[Debug ] RecentDock::RecentDock end
[Debug ] PlaylistDock::PlaylistDock begin
[Debug ] PlaylistDock::PlaylistDock end
[Debug ] TimelineDock::TimelineDock begin
[Debug ] TimelineDock::TimelineDock end
[Debug ] FiltersDock::FiltersDock begin
[Debug ] FiltersDock::FiltersDock end
[Debug ] KeyframesDock::KeyframesDock begin
[Debug ] KeyframesDock::KeyframesDock end
[Debug ] EncodeDock::EncodeDock begin
[Debug ] EncodeDock::EncodeDock end
[Debug ] JobsDock::JobsDock begin
[Debug ] JobsDock::JobsDock end
[Debug ] MainWindow::readWindowSettings begin
[Debug ] MainWindow::readWindowSettings end
[Debug ] LeapNetworkListener::start begin
[Debug ] MainWindow::MainWindow end
[Debug ] Database::run Database version is 1
[Debug ] FiltersDock::resetQview begin
[Debug ] KeyframesDock::load begin
[Warning] <> libpng warning: iCCP: known incorrect sRGB profile
[Debug ] FilterController::loadFilterMetadata reading filter metadata “alpha_adjust” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Alpha Channel: Adjust”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “alpha_view” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Alpha Channel: View”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_balance” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Balance”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_bandpass” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Band Pass”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_basstreble” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Bass & Treble”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_channelcopy” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Copy Channel”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_compressor” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Compressor”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_delay” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Delay”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_expander” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Expander”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_fadein” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Fade In Audio”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_fadeout” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Fade Out Audio”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_gain” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Gain / Volume”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_highpass” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “High Pass”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_limiter” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Limiter”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_lowpass” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Low Pass”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_mono” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Downmix”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_mute” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Mute”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_normalize_1p” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Normalize: One Pass”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_normalize_2p” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Normalize: Two Pass”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_notch” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Notch”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_pan” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Pan”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_reverb” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Reverb”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “audio_swapchannels” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Swap Channels”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “bluescreen0r” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Chroma Key: Simple”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “blur” “meta_boxblur.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Blur”
[Debug ] QmlKeyframesMetadata::checkVersion MLT version: “3” Shotcut minimumVersion: “3”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “blur” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Blur”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “brightness” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Brightness”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “brightness” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Brightness”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “color” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Color Grading”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “color” “meta_frei0r_coloradj.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Color Grading”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “color” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Color Grading”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “contrast” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Contrast”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “contrast” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Contrast”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “crop” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Crop”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “crop” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Crop”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “dust” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Old Film: Dust”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “dynamictext” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Text”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “fadein_brightness” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Fade In Video”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “fadein_movit” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Fade In Video”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “fadeout_brightness” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Fade Out Video”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “fadeout_movit” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Fade Out Video”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “glow” “meta_frei0r.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Glow”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “glow” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Glow”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “grain” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Old Film: Grain”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “hue_lightness_saturation” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Hue/Lightness/Saturation”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “invert” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Invert Colors”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “keyspillm0pup” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Key Spill: Advanced”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “lenscorrection” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Lens Correction”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “lines” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Old Film: Scratches”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “lut3d” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “LUT (3D)”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “mask” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Mask”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “mirror” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Mirror”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “mirror” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Mirror”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “mosaic” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Mosaic”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “movit_diffusion” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Diffusion”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “oldfilm” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Old Film: Projector”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “opacity” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Opacity”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “opacity” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Opacity”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “rotate” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Rotate and Scale”
[Debug ] QmlKeyframesMetadata::checkVersion MLT version: “3” Shotcut minimumVersion: “3”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “saturation” “meta_frei0r.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Saturation”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “saturation” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Saturation”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “select0r” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Chroma Key: Advanced”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “sepia” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Sepia Tone”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “sharpen” “meta_frei0r.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Sharpen”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “sharpen” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Sharpen”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “size_position” “meta_affine.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Size and Position”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “size_position” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Size and Position”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “sketch” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Sketch”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “smartblur” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Reduce Noise”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “spectrum” “meta_spectrum.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Audio Spectrum Visualization”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “spillsuppress” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Key Spill: Simple”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “spot_remover” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Spot Remover”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “stabilize” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Stabilize”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “tcolor” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Old Film: Technocolor”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “timer” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Timer”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “unpremultiply” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Unpremultiply Alpha”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “vignette” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Vignette”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “vignette” “meta_oldfilm.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Vignette”
[Debug ] QmlKeyframesMetadata::checkVersion MLT version: “1.0” Shotcut minimumVersion: “1.0”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “wave” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Wave”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “webvfx” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Overlay HTML”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “webvfx_circular_frame” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Circular Frame (HTML)”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “webvfx_ruttetraizer” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “Rutt-Etra-Izer (HTML)”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “webvfx_threejs_text” “meta.qml”
[Debug ] FilterController::loadFilterMetadata added filter “3D Text (HTML)”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “white” “meta_frei0r.qml”
[Debug ] FilterController::loadFilterMetadata added filter “White Balance”
[Debug ] FilterController::loadFilterMetadata reading filter metadata “white” “meta_movit.qml”
[Debug ] FilterController::loadFilterMetadata added filter “White Balance”
[Info ] MainWindow::showStatusMessage “Checking for upgrade…”
[Warning] <> libpng warning: iCCP: profile ‘icc’: 'RGB ': RGB color space not permitted on grayscale PNG
[Debug ] MainWindow::onUpgradeCheckFinished response: “{\n “version_number”: 181113,\n “version_string”: “18.11.13”,\n “url”: “https://shotcut.org/blog/new-release-181113/"\n}\n"
[Info ] MainWindow::showStatusMessage “You are running the latest version of Shotcut.”
[Debug ] MainWindow::open “C:/Users/johnve/AppData/Local/Meltytech/Shotcut/untitled.mlt”
[Debug ] MltXmlChecker::MltXmlChecker decimal point ‘.’
[Debug ] MltXmlChecker::check begin
[Debug ] MltXmlChecker::check end
[Debug ] LeapNetworkListener::onDisconnected Disconnected from Leap Motion
[Debug ] LeapNetworkListener::onError Leap Motion WebSocket error: “Connection refused”
[Debug ] Mlt::Controller::setProjectFolder project folder “C:/Users/johnve/Videos/EdmondsTrain1080”
[Debug ] MainWindow::setProfile “atsc_1080p_2997”
[Debug ] Mlt::Controller::setProfile setting to profile “atsc_1080p_2997”
[Debug ] MainWindow::setProfile “”
[Debug ] Mlt::Controller::setProfile setting to profile “Automatic”
[Info ] MainWindow::showStatusMessage “Saved C:/Users/johnve/Videos/EdmondsTrain1080/EdmondsTrain1080.mlt”
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] MainWindow::open “C:/Users/johnve/Videos/20181107132648.mp4”
[Debug ] MltXmlChecker::MltXmlChecker decimal point ‘.’
[Debug ] MltXmlChecker::check begin
[Debug ] MltXmlChecker::check end
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] [producer avformat] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] MainWindow::setAudioChannels 2
[Debug ] Mlt::Controller::setAudioChannels 2
[Debug ] [producer avformat-novalidate] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat-novalidate] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat-novalidate] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] [producer avformat-novalidate] “C:/Users/johnve/Videos/20181107132648.mp4” checking VFR: pkt.duration %I64d
[Debug ] Mlt::GLWidget::initializeGL begin
[Info ] Mlt::GLWidget::initializeGL OpenGL vendor “NVIDIA Corporation”
[Info ] Mlt::GLWidget::initializeGL OpenGL renderer “GeForce 920M/PCIe/SSE2”
[Info ] Mlt::GLWidget::initializeGL OpenGL threaded? true
[Info ] Mlt::GLWidget::initializeGL OpenGL ES? false
[Debug ] Mlt::GLWidget::initializeGL end
[Info ] MainWindow::open “C:/Users/johnve/Videos/20181107132648.mp4”
[Info ] Failed to open audio device: XAudio2: XAudio2Create() failed at open.
[Info ] [sdl2] Try alternative driver: xaudio2
[Debug ] Playlist::AppendCommand::redo
[Info ] [consumer sdl2_audio] Audio Opened: driver=xaudio2 channels=2 frequency=48000
[Debug ] [consumer sdl2_audio] dropped video frame 1
[Info ] AvformatProducerWidget::onFrameDecoded “C:\Users\johnve\Videos\20181107132648.mp4” is variable frame rate
[Debug ] [consumer sdl2_audio] dropped video frame 2
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] Playlist::AppendCommand::redo
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] Function autosaveTask finished in 5 ms.
[Debug ] [producer avformat] “C:/Users/johnve/Videos/20181107132648.mkv” checking VFR: pkt.duration %I64d
[Info ] MainWindow::showStatusMessage “Saved C:/Users/johnve/Videos/EdmondsTrain1080/EdmondsTrain1080.mlt”
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] [producer avformat-novalidate] “C:/Users/johnve/Videos/20181107132648.mkv” checking VFR: pkt.duration %I64d
[Debug ] Timeline::OverwriteCommand::redo trackIndex 0 position -1
[Debug ] [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug ] [mlt_producer avformat-novalidate] “C:/Users/johnve/Videos/20181107132648.mkv” checking VFR: pkt.duration %I64d
[Debug ] TimelineDock::setSelection Changing selection to (0) trackIndex -1 isMultitrack false
[Warning] <> libpng warning: iCCP: known incorrect sRGB profile
[Info ] MainWindow::showStatusMessage “Saved C:/Users/johnve/Videos/EdmondsTrain1080/EdmondsTrain1080.mlt”
[Info ] MainWindow::showStatusMessage “Detecting hardware encoders…”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_nvenc”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_nvenc”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_amf”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_amf”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_qsv”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_qsv”
[Info ] MainWindow::showStatusMessage “Found h264_nvenc, hevc_nvenc, h264_amf, hevc_amf, h264_qsv, hevc_qsv”
[Info ] MainWindow::showStatusMessage “Detecting hardware encoders…”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_nvenc”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_nvenc”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_amf”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_amf”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_qsv”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_qsv”
[Info ] MainWindow::showStatusMessage “Found h264_nvenc, hevc_nvenc, h264_amf, hevc_amf, h264_qsv, hevc_qsv”
[Info ] MainWindow::showStatusMessage “Detecting hardware encoders…”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_nvenc”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_nvenc”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_amf”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_amf”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “h264_qsv”
[Debug ] EncodeDock::on_hwencodeCheckBox_clicked checking for “hevc_qsv”
[Info ] MainWindow::showStatusMessage “Found h264_nvenc, hevc_nvenc, h264_amf, hevc_amf, h264_qsv, hevc_qsv”
[Debug ] EncodeDock::on_encodeButton_clicked 631716683776 bytes available on “OS”
[Debug ] MeltJob::start “C:/Program Files/Shotcut/qmelt.exe” (”-verbose”, “-progress2”, “-abort”, “C:/Users/johnve/AppData/Local/Temp/shotcut-Qe9660.mlt?multi:1”)
[Info ] AbstractJob::onFinished job succeeeded


#8

Pasting the MLT was a bad idea. I will try to post a zip file. EdmondsTrain1080.zip (3.3 MB)


#9

Using H264 NVENC got a black video.
Shotcut 18.11.13 64Bit
Windows 10 Home

Audio is all there.

shotcut181113_2018-11-14_17-02-55 h264nvenc_test_export_log.txt (3.7 KB)
test181113x1.mlt (5.4 KB)

Had a driver update today.
NVIDIA_GeForce_Experience_2018-11-14_17-00-32

NVIDIA_GeForce_Experience_2018-11-14_17-01-01

And I did an export without Hardware Encoding (YouTube preset), and everything worked fine.
shotcut181113_2018-11-14_16-56-46

Update:
None of the H264 Hardware Encoding worked for me.
All of the HEVC Hardware Encoding did work for me.
I tested each one, one at a time.

Other export logs

All using the YouTube preset.
h264amf_test_export_log.txt (1.5 KB)
h264qsv_test_export_log.txt (1.5 KB)
hevc_amf_test_export_log.txt (3.6 KB)
hevc_nvenc_test_export_log.txt (3.7 KB)
hevc_qsv_test_export_log.txt (3.7 KB)

Update #2: Using the YouTube preset, none of the H264 encoding works, while the HEVC does.
Ignoring all export presets, all encoding presets work (one at a time)

Update #3: I tested the following presets, UT & H.264 with H264 Hardware Encoding, might be a bug with the presets.

From the log with H264 Preset, H264_nevc Hardware encoding:
shotcut181113_2018-11-14_17-02-55


#11

Tested the hardware encoder configuration, it worked fine. Checked Hardware encoder. It detected h264_qsv.

found

Pressed configure, h264_qsv was checked.

config

Did an export. Worked perfectly well. The export was about 35% faster than the default libx264 export. The resulting file with HW encoding is about 4X larger.


#12

It seems that there is a situation where the automatic configuration tests produce all false positives and marks all HW encoders as supported/enabled. If you see in the job log “Nvenc unloaded” then the test should not pass. I should also mention that the test is not rigorous, and HW encoders do not support all the resolutions and options as software encoders. It is very much possible that a configuration test succeeds but not an actual project export for various reasons. This is very much a “your mileage may vary” feature, but it would be nice to continue to improve it.

The minimum Nvidia driver for nvenc is 390.77 or newer

I am getting this error now as well. We use a helper project for the binding between FFmpeg and NVENC, and I see they recently bumped a version with a new minimum requirement.

Recent changes might only be necessary for newest version of FFmpeg or for features that Shotcut is not using. I think the git master version with this change is incompatible with the version of FFmpeg we are using (4.0). I see there is a branch “sdk/8.0” that will likely improve compatibility. I will try to build with that to improve compatibility but also there is a newer version of FFmpeg to try. The GeForce Experience version is not the same as the driver version. NVIDIA Control Panel > Help > System Information gives the Driver version. I currently have 397.93.


#13

NVIDIA updated for me on the 14th.


#14

there is a situation where the automatic configuration tests produce all false positives

I found that in my code that if the ffmpeg test run for HW codec X times out after 5 seconds, it would be marked as success. Thus, if you need to wait longer than 10 seconds after you click “Use hardware encoder” to get the results of auto-configuration then you are experiencing this problem. It is fixed for the next version.


#15

So … not understanding the whole context … I did some experimenting. And I found one combination that seems to work in my situation.

My NVIDIA controls allow me to select which video adapter shotcut uses. I’d been testing with NVIDIA but I just found that the Intel adapter with “h264_qsv” codec works.
GPUs

And only the “h264_qsv” codec works.
config

The resulting video is no longer “black”. And the GPU sees activity when encoding.

Can I provide any logs or updates that would be useful here?

Thanks for a great product!

John


#16

NVENC is broken in v18.11.13 due to the change in a helper project on Nov 11 I mentioned above. It worked in the beta, however. :frowning:

Can I provide any logs or updates that would be useful here?

Already diagnosed and probably fixed pending confirmation after testing the next build.


#17

So I was having the same issue and after doing some research on the Codecs shown on the list of the hardware encoder codecs to choose from. Well turns out that Nvidia cards like HEVC better when encoding on some video software. So I went ahead and used HEVC insead of H264 and BAM! I have a proper video exported and saw 10% more GPU usage (from 18-20% to 29-32% usage)