You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ability to provide 16 bit data (torch.int16) as input to StreamWriter with the understanding that the data will be truncated to 10/12 bit depending on the selected encoder_format would be very helpful.
Motivation, pitch
10 bit video encoding is becoming more mainstream and is supported in nvenc. 12 bit video encoding is also getting more traction. torchaudio already supports reading 10 bit video and storing it in 16 bit tensors: #3331 #3023 #3332
It would be great to have the converse support on the encoding side.
Alternatives
Copying the torch tensor to CPU and using imageio-ffmpeg
馃殌 The feature
The ability to provide 16 bit data (
torch.int16
) as input toStreamWriter
with the understanding that the data will be truncated to 10/12 bit depending on the selectedencoder_format
would be very helpful.Motivation, pitch
10 bit video encoding is becoming more mainstream and is supported in nvenc. 12 bit video encoding is also getting more traction. torchaudio already supports reading 10 bit video and storing it in 16 bit tensors:
#3331
#3023
#3332
It would be great to have the converse support on the encoding side.
Alternatives
imageio-ffmpeg
Additional context
N/A
The text was updated successfully, but these errors were encountered: