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

docker cmd, ffmpeg errors. #29

Closed amg-web closed 3 years ago

amg-web commented 3 years ago

Hi,

very usefull thing

can you check your docker run cmd https://github.com/manishkatyan/bbb-mp4/blob/da52ee0bc255ec3ca9b560af45729262a195fb52/bbb-mp4.sh#L13

i do not undrestand why you use env --env-file /var/www/bbb-mp4/.env here if you passed domain and record path with other vars.

the second is ffmpeg error:

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
5796.047
waitFor is deprecated and will be removed in a future release. See https://gith
b.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 de
elopers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=harde
ed --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --
rch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter
resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enab
e-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcode
2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfri
idi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enab
e-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-
ibpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-l
bshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --
nable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enabl
-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx26
--enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv
--enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --e
able-libzimg --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-
ibiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-share

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 @ 0x55d90f406840] Stream #0: not enough frames to estimate rat
; consider increasing probesize

stderr: Input #0, x11grab, from ':193':
Duration: N/A, start: 1625498742.450675, bitrate: 983040 kb/s
Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x800, 983040 kb
s, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc

stderr: Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, alsa, from 'pulse':
Duration: N/A, start: 1625498742.499923, bitrate: 1536 kb/s

stderr: Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s

stderr: Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help

stderr: [libx264 @ 0x55d90f430b80] using cpu capabilities: MMX2 SSE2Fast SSSE3
SE4.2 AVX FMA3 BMI2 AVX2

stderr: [libx264 @ 0x55d90f430b80] profile High, level 3.2

stderr: [libx264 @ 0x55d90f430b80] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4
VC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: ca
ac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.0
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fa
t_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=4 sliced_threads=0 n
=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyra
id=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyi
t_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=22.0 q
omp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

stderr: Output #0, mp4, to '/usr/src/app/download/441d2cf98f167ffceae167cff8c1d
87f161b3ac-1620716225849.mp4':
Metadata:
encoder : Lavf58.45.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive
, 1280x800, q=-1--1, 30 fps, 15360 tbn, 30 tbc
Metadata:
encoder : Lavc58.91.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A

stderr: Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 128 kb/s
Metadata:
encoder : Lavc58.91.100 aac

stderr: [alsa @ 0x55d90f4114c0] Thread message queue blocking; consider raising
the thread_queue_size option (current value: 1024)

PAGE LOG: Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
PAGE LOG: Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
PAGE LOG: Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR

the record is actually exists. and the error I am vorry about: stderr: [alsa @ 0x55d90f4114c0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 1024)

arun-hel commented 3 years ago

@amg-web

can you tell us which version of bigbluebutton are you using?

amg-web commented 3 years ago

can you tell us which version of bigbluebutton are you using?

BBB 2.3.3 but error could be while converting older BBB 2.2.36 record using new playback interface

arun-hel commented 3 years ago

We are trying keep the mp4 file size small , that's why you are seeing stderr: [alsa @ 0x55d90f4114c0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 1024) you can ignore that.

And regarding 404 error, it is the log from browser page, normally absence of deskshare, shared notes, etc. will generate this. above logs says Recording found that means recording present

manishkatyan commented 3 years ago

Closing