mimic-recording-studio
mimic-recording-studio copied to clipboard
Backend exception thrown intermittently when re-recording a phrase
Description in object-deviation format
- When the user records a phrase, then plays it back for review, then presses the
spacebar
to re-record the phrase, an intermittent error is thrown.
The exception thrown on the front end is:
The backend logs show;
mrs-backend | configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libmp3lame --enable-librtmp --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-x11grab --disable-stripping --disable-static --enable-vaapi --enable-libopus --disable-debug
mrs-backend | libavutil 55. 34.101 / 55. 34.101
mrs-backend | libavcodec 57. 64.101 / 57. 64.101
mrs-backend | libavformat 57. 56.101 / 57. 56.101
mrs-backend | libavdevice 57. 1.100 / 57. 1.100
mrs-backend | libavfilter 6. 65.100 / 6. 65.100
mrs-backend | libavresample 3. 1. 0 / 3. 1. 0
mrs-backend | libswscale 4. 2.100 / 4. 2.100
mrs-backend | libswresample 2. 3.100 / 2. 3.100
mrs-backend | libpostproc 54. 1.100 / 54. 1.100
mrs-backend | Input #0, matroska,webm, from '/src/app/../tmp/13916345418961822333.webm':
mrs-backend | Metadata:
mrs-backend | encoder : Chrome
mrs-backend | Duration: N/A, start: 0.000000, bitrate: N/A
mrs-backend | Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
mrs-backend | Output #0, wav, to '/src/app/../tmp/13916345418961822333.wav':
mrs-backend | Metadata:
mrs-backend | ISFT : Lavf57.56.101
mrs-backend | Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s (default)
mrs-backend | Metadata:
mrs-backend | encoder : Lavc57.64.101 pcm_s16le
mrs-backend | Stream mapping:
mrs-backend | Stream #0:0 -> #0:0 (opus (native) -> pcm_s16le (native))
mrs-backend | Press [q] to stop, [?] for help
mrs-backend | size= 1685kB time=00:00:09.77 bitrate=1411.3kbits/s speed= 288x
mrs-backend | video:0kB audio:1685kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.004521%
mrs-backend | [2018-11-28 10:35:48 +0000] [11] [DEBUG] OPTIONS /api/audio/
mrs-backend | [2018-11-28 10:35:48 +0000] [11] [DEBUG] POST /api/audio/
mrs-backend | ffmpeg version 3.2.9 Copyright (c) 2000-2017 the FFmpeg developers
mrs-backend | built with gcc 6.3.0 (Alpine 6.3.0)
mrs-backend | configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libmp3lame --enable-librtmp --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-x11grab --disable-stripping --disable-static --enable-vaapi --enable-libopus --disable-debug
mrs-backend | libavutil 55. 34.101 / 55. 34.101
mrs-backend | libavcodec 57. 64.101 / 57. 64.101
mrs-backend | libavformat 57. 56.101 / 57. 56.101
mrs-backend | libavdevice 57. 1.100 / 57. 1.100
mrs-backend | libavfilter 6. 65.100 / 6. 65.100
mrs-backend | libavresample 3. 1. 0 / 3. 1. 0
mrs-backend | libswscale 4. 2.100 / 4. 2.100
mrs-backend | libswresample 2. 3.100 / 2. 3.100
mrs-backend | libpostproc 54. 1.100 / 54. 1.100
mrs-backend | /src/app/../tmp/7202653492801158087.webm: Invalid data found when processing input
The temporary file referenced in the error log is no longer in /tmp
and it hasn't been uploaded to the audio_files
directory.
I will add more data if this error occurs again.
Hi @KathyReid 👋 . I've had this problem long time ago too and tried to reproduce it now, to implement a fix. But with latest version the error does no occur. Are you still using Mimic-Recording-Studio and ran into that issue with latest version?
Hi @thorstenMueller - I haven't using Mimic Recording Studio for at least two years, so I can't comment.
Hi @KathyReid - thanks for your feedback. I'll send an PR once i'm able to reproduce that behavior. I'm using MRS quite regularly.
Just a note I've been getting this pretty consistently, though only with the build option of docker. It isn't exactly consistent though, mostly it's about every 5 phrases recorded, but occasionally, it's maybe every 20.