vrecord icon indicating copy to clipboard operation
vrecord copied to clipboard

add analog rca and xlr options

Open dericed opened this issue 7 years ago • 12 comments

resolves https://github.com/amiaopensource/vrecord/issues/404

dericed avatar Dec 17 '18 14:12 dericed

Shouldn't the option for generic 'analog' be removed to avoid possible confusion since the addition of more specific options basically supersedes it?

privatezero avatar Dec 17 '18 16:12 privatezero

On that note - it might be a good idea to add the line levels in the config settings so something like:

RCA Inputs (-10 dBV) XLR Inputs (+4 dBu)

To make things a little clearer on when people should be using which setting?

privatezero avatar Dec 17 '18 17:12 privatezero

nit: is it dBv in the USA? EBU uses dBV.

retokromer avatar Dec 17 '18 17:12 retokromer

No - you are correct! Should be -10 dBV

privatezero avatar Dec 17 '18 17:12 privatezero

@privatezero, not sure about adding static line level measurements such as -10 and +4. This would need some testing to ensure that custom line level alternations added in the Desktop Video application are not used in vrecord. For instance if RCA input default is -10 but someone adjusts this in Desktop Video and vrecord does use it, then we shouldn't report -10 as it could be misleading.

Also I'd prefer to leave the Analog option since many users are accustomed to it. And it allows switching between the breakdown cables without necessarily having to adjust the audio input setting.

dericed avatar Dec 27 '18 16:12 dericed

@dericed, are you referring to the custom input gain settings in Desktop Video? I agree that would be a problem if those gain settings are passed through to vrecord without the user's knowledge (and indeed some testing should probably be done for that), but that doesn't relate the the line level settings which will always be either -10 dBV or +4 dBu depending on source.

Has there been any testing to confirm that using the generic analog setting within the FFmpeg device actually does in fact does select the correct input levels automatically depending on which breakout cable is being used?

privatezero avatar Dec 27 '18 18:12 privatezero

updated based on @privatezero feedback, but with my UltraStudio Express I get this if I select either analog_xlr or analog_rca:

[decklink @ 0x7fbb5c8a0200] Device does not support selected audio input.
[decklink @ 0x7fbb5c8a0200] Could not set input configuration
UltraStudio Express: Input/output error

I haven't found a way to detect what inputs are supported by the connected device.

dericed avatar Dec 27 '18 21:12 dericed

This commit is updated to include a method of testing whether or not the listed audio and video inputs are supported by the hardware. Please re-review.

dericed avatar Apr 12 '19 16:04 dericed

ping

retokromer avatar Jun 15 '19 10:06 retokromer

Somehow missed this update! I'll give it a test tonight for the new 'scan inputs' button. I can confirm reproducing the original behavior of the Blackmagic card used for testing being unable to select anything beyond the generic analog input.

privatezero avatar Jun 17 '19 15:06 privatezero

rebasing upon https://github.com/amiaopensource/vrecord/pull/489

dericed avatar Jan 26 '20 22:01 dericed

Just tested - the scan inputs button works once, but upon second click seems to fire up the passthrough mode for some reason

privatezero avatar Jan 28 '20 23:01 privatezero