How to display the command line OBS is using to record from capture card

Dilligaf74

New Member
Hi all -

Newbie here.
I've been going bald trying to record a stream from a capture card (HDMI pass-through) to a file. I need to do it from the command line, because I need to do it as part of a script which will be run by another application.
I first tried to do it using cvlc, which can stream the output of the card just fine to my screen but can't seem to write it to a file (tried to record as a .ts file; apparently the video format this thing uses (YUY2) is incompatible with .ts). OBS studio displays the stream perfectly AND creates the file just fine as a Matroska file (.mkv). I need to determine the command line OBS is using to do this. I have tried using "obs --verbose" and dumping the output to a log file, which does provide some useful information, but I'd like to see the actual command line it's using (it apparently uses clvc and ffmpeg).

Please advise - thanks in advance!!

P.S. It appears that the audio output from this capture card can be 5.1 channels, but OBS is only recording 2.1. I don't see an obvious way to fix this. In settings, it says it's doing 5.1, but in "Desktop Audio" it's only displaying two active audio channels; the other four are greyed. This isn't as important to me right now as just being able to record from the command line (above), but thought I'd ask.

Please forgive me if these are basic questions. I did search the forum for my first question and didn't find an answer. Perhaps I used the wrong search terms.
 

Tuna

Member
OBS uses libraries, there is no command line for capturing cameras or any other part of OBS.
 
Top