Skip to content
New issue

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

The pretrained Chinese model can not process audio file with 48khz sample rate #242

Open
KawhiZhao opened this issue Aug 3, 2020 · 1 comment

Comments

@KawhiZhao
Copy link

Here is the worker.log

2020-08-03 06:30:54 - INFO: __main__: Opening websocket connection to master server 2020-08-03 06:30:54 - INFO: __main__: Opened websocket connection to server 2020-08-03 06:30:54 - DEBUG: __main__: <undefined>: Got message from server of type <class 'ws4py.messaging.TextMessage'> 2020-08-03 06:30:54 - INFO: decoder2: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Initializing request 2020-08-03 06:30:54 - INFO: __main__: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Started timeout guard 2020-08-03 06:30:54 - DEBUG: __main__: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Checking that decoder hasn't been silent for more than 10 seconds 2020-08-03 06:30:54 - INFO: __main__: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Initialized request 2020-08-03 06:30:54 - DEBUG: __main__: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Got message from server of type <class 'ws4py.messaging.BinaryMessage'> 2020-08-03 06:30:54 - DEBUG: decoder2: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Pushing buffer of size 8000 to pipeline 2020-08-03 06:30:54 - DEBUG: decoder2: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Pushing buffer done 2020-08-03 06:30:54 - ERROR: decoder2: (GLib.Error('GStreamer encountered a general stream error.', 'gst-stream-error-quark', 1), 'gstwavparse.c(1684): gst_wavparse_stream_headers (): /GstPipeline:pipeline0/GstDecodeBin:decodebin/GstWavParse:wavparse0:\nStream claims av_bsp = 192000, which is more than 96000 - invalid data') 2020-08-03 06:30:54 - INFO: decoder2: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Resetting decoder state 2020-08-03 06:30:54 - DEBUG: ws4py: Closing message received (1000) '' 2020-08-03 06:30:54 - DEBUG: __main__: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Websocket closed() called 2020-08-03 06:30:54 - DEBUG: __main__: 4e4cad05-9440-4aaf-9bc7-27ed656d5a7b: Websocket closed() finished DEBUG 2020-08-03 06:31:01,885 Starting up worker

I wonder do I need to resample the audio file to 16khz?

@naxingyu
Copy link
Contributor

naxingyu commented Aug 4, 2020

yes, you do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants