I want to feed audio channel of a video file to the following TenorFlow function:
tf.audio.decode_wav(
contents,
desired_channels=-1,
desired_samples=-1,
name=None)
Where Args:
contents: A Tensor of type string. The WAV-encoded audio, usually from a file.
desired_channels: An optional int. Defaults to -1. Number of sample channels wanted.
desired_samples: An optional int. Defaults to -1. Length of audio requested.
name: A name for the operation (optional).