Bug Report Can't record multiple audio tracks on Linux

Fabian

Member
I set desktop audio and microphone to different audio tracks and selected the two for recording in the settings. On Windows, this works and gives me two audio tracks that I can edit separately later. On Linux, it only records the first of the two, desktop audio.
Putting both in one audio track works, but of course only gives me one track.
 

Fabian

Member
I don't think this will help much, since it's a problem in the program ("audio tracks" feature not working at all) and should be the same on all Linux distributions, but ok, here it is.
Debian 9.5
 

Attachments

  • 2018-10-06 17-05-29.txt
    7.7 KB · Views: 37

pkv

Developer
could you post a log which includes a recording ? the log is not useless, i could check that you have pulse-audio , that you use a self compiled obs.
 

pkv

Developer
there is no recording mentioned in your log ...
Whatever, I fired my ubuntu 18.04 install and checked that multi track recording does work.
I'm suspicious about the version number of obs you get in the log.
How did you install obs ? did you compile ? against which commit ?
 

Fabian

Member
I installed it regularly using Synaptic. The version number given there is "0.15.4+dfsg1-1+b1", but the title bar of OBS shows "OBS 0.0.1 (linux)".
I attached the log file right before the one I last sent here, maybe that includes the stream.
 

Attachments

  • 2018-10-06 17-42-52.txt
    17.8 KB · Views: 19

Fabian

Member
The installation instructions for Debian tell me to use `sudo apt install obs-studio`, which is exactly what Synaptic does. And when I try it manually, it doesn't change anything.
 

pkv

Developer
yes but did you add the ppa ???
sudo apt-get install ffmpeg
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update && sudo apt-get install obs-studio
 

Fabian

Member
Wouldn't that only do something when the package isn't found?
I tried it anyway and it gives this output:

Latest stable release of OBS Studio
More info: https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmp6aiug9hd/pubring.gpg' created
gpg: /tmp/tmp6aiug9hd/trustdb.gpg: trustdb created
gpg: key EFC71127F425E228: public key "Launchpad PPA for obsproject" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
 

Fabian

Member
I had this multiple times already that people said "this version is ancient, that's why you have this problem". Why would the developers of Debian include a package management system that gives me old versions of everything? Debian 9.5 was released on 14.7.2018, a date for 9.6 is not planned yet. Does that mean that every package that is by default included in Synaptic is at least 2½ months old, usually more?
 

pkv

Developer
i can't talk for the debian guys, why do they keep such an old version of obs-studio is beyond me. At least in buster + sid they updated to obs 21 (current version is obs 22). Can't help you beyond pointing to the compilation instructions.
 

Fabian

Member
So you mean
cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr .. -DWITH_RTMPS=false
make -j4
?
That changes the output of the second command to:
make[2]: *** No rule to make target '/usr/bin/../lib/libavcodec.so', needed by 'plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux'. Stop.
CMakeFiles/Makefile2:1280: recipe for target 'plugins/obs-ffmpeg/ffmpeg-mux/CMakeFiles/ffmpeg-mux.dir/all' failed
make[1]: *** [plugins/obs-ffmpeg/ffmpeg-mux/CMakeFiles/ffmpeg-mux.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 55%] Built target media-playback
[ 55%] Built target glad
make[2]: *** No rule to make target '/usr/bin/../lib/libavcodec.so', needed by 'libobs/libobs.so.0'. Stop.
CMakeFiles/Makefile2:550: recipe for target 'libobs/CMakeFiles/libobs.dir/all' failed
make[1]: *** [libobs/CMakeFiles/libobs.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
 

pkv

Developer
no : cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr -DWITH_RTMPS=false ..
and do it (the configure and generation) on a clean build folder, delete the previous one
 
Top