Open Broadcaster Software (OBS) - format not support

I installed OBS 25.0.8 on Leap 15.1 amongst others with

  • akvcam-kmp-default
  • v4l2loopback-kmp-default
  • obs-v4l2sink
  • obs-studio

Sound and cam became found. Cam picture ist displayed on screen. But under V4l2sinkProperties auto and manual start fails with message “format not support” for
YUV420, NV12, YUY2 and RGB32 options.

How can I fix it ?

As always,
It’s important that you describe where your application came from and how it was installed.

The official OBS Studio install instructions at the following link are a mixture of what you should and shouldn’t do…

https://obsproject.com/wiki/install-instructions#opensuse-installation-unofficial

Briefly…
Don’t install the Packman repository as described in the above link.
Instead, install the Packman repository as described in the Multimedia Forum sticky which basically adding the repository and then doing a “zypper dup --from Packman” type command (follow the instructions, not the command I just described)

After that,
Only then install OBS Studio using either zypper or the YaST Software Manager.

If the app in Packman is built properly, it should install properly shich should avoid the problems you describe.

TSU

Don’t tinker. Sample install on pristine Leap:

  1. Add Packman:
localhost:~ # zypper addrepo  --refresh --priority 90 http://ftp.fau.de/packman/suse/openSUSE_Leap_15.2/ packman
Adding repository 'packman' .............................................................................................................................[done]
Repository 'packman' successfully added

URI         : http://ftp.fau.de/packman/suse/openSUSE_Leap_15.2/
Enabled     : Yes
GPG Check   : Yes
Autorefresh : Yes
Priority    : 90 (raised priority)

Repository priorities in effect:                                                                                               (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  5 repositories
localhost:~ # 
  1. Install ffmpeg:
localhost:~ # zypper install --allow-vendor-change ffmpeg-3
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 7 NEW packages are going to be installed:
  ffmpeg-3 libSDL2-2_0-0 libavdevice57 libvidstab1_1 libx264-155 libx265-192 libxvidcore4

The following 8 packages are going to be upgraded:
  libavcodec57 libavfilter6 libavformat57 libavresample3 libavutil55 libpostproc54 libswresample2 libswscale4

The following 8 packages are going to change vendor:
  libavcodec57    openSUSE -> http://packman.links2linux.de
  libavfilter6    openSUSE -> http://packman.links2linux.de
  libavformat57   openSUSE -> http://packman.links2linux.de
  libavresample3  openSUSE -> http://packman.links2linux.de
  libavutil55     openSUSE -> http://packman.links2linux.de
  libpostproc54   openSUSE -> http://packman.links2linux.de
  libswresample2  openSUSE -> http://packman.links2linux.de
  libswscale4     openSUSE -> http://packman.links2linux.de

8 packages to upgrade, 7 new, 8  to change vendor.
Overall download size: 10.2 MiB. Already cached: 0 B. After the operation, additional 28.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 
Retrieving package libSDL2-2_0-0-2.0.8-lp152.7.4.x86_64 .....
Checking for file conflicts: ....
( 1/15) Installing: libSDL2-2_0-0-2.0.8-lp152.7.4.x86_64 .........
localhost:~ # 
  1. Install studio
localhost:~ # zypper install obs-studio
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 5 NEW packages are going to be installed:
  libfdk-aac2 libmbedcrypto3 libmbedtls12 libmbedx509-0 obs-studio

5 new packages to install.
Overall download size: 4.7 MiB. Already cached: 0 B. After the operation, additional 13.7 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 
Retrieving package libmbedcrypto3-2.16.5-lp152.1.2.x86_64....
Checking for file conflicts: .....
(1/5) Installing: libmbedcrypto3-2.16.5-lp152.1.2.x86_64 ....
localhost:~ # 
  1. Enjoy OBS Studio.

No, don’t do #1 which is what the obs-studio instructions say for installing on openSUSE.

Easiest way to add the Packman repo properly…
There are other ways of finding the right Packman URL, but the following is nearly brain dead effortless… mostly a matter of clicking on choices and no typing

  1. Open YaST > Manage Software Repositories
    (Note Software Repositories, not Software Management)
  2. Click the “Add” button
  3. Select the “Community repositories” radio button, then Next
  4. Select the Packman repository. No need to add the libdvdcss repository unless you intend to burn files to optical media
  5. Complete the wizard, agreeing to trust the repository key.
  6. You now need to prioritize packages from Packman. Do not configure repository priority which can be unreliable. the general command is
zypper dup --from *repository_id* 

The repository_id can be anything that uniquely identifies the repository, it can be the exact name, alias or enumerator. You can display all of these by listing your repositories with the following command

zypper lr

More than likely, if you just added the Packman repo, it’s the first listed repo, so the following would be what you would run to give Packman the necessary priority

zypper dup --from 1
  1. Now install your application
zypper in obs-studio

I would expect that ffmpeg should already be a dependency of obs-studio, but if it isn’t, then just install. It will come from Packman automatically. In fact, you should probably fully follow the codecs installation from from the Multimedia Forum sticky to properly install all the codecs you likely will need for anything you do.

TSU

The proof of the pudding is in the successful installation, see post #3. Do you ever eat your own dog food?

zypper and yast2 are two distinct options for installing software. Users can do it either way.

Yes,
Because I had my own use I did install it.
Up until recently, I’d been using VLC as my streaming server.

Aside from my recommendation to use YaST because in this instance is much easier and mistake-free compared to zypper (not always the case),
A critical issue in your recommendation and in the OBS Studio documentation is to rely on setting the repository priority with a number less than 90.
Over the years, that has sometimes worked, sometimes not. Everywhere (well, everywhere I’ve been around) people have been warned not to rely on that setting and that is almost certainly why you’ll never see it in the Multimedia sticky for adding codecs from Packman.

Which leads me to my recommendation not to install just ffmpeg which is an OBS Studio dependency (I can’t remember if I ever installed ffmpeg separately on the machine I’m using). Those “in the know” know that there are two main competing sets of codecs, gstreamer and ffmpeg. The Multimedia Forum sticky might install only gstreamer (which in recent years has been considered better than ffmpeg although ffmpeg often is improving). I don’t know if OBS Studio can work with gstreamer (which would require a bit of work so not necessarily expected) and the sticky might install ffmpeg also (haven’t checked). But, because it makes for a more complete system, I’ll recommend following the Multimedia Forum sticky until I’m proven wrong (entirely possible).

TSU

I felt uncomfortable with the sticky threads in the Multimedia forum since ever and commented on this earlier: https://forums.opensuse.org/showthread.php/536314-Multimedia-Guide-for-openSUSE-Leap-15-1?p=2913838#post2913838

Currently I stick to my personal procedure:

The above warrants a minimum of annoying questions from “zypper dup”.

I installed it from the official OBS Studio install instructions link as above.

Installation routine done. Message “format not support” still displayed.

TSU’s proposal does not work. The message still exists.

Which one? Did you start from a pristine list of repos?

It seems that the content you’re trying to process is not supported by OBS Studio, or needs something installed or configured to support.

The following is from the OBS Studio documentation describing a number of common sources and their default and configurable output(and passed to OBS Studio).

You may need to do a little investigation what your device or source output is

https://obsproject.com/wiki/Sources-Guide

TSU

I tried yours and removed all unnecessary repos.
I will setup a new Linux installation with Leap 15.2. when it becomes issued early in July. Maybe it works with OBS then. I will post my experience here.

I will take a look at the sources guide.
And I will setup a new Linux installation with Leap 15.2. when it becomes issued early in July. Maybe it works with OBS then. I will post my experience here.

Leap 15.2 is already there:

linux-wm0h:~ # inxi -S
System:    Host: linux-wm0h.lan Kernel: 5.3.18-lp152.19-default x86_64 bits: 64 Console: tty 1 Distro: openSUSE Leap 15.2 
linux-wm0h:~ # 

I downloaded the latest Network Image and installed without encountering any problems. As I understand upon releasing the official version beta will update automatically.

Leap 15.2 installation done. Repos are all … download.opensuse.org … .
Repo from ftp.fau.de added.
ffmpeg-3 installed from fau repo.
OBS installed from fau repo.

Laptop cam added to OBS sources menu and it works.

Ad punktum: How can I use it for web meetings ?
Do I need one or more packages like qv4l2, v4l2loopback-kmp-default, obs-v4l2sink ? My described problem “format not supprot” may be linked with obs-v4l2sink. And so I like to ask before install it or do something else.
Or can I handle it only by OBS program controls? I tried it with zero result before I posted my problem.

What can be the next step ?

Great. Thanks for the feedback. Omitted ffmeg-3 and installed obs-studio only on my instance of Leap 15.2.

Tomorrow it will show, if it works on my Zoom meeting.
Otherwise I’ll be back with questions.

OBS does not work with zoom-meetings. I add v4l2sink try to start and error message “format not support” becomes displayed. As well as without v4l2sink.
Camera and microphone are switched off by preset in data security settings.

How can I use OBS-Camara together with zoom? May be zoom doesn’t accept a OBS camara signal? And zoom overrides the preset adjustment of disabled camera in data security settings.
When OBS is started, too, the start/stop video button in zoom is out of function. You can’t start a video in zoom.

Runs zoom first then no camera picture is displayed in OBS. Are both programs stand in the way of each other ?