Trying to convert mp4 to webm using shotcut, which has worked before now it fails

Here is the log:
plugin_mgr_get_object_file_plugins: error opening shared object file ‘X:\Program files\Shotcut\lib\ladspa/AUTHORS’: “X:\Program files\Shotcut\lib\ladspa\AUTHORS”: The specified module could not be found.

plugin_mgr_get_object_file_plugins: error opening shared object file ‘X:\Program files\Shotcut\lib\ladspa/COPYING’: “X:\Program files\Shotcut\lib\ladspa\COPYING”: The specified module could not be found.

plugin_mgr_get_object_file_plugins: error opening shared object file ‘X:\Program files\Shotcut\lib\ladspa/readme.txt’: “X:\Program files\Shotcut\lib\ladspa\readme.txt”:

[libx264 @ 00000223d3c8ffc0] using SAR=1/1

[libx264 @ 00000223d3c8ffc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

[h264 @ 00000223d3c5d2c0] Reinit context to 1280x720, pix_fmt: yuv420p

[libx264 @ 00000223d3c8ffc0] profile High, level 3.1, 4:2:0, 8-bit

[libx264 @ 00000223d3c8ffc0] 264 - core 159 r2991M 1771b55 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=125 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

[h264 @ 00000223d86b6e00] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 00000223d8f6b4c0] Reinit context to 1280x720, pix_fmt: yuv420p

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 00000223d3c87280] Statistics: 206185 bytes read, 0 seeks

[producer avformat-novalidate] X:/memes/Sigma Strache 2.mp4

missing hwaccel parameters. skipping hardware initialization

[producer avformat-novalidate] X:/memes/Sigma Strache 2.mp4

checking VFR: pkt.duration 1000

[h264 @ 00000223d8aa5740] Reinit context to 1280x720, pix_fmt: yuv420p

[webm @ 00000223d3c98980] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

[webm @ 00000223d3c98980] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

[webm @ 00000223d3c98980] Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.

[consumer avformat] Could not write header ‘X:/memes/new webms/Sigma Strache’

[aac @ 00000223d3c9d780] Qavg: nan

[AVIOContext @ 00000223d8e3f600] Statistics: 0 seeks, 1 writeouts

Failed with exit code 1

From other posts with this “exit code 1” it’s something to do with file permissions or anti-virus blocking the process.

You can read more about that here:

Got Shotcut to finish the conversion by changing the audio codec to “default for format”, but the resulting file crashes VLC nad is not readable.
Log for working conversion:
plugin_mgr_get_object_file_plugins: error opening shared object file ‘X:\Program files\Shotcut\lib\ladspa/AUTHORS’: “X:\Program files\Shotcut\lib\ladspa\AUTHORS”: The specified module could not be found.

plugin_mgr_get_object_file_plugins: error opening shared object file ‘X:\Program files\Shotcut\lib\ladspa/COPYING’: “X:\Program files\Shotcut\lib\ladspa\COPYING”: The specified module could not be found.

plugin_mgr_get_object_file_plugins: error opening shared object file ‘X:\Program files\Shotcut\lib\ladspa/readme.txt’: “X:\Program files\Shotcut\lib\ladspa\readme.txt”:

[libopus @ 000001ce31f23c40] Value 40000.000000 for parameter ‘frame_duration’ out of range [2.5 - 120]

[libvpx-vp9 @ 000001ce2d81ffc0] v1.9.0

[libvpx-vp9 @ 000001ce2d81ffc0] --prefix=/mingw64 --target=x86_64-win64-gcc --enable-vp8 --enable-vp9 --enable-vp9-highbitdepth --enable-vp9-temporal-denoising --enable-runtime-cpu-detect --enable-postproc --enable-pic --enable-shared --enable-static --enable-experimental --disable-examples --disable-docs --disable-install-docs --disable-install-srcs --disable-unit-tests

[h264 @ 000001ce2d7ec2c0] Reinit context to 1280x720, pix_fmt: yuv420p

[libopus @ 000001ce2d7ec140] Value 40000.000000 for parameter ‘frame_duration’ out of range [2.5 - 120]

[h264 @ 000001ce32681040] Reinit context to 1280x720, pix_fmt: yuv420p

[h264 @ 000001ce3230aec0] Reinit context to 1280x720, pix_fmt: yuv420p

[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2

[AVIOContext @ 000001ce2d817280] Statistics: 206185 bytes read, 0 seeks

[producer avformat-novalidate] X:/memes/Sigma Strache 2.mp4

missing hwaccel parameters. skipping hardware initialization

[producer avformat-novalidate] X:/memes/Sigma Strache 2.mp4

checking VFR: pkt.duration 1000

[h264 @ 000001ce36174780] Reinit context to 1280x720, pix_fmt: yuv420p

[webm @ 000001ce2d828980] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

[webm @ 000001ce2d828980] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

Automatically inserted bitstream filter ‘vp9_superframe’; args=’’

[webm @ 000001ce2d828980] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

[webm @ 000001ce2d828980] Encoder did not produce proper pts, making some up.

[AVIOContext @ 000001ce31f23480] Statistics: 6 seeks, 20 writeouts

Completed successfully in 00:01:19

Sorry was being stupid, changing the audio codec to “default for format” worked 100% and the resulting file has no issue. I just opened up the wrong file to check.

Here is your problem. You are doing it wrong by not using a provided preset, or choosing invalid things in Advanced mode after choosing the preset. You cannot put H.264 (x264) in a WebM file!

I taught a one-week class providing some basic introduction to video editing (using Shotcut, of course!) and streaming. I included a fair bit of instruction on what is happening behind the scenes in a video file - lossy vs lossless compression (image and time), the difference between and relationships among containers and codecs, different types of pixel encoding, etc. Students were not too thrilled; they wanted to skip this and get on to the good stuff … and I understand that.

But this thread illustrates why I insisted they learn at least some of what is going on under the surface. Most of the time, you can get by without worrying too much what is going on inside that “.mp4” or “.mov” or “.webm” file … but sooner or later you WILL run into problems, and will not be able to sort them out without some understanding of the “innards”!

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.