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
need to push an audio file to an RTMP relay server. The audio file is a WAV file that I have saved. The original WAV file has the following specifications: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channel, s16, 256 kb/s.
The issues I am facing are:
How can I ensure that the stream pushed by JavaCV is in PCM_16_8000_1 format with a frame length of 20ms? How can I implement this in code?
Below is my code:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
need to push an audio file to an RTMP relay server. The audio file is a WAV file that I have saved. The original WAV file has the following specifications: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channel, s16, 256 kb/s.
The issues I am facing are:
How can I ensure that the stream pushed by JavaCV is in PCM_16_8000_1 format with a frame length of 20ms? How can I implement this in code?
Below is my code:
I would appreciate it if someone could provide some guidance on this.
Beta Was this translation helpful? Give feedback.
All reactions