We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s = StreamWriter(dst="-", format="audiotoolbox") s.add_audio_stream(sample_rate, num_channels, format="s16")
RuntimeError Traceback (most recent call last) Cell In[5], line 2 1 # Configure StreamWriter to write to speaker device ----> 2 s = StreamWriter(dst="-", format="audiotoolbox") 3 s.add_audio_stream(sample_rate, num_channels, format="s16")
File E:\ProgramData\anaconda3\Lib\site-packages\torio\io_streaming_media_encoder.py:199, in StreamingMediaEncoder.init(self, dst, format, buffer_size) 197 self._s = ffmpeg_ext.StreamingMediaEncoderFileObj(dst, format, buffer_size) 198 else: --> 199 self._s = ffmpeg_ext.StreamingMediaEncoder(str(dst), format) 200 self._is_open = False
RuntimeError: Failed to open output "-" (Invalid argument).
2.3.0+cu121
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Describe the bug
s = StreamWriter(dst="-", format="audiotoolbox")
s.add_audio_stream(sample_rate, num_channels, format="s16")
RuntimeError Traceback (most recent call last)
Cell In[5], line 2
1 # Configure StreamWriter to write to speaker device
----> 2 s = StreamWriter(dst="-", format="audiotoolbox")
3 s.add_audio_stream(sample_rate, num_channels, format="s16")
File E:\ProgramData\anaconda3\Lib\site-packages\torio\io_streaming_media_encoder.py:199, in StreamingMediaEncoder.init(self, dst, format, buffer_size)
197 self._s = ffmpeg_ext.StreamingMediaEncoderFileObj(dst, format, buffer_size)
198 else:
--> 199 self._s = ffmpeg_ext.StreamingMediaEncoder(str(dst), format)
200 self._is_open = False
RuntimeError: Failed to open output "-" (Invalid argument).
Versions
2.3.0+cu121
The text was updated successfully, but these errors were encountered: