SC screen record failure centos 7

Hi
I updated to the latest version today to try out screen recording on linux. When I try do a movie it looks like it is missing a library (libva-drm.so.1). I only get the overlay region picker but no movie is recording. Are you expecting to bundle that in your installer or is that something you expect us to install system-wide ourselves (like freetype)?

thanks
Luke

 [ CAPTURE ] startRegionRecording region: 2543 15 2544 2544
 [ CAPTURE ] Start Recording.  Video to be save as:  /home/lharris/Videos/sgc-2019-08-29_17-47-46.mov
 [ CAPTURE ] /opt/Autodesk/ShotgunCreate/bin/ffmpeg: error while loading shared libraries: libva-drm.so.1: cannot open shared object file: No such file or directory

 [ CAPTURE ] startRegionRecording region: 1657 18 2161 2161
 [ CAPTURE ] Start Recording.  Video to be save as:  /home/lharris/Videos/sgc-2019-08-29_17-47-48.mov
 [ CAPTURE ] /opt/Autodesk/ShotgunCreate/bin/ffmpeg: error while loading shared libraries: libva-drm.so.1: cannot open shared object file: No such file or directory

 [ CAPTURE ] startRegionRecording region: 1369 611 1369 1369
 [ CAPTURE ] Start Recording.  Video to be save as:  /home/lharris/Videos/sgc-2019-08-29_17-47-49.mov
 [ CAPTURE ] /opt/Autodesk/ShotgunCreate/bin/ffmpeg: error while loading shared libraries: libva-drm.so.1: cannot open shared object file: No such file or directory
2 Likes

Hi @luke,

What flavor of linux are you running? (Can you share the content of /etc/redhat-release)

Also, can you provide the output of “ldd /opt/Autodesk/ShotgunCreate/bin/ffmpeg”?

Thanks,
Kerby

1 Like

Hi Kerby

→ cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 

→ ldd /opt/Autodesk/ShotgunCreate/bin/ffmpeg 
	linux-vdso.so.1 =>  (0x00007ffe259f3000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f4e68337000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f4e6810f000)
	libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f4e67f0a000)
	libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007f4e67d06000)
	libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f4e67afe000)
	libva-drm.so.1 => not found
	libva.so.1 => not found
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4e678e1000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f4e6751d000)
	/lib64/ld-linux-x86-64.so.2 (0x000056112b47a000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007f4e67319000)

Indeed I get the error as soon as I try run SC’s ffmpeg executable. The ffmpeg we use internally does not have that library dependency

thanks

2 Likes

@luke,

Thanks for the fast reply!

We definitely fail to package the dependency with the build. Thank you for reporting it.

Is it working if you run yum install libva ? It seems to be what provides both libva.so.1 and libva-drm.so.1

$ sudo yum provides libva.so.1
Loaded plugins: fastestmirror, langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
 * epel: mirror.sfo12.us.leaseweb.net
libva-1.8.3-1.el7.i686 : Libva is an implementation for Video Acceleration API
Repo        : centos7-base
Matched from:
Provides    : libva.so.1

$ sudo yum provides libva-drm.so.1
Loaded plugins: fastestmirror, langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
 * epel: mirror.sfo12.us.leaseweb.net
libva-1.8.3-1.el7.i686 : Libva is an implementation for Video Acceleration API
Repo        : centos7-base
Matched from:
Provides    : libva-drm.so.1
3 Likes

Hi @geffrak
Thanks for investigating. I unfortunately can’t verify installing libva fixes it - it is not found in our IT sanctioned repos. Do you expect you will bundle it with a future version of SC?
cheers
Luke

1 Like

Hi @luke,

From what I understand, the fix will be to put libva as a requirement on the rpm so the end user know that it’s required to run the app properly since it’s available in the centos official repository.

If you can’t install it through yum install, maybe you can dowload it from here: https://centos.pkgs.org/7/centos-x86_64/libva-1.8.3-1.el7.x86_64.rpm.html (binary package) and install it with yum localinstall.

Thanks,
Kerby

2 Likes

Ah thanks! That sounds reasonable.

It’s working now, fingers crossed there is microphone support coming soon!

2 Likes

Hi Luke,
We can’t provide you with an ETA yet but yes, we do plan to add audio support soon.
Lyne

2 Likes