Closed YozoraWolf closed 3 months ago
That error with shared library is probably because you are running gpu screen recorder compiled against old linux mint. When you update ffmpeg on the system you need to recompile gpu screen recorder. But that compile error needs to be fixed, its error when compiling with old ffmpeg version.
That error with failing to load shared library looks like a broken ffmpeg install. All applications that uses ffmpeg should also fail to load. But that compile error needs to be fixed, its error when compiling with old ffmpeg version.
Odd, thought I solved the broken ffmpeg install issue previously. Guess its time for me to get back to troubleshooting with it haha.
Alright, will let you know any updates.
I edited the comment. The issue is likely that you didn't recompile gpu screen recorder after updating ffmpeg, but you cant because of that compile error. I'll fix it
I edited the comment. The issue is likely that you didn't recompile gpu screen recorder after updating ffmpeg, but you cant because of that compile error. I'll fix it
Got it, will stay tuned and retry once you push the changes to repo!
Thanks!
Can you fetch the latest change from git and install again and try again? I pushed a change that should fix the compile error.
Can you fetch the latest change from git and install again and try again? I pushed a change that should fix the compile error.
After reinstalling ffmpeg.
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-23ubuntu4)
configuration: --prefix=/home/wolf/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/wolf/ffmpeg_build/include --extra-ldflags=-L/home/wolf/ffmpeg_build/lib --extra-libs='-lpthread -lm' --ld=g++ --bindir=/home/wolf/bin --enable-gpl --enable-gnutls --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libsvtav1 --enable-libdav1d --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
But I got this error:
[27/28] Linking target gpu-screen-recorder
FAILED: gpu-screen-recorder
c++ -o gpu-screen-recorder gpu-screen-recorder.p/kms_client_kms_client.c.o gpu-screen-recorder.p/src_capture_capture.c.o gpu-screen-recorder.p/src_capture_nvfbc.c.o gpu-screen-recorder.p/src_capture_xcomposite.c.o gpu-screen-recorder.p/src_capture_kms.c.o gpu-screen-recorder.p/src_encoder_video_video.c.o gpu-screen-recorder.p/src_encoder_video_cuda.c.o gpu-screen-recorder.p/src_encoder_video_vaapi.c.o gpu-screen-recorder.p/src_encoder_video_software.c.o gpu-screen-recorder.p/src_egl.c.o gpu-screen-recorder.p/src_cuda.c.o gpu-screen-recorder.p/src_xnvctrl.c.o gpu-screen-recorder.p/src_overclock.c.o gpu-screen-recorder.p/src_window_texture.c.o gpu-screen-recorder.p/src_shader.c.o gpu-screen-recorder.p/src_color_conversion.c.o gpu-screen-recorder.p/src_utils.c.o gpu-screen-recorder.p/src_library_loader.c.o gpu-screen-recorder.p/src_cursor.c.o gpu-screen-recorder.p/src_sound.cpp.o gpu-screen-recorder.p/src_main.cpp.o gpu-screen-recorder.p/src_capture_portal.c.o gpu-screen-recorder.p/src_dbus.c.o gpu-screen-recorder.p/src_pipewire.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib -pthread -Wl,--start-group /usr/local/lib/libavcodec.so /usr/local/lib/libavformat.so /usr/local/lib/libavutil.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXcomposite.so /usr/lib/x86_64-linux-gnu/libXrandr.so /usr/lib/x86_64-linux-gnu/libXfixes.so /usr/lib/x86_64-linux-gnu/libXdamage.so /usr/lib/x86_64-linux-gnu/libXi.so /usr/lib/x86_64-linux-gnu/libpulse.so /usr/local/lib/libswresample.so /usr/local/lib/libavfilter.so /usr/local/lib/libva.so /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libcap.so /usr/lib/x86_64-linux-gnu/libdrm.so /usr/lib/x86_64-linux-gnu/libwayland-egl.so /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libdbus-1.so /usr/lib/x86_64-linux-gnu/libpipewire-0.3.so -Wl,--end-group
/usr/bin/ld: warning: libvpx.so.7, needed by /usr/local/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libx264.so.163, needed by /usr/local/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_decode'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_close'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_headers'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_get_cx_data'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_encode'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_vp8_dx'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_reconfig'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_vp9_cx'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_param_parse'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_error'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_maximum_delayed_frames'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_control_'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_err_to_string'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_set_frame_buffer_functions'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_vp9_dx'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_param_cleanup'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_param_apply_profile'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_get_caps'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_vp8_cx'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_param_apply_fastfirstpass'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_version'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_destroy'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_levels'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_build_config'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_encode'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_picture_init'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_param_default'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_enc_config_set'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_param_default_preset'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_get_frame'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_error_detail'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_img_wrap'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_version_str'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_dec_init_ver'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_open_163'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_enc_init_ver'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `x264_encoder_delayed_frames'
/usr/bin/ld: /usr/local/lib/libavcodec.so: undefined reference to `vpx_codec_enc_config_default'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
I may have some issues with my libs that I might have to get fixed.
Since the compile error has been fixed i'll close this. But anyways, why are you still compiling ffmpeg from source? doesn't linux mints ffmpeg libraries work?
Hey! It's me again, just wanted to drop by and let you know of this recent bug I found while shamelessly trying to record a video (an then realizing I wasn't even recording in the first place lol)
Describe the bug Replay won't start due to an error.
To Reproduce
Desktop (please complete the following information):
Additional context
Here is the entire log.
I also tried reinstalling with the following error while building:
Help is as always super appreciated, thanks for your support! :)
mpv --no-config video.mp4
(if applicable)