manishkatyan / bbb-mp4

Easily integrate bbb-mp4 app into your BigBlueButton server to automatically convert class recordings into MP4 videos.
MIT License
55 stars 41 forks source link

bbb 2.6.5 some records fail #62

Open amg-web opened 1 year ago

amg-web commented 1 year ago

some records fail after update to 2.6.5 I think script do not wait long enough to load full page and fail.

Thu May  4 11:05:36 UTC 2023 converting 5df99deb8da2b6c4555efa21862c5a7f7c0d08d3-1683037180578 to mp4 duration 65 min
f77735c08475bbe89ff964a2e5e9500d71b44ec8817e4ac66a5510ce6c3813ae
Starting pulseaudio...
Waiting for pulseaudio to start...
PAGE LOG: Failed to load resource: the server responded with a status of 404 ()
PAGE LOG: Failed to load resource: the server responded with a status of 404 ()
PAGE LOG: Failed to load resource: the server responded with a status of 404 ()
Recording found
NaN
waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
stderr: ffmpeg version 4.3.2-0york0~18.04 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libzimg --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared

stderr:   libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100

stderr: [x11grab @ 0x5615e8605840] Cannot open display :155, error 1.

stderr: :155: Input/output error

stdout: Moving video to processed folder

stderr: mv: cannot stat '/usr/src/app/processing/5df99deb8da2b6c4555efa21862c5a7f7c0d08d3-1683037180578.mp4': No such file or directory

child process exited with code 1
amg-web commented 1 year ago

NaN - after recording found

amg-web commented 1 year ago
    await page.waitForTimeout(5 * 1000)

seems it's not enough for some records. And script stops after getting NaN instead of duration.

amg-web commented 1 year ago

I have to increase waiting time up to 12 seconds. Records with big number of pages in presentation may fail due to long initial thumbnails loading

arun-hel commented 1 year ago

@amg-web We have not tested bbb-mp4 with latest(2.6) bbb. In 2.6 you will get native support of mp4 for bigbluebutton recording playback.

amg-web commented 1 year ago

@arun-hel Yes, it has But the result is different and users don't like it

arun-hel commented 1 year ago

@amg-web We are working on making bbb-mp4 compatible with bbb version 2.6

arun-hel commented 1 year ago

@amg-web Try installing latest version of bbb-mp4.

amg-web commented 1 year ago

@arun-hel which new& i do not see changes