fzwoch / obs-vaapi

OBS Studio VAAPI support via GStreamer
GNU General Public License v2.0
118 stars 3 forks source link

01f62dac9678302799a01761b732c523c7294bab breaks the plugin #4

Closed GloriousEggroll closed 2 years ago

GloriousEggroll commented 2 years ago
info: [ffmpeg muxer: 'adv_file_output'] Writing file '/home/tcrider/2022-09-06 13-38-00.mkv'...
error: [obs-vaapi] Internal data stream error.

start recording never creates the file,when you hit the stop recording button it hangs indefinitely.

reverting prior to that commit resolves the issue

Atemu commented 2 years ago

Just a hunch but 01f62dac9678302799a01761b732c523c7294bab requires a new dependency, is it installed in your system?

fzwoch commented 2 years ago

That's right. That commit switches to vapostproc which is part of the newer VA plugin. Probably with the next release of GStreamer the encoder will switch to this new version as well. Currently this plugin is part of the -bad set of plugins of GStreamer. The old vaapipostproc caused to many issues and errors with various color formats that vapostproc works just quite well with.

GloriousEggroll commented 2 years ago

$ rpm -qa | grep gstreamer | grep bad gstreamer1-plugins-bad-free-1.20.3-1.fc36.x86_64 gstreamer1-plugins-bad-freeworld-1.20.3-1.fc36.x86_64 gstreamer1-plugins-bad-freeworld-1.20.3-1.fc36.i686 gstreamer1-plugins-bad-free-1.20.3-1.fc36.i686

fzwoch commented 2 years ago

$ gst-inspect-1.0 vapostproc would be the easiest check.

GloriousEggroll commented 2 years ago

$ gst-inspect-1.0 vapostproc No such element or plugin 'vapostproc'

seems its missing, guess I need to dig around and find what the fedora package is for it -edit-

Found what was missing: gstreamer1-plugins-bad-free-extras

GloriousEggroll commented 2 years ago

yep, all good now. closing