Video Recording Problems ->Viedoe Part missed for conversion
Hi, i recognized that, between one of the updates from 6.0 to 6.2.0 there seems to have changed something for the Screen-Recording/Video-Recording option. Meanwhile just the Audiopart was saved to the disk but the video-component is missing so that ffmpeg runs in an error: Es gab Fehler beim Verarbeiten der Aufzeichnung. Aufnahme nicht gefunden RückgabewertNachrichten 0 process: generateSampleAudio command: /usr/bin/sox /opt/openmeetings/webapps/openmeetings/public/one_second.wav /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav pad 0 17.896 exception: null error: exitValue: 0 optional: false out: 1 process: generate MP4 command: /usr/local/bin/ffmpeg -y -itsoffset 00:00:01.352 -i /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16.webm -i /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k -vf pad=ceil(iw/2)*2:ceil(ih/2)*2 /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.mp4exception: null error: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --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-avisynth --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --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-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=1ubuntu0.1 --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-avisynth --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --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-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16.webm: No such file or directory exitValue: 1 optional: false out: 1 process: generate preview PNG :: 8a68ea7f-9e40-4692-b6a9-f912c6a66a74 command: /usr/local/bin/ffmpeg -y -i /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.mp4 -vf thumbnail,scale=640:-1 -frames:v 1 /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.pngexception: null error: ffmpeg version 4.
Re: Video Recording Problems ->Viedoe Part missed for conversion
Hello Tom, According to the log you have provided None room streams were recorded the first successful command is just "silence" Blind guess: you don't have external "data directory" so your docker volume mapping is broken this dockerized KMS writing files inside docker, and they are not available for OM :))) On Tue, 16 Nov 2021 at 22:07, Tom Meierjürgen wrote: > Hi, > > i recognized that, between one of the updates from 6.0 to 6.2.0 there > seems to have changed something for the Screen-Recording/Video-Recording > option. > > Meanwhile just the Audiopart was saved to the disk but the video-component > is missing so that ffmpeg runs in an error: > Es gab Fehler beim Verarbeiten der Aufzeichnung. Aufnahme nicht gefunden > Rückgabewert Nachrichten > 0 process: generateSampleAudio command: /usr/bin/sox > /opt/openmeetings/webapps/openmeetings/public/one_second.wav > /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav > pad 0 17.896 exception: null error: exitValue: 0 optional: false out: > 1 process: generate MP4 command: /usr/local/bin/ffmpeg -y -itsoffset > 00:00:01.352 -i > /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16.webm > -i > /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav > -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v > baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k -vf > pad=ceil(iw/2)*2:ceil(ih/2)*2 > /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.mp4exception: > null error: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the > FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: > --prefix=/usr --extra-version=1ubuntu0.1 --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-avisynth --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-librsvg --enable-librubberband > --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex > --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-libdc1394 --enable-libdrm > --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r > --enable-libx264 --enable-shared WARNING: library configuration mismatch > avcodec configuration: --prefix=/usr --extra-version=1ubuntu0.1 > --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-avisynth --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-librsvg --enable-librubberband > --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex > --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-libdc1394 --enable-libdrm > --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r > --enable-libx264 --enable-shared --enable-version3 --disable-doc > --disable-programs --enable-libaribb24 --enable-liblensfun > --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract > --enable-libvo_amrwbenc libavutil 56. 31.100 / 56. 31.100 libavcodec 58. > 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. > 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / > 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 > libpostproc 55. 5.100 / 55. 5.100 > /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d
Re: Video Recording Problems ->Viedoe Part missed for conversion
please don't forget to CC user@ list :) On Wed, 17 Nov 2021 at 00:41, Tom Meierjürgen wrote: > > Am 16.11.2021 um 16:23 schrieb Maxim Solodovnik: > > Hello Tom, > > According to the log you have provided > None room streams were recorded > > the first successful command is just "silence" > > Blind guess: you don't have external "data directory" > so your docker volume mapping is broken > this dockerized KMS writing files inside docker, and they are not > available for OM :))) > > Ok, sounds logical... but which directory inside the docker image has to > be mapped to a directory on the om-server then? I followed the different > instuctions for the om-releases and tried /opt/om_data, /opt/omdata and > /opt/openmeetinghs/webapps/openmeetings/data to be mapped to > /opt/openmeetings/webapps/openmeetings/data and the Audiopart (*.wav files) > are landing there,but not the *.webm files...that was the irritation i got > about that thought... > Here is the good example: https://markmail.org/message/ulnnmir2voseqkmm (you can search archives for DATA_DIR :)) > The docker Image used is the latest release: > kurento/kurento-media-server:latest > > thanks for reply, > > Tom > > On Tue, 16 Nov 2021 at 22:07, Tom Meierjürgen wrote: > >> Hi, >> >> i recognized that, between one of the updates from 6.0 to 6.2.0 there >> seems to have changed something for the Screen-Recording/Video-Recording >> option. >> >> Meanwhile just the Audiopart was saved to the disk but the >> video-component is missing so that ffmpeg runs in an error: >> Es gab Fehler beim Verarbeiten der Aufzeichnung. Aufnahme nicht gefunden >> Rückgabewert Nachrichten >> 0 process: generateSampleAudio command: /usr/bin/sox >> /opt/openmeetings/webapps/openmeetings/public/one_second.wav >> /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav >> pad 0 17.896 exception: null error: exitValue: 0 optional: false out: >> 1 process: generate MP4 command: /usr/local/bin/ffmpeg -y -itsoffset >> 00:00:01.352 -i >> /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16.webm >> -i >> /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav >> -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v >> baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k -vf >> pad=ceil(iw/2)*2:ceil(ih/2)*2 >> /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.mp4exception: >> null error: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the >> FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: >> --prefix=/usr --extra-version=1ubuntu0.1 --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-avisynth --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-librsvg --enable-librubberband >> --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex >> --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-libdc1394 --enable-libdrm >> --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r >> --enable-libx264 --enable-shared WARNING: library configuration mismatch >> avcodec configuration: --prefix=/usr --extra-version=1ubuntu0.1 >> --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-avisynth --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-librsvg --enable-librubberband >> --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex >> --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab >> --enable-libvorbis --enable-libvpx --enable-libwavpack --enab
Re: Video Recording Problems ->Viedoe Part missed for conversion
Am 17.11.2021 um 07:44 schrieb Maxim Solodovnik: please don't forget to CC user@ list :) Sorry, pushed the wrong Button in Thunderbid accidentally ;-) On Wed, 17 Nov 2021 at 00:41, Tom Meierjürgen wrote: Am 16.11.2021 um 16:23 schrieb Maxim Solodovnik: Hello Tom, According to the log you have provided None room streams were recorded the first successful command is just "silence" Blind guess: you don't have external "data directory" so your docker volume mapping is broken this dockerized KMS writing files inside docker, and they are not available for OM :))) Ok, sounds logical... but which directory inside the docker image has to be mapped to a directory on the om-server then? I followed the different instuctions for the om-releases and tried /opt/om_data, /opt/omdata and /opt/openmeetinghs/webapps/openmeetings/data to be mapped to /opt/openmeetings/webapps/openmeetings/data and the Audiopart (*.wav files) are landing there,but not the *.webm files...that was the irritation i got about that thought... Here is the good example: https://markmail.org/message/ulnnmir2voseqkmm (you can search archives for DATA_DIR :)) It works now :-) Should be written down somewhere in the installationinstructions that the " Environment='JAVA_OPTS=- ...' " options inside the openmeetings.service startup-script ( at least in case of ubuntu version 20.04 but i guess all ubuntus use this for starting) should get the additional Parameter "-DDATA_DIR=/opt/openmeetings/webapps/openmeetings/data" as in case of a pure external Directory sox seems to miss its *.wav Files, so there would be a similar error other way around as then not the *.webm files where missing but the *.wav file component for getting the resulting *.mp4 files from the recording as a result ;-) All i have to figure out now for my small 2 node cluster is why the switch to another room on the other node still results in seeing only my own stream but not the opponents (tested with 2 computers here in my lan and 2 others from another lan at same time,after switch every computer has only its own streams visible+hearable)... Thanks for the Help, Tom The docker Image used is the latest release: kurento/kurento-media-server:latest thanks for reply, Tom On Tue, 16 Nov 2021 at 22:07, Tom Meierjürgen wrote: Hi, i recognized that, between one of the updates from 6.0 to 6.2.0 there seems to have changed something for the Screen-Recording/Video-Recording option. Meanwhile just the Audiopart was saved to the disk but the video-component is missing so that ffmpeg runs in an error: Es gab Fehler beim Verarbeiten der Aufzeichnung. Aufnahme nicht gefunden RückgabewertNachrichten 0 process: generateSampleAudio command: /usr/bin/sox /opt/openmeetings/webapps/openmeetings/public/one_second.wav /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav pad 0 17.896 exception: null error: exitValue: 0 optional: false out: 1 process: generate MP4 command: /usr/local/bin/ffmpeg -y -itsoffset 00:00:01.352 -i /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16.webm -i /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k -vf pad=ceil(iw/2)*2:ceil(ih/2)*2 /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.mp4exception: null error: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --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-avisynth --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --
Re: Video Recording Problems ->Viedoe Part missed for conversion
On Wed, 17 Nov 2021 at 15:50, Tom Meierjürgen wrote: > > Am 17.11.2021 um 07:44 schrieb Maxim Solodovnik: > > please don't forget to CC user@ list :) > > Sorry, pushed the wrong Button in Thunderbid accidentally ;-) > > On Wed, 17 Nov 2021 at 00:41, Tom Meierjürgen wrote: > >> >> Am 16.11.2021 um 16:23 schrieb Maxim Solodovnik: >> >> Hello Tom, >> >> According to the log you have provided >> None room streams were recorded >> >> the first successful command is just "silence" >> >> Blind guess: you don't have external "data directory" >> so your docker volume mapping is broken >> this dockerized KMS writing files inside docker, and they are not >> available for OM :))) >> >> Ok, sounds logical... but which directory inside the docker image has to >> be mapped to a directory on the om-server then? I followed the different >> instuctions for the om-releases and tried /opt/om_data, /opt/omdata and >> /opt/openmeetinghs/webapps/openmeetings/data to be mapped to >> /opt/openmeetings/webapps/openmeetings/data and the Audiopart (*.wav files) >> are landing there,but not the *.webm files...that was the irritation i got >> about that thought... >> > > Here is the good example: https://markmail.org/message/ulnnmir2voseqkmm > (you can search archives for DATA_DIR :)) > > > It works now :-) Should be written down somewhere in the > installationinstructions that the " Environment='JAVA_OPTS=- ...' " options > inside the openmeetings.service startup-script ( at least in case of ubuntu > version 20.04 but i guess all ubuntus use this for starting) should get the > additional Parameter > "-DDATA_DIR=/opt/openmeetings/webapps/openmeetings/data" as in case of a > pure external Directory sox seems to miss its *.wav Files, so there would > be a similar error other way around as then not the *.webm files where > missing but the *.wav file component for getting the resulting *.mp4 files > from the recording as a result ;-) > Well I would recommend to do something like ``` mkdir /opt/omdata chown chown -R nobody:nogroup /opt/omdata cp -r ${OM_HOME}/webapps/openmeetings/data/* /opt/omdata ``` this way DATA_DIR will be external folder and the upgrade will be easier :))) please propose where correct instructions should be added :) - https://openmeetings.apache.org/installation.html - https://openmeetings.apache.org/Upgrade.html - openmeetings.service script as comments :))) > All i have to figure out now for my small 2 node cluster is why the switch > to another room on the other node still results in seeing only my own > stream but not the opponents (tested with 2 computers here in my lan and 2 > others from another lan at same time,after switch every computer has only > its own streams visible+hearable)... > Do you have TURN server? Is it configured properly? > > Thanks for the Help, > > Tom > > The docker Image used is the latest release: >> kurento/kurento-media-server:latest >> >> thanks for reply, >> >> Tom >> >> On Tue, 16 Nov 2021 at 22:07, Tom Meierjürgen wrote: >> >>> Hi, >>> >>> i recognized that, between one of the updates from 6.0 to 6.2.0 there >>> seems to have changed something for the Screen-Recording/Video-Recording >>> option. >>> >>> Meanwhile just the Audiopart was saved to the disk but the >>> video-component is missing so that ffmpeg runs in an error: >>> Es gab Fehler beim Verarbeiten der Aufzeichnung. Aufnahme nicht gefunden >>> Rückgabewert Nachrichten >>> 0 process: generateSampleAudio command: /usr/bin/sox >>> /opt/openmeetings/webapps/openmeetings/public/one_second.wav >>> /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav >>> pad 0 17.896 exception: null error: exitValue: 0 optional: false out: >>> 1 process: generate MP4 command: /usr/local/bin/ffmpeg -y -itsoffset >>> 00:00:01.352 -i >>> /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16.webm >>> -i >>> /opt/openmeetings/webapps/openmeetings/data/streams/13/rec_23_beb15ca8-6a07-4495-8efe-19d19efa7a16_FINAL_WAVE.wav >>> -c:v h264 -crf 24 -vsync 0 -pix_fmt yuv420p -preset medium -profile:v >>> baseline -level 3.0 -movflags faststart -c:a aac -ar 22050 -b:a 32k -vf >>> pad=ceil(iw/2)*2:ceil(ih/2)*2 >>> /opt/openmeetings/webapps/openmeetings/data/streams/hibernate/8a68ea7f-9e40-4692-b6a9-f912c6a66a74.mp4exception: >>> null error: ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the >>> FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: >>> --prefix=/usr --extra-version=1ubuntu0.1 --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-avisynth --enable-gnutls --enable-ladspa >>> --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b >>> --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite >>> --enable-libfontconfig --enable-
Re: Video Recording Problems ->Viedoe Part missed for conversion
Am 18.11.2021 um 08:52 schrieb Maxim Solodovnik: On Wed, 17 Nov 2021 at 15:50, Tom Meierjürgen wrote: Am 17.11.2021 um 07:44 schrieb Maxim Solodovnik: please don't forget to CC user@ list :) Sorry, pushed the wrong Button in Thunderbid accidentally ;-) On Wed, 17 Nov 2021 at 00:41, Tom Meierjürgen wrote: Am 16.11.2021 um 16:23 schrieb Maxim Solodovnik: Hello Tom, According to the log you have provided None room streams were recorded the first successful command is just "silence" Blind guess: you don't have external "data directory" so your docker volume mapping is broken this dockerized KMS writing files inside docker, and they are not available for OM :))) Ok, sounds logical... but which directory inside the docker image has to be mapped to a directory on the om-server then? I followed the different instuctions for the om-releases and tried /opt/om_data, /opt/omdata and /opt/openmeetinghs/webapps/openmeetings/data to be mapped to /opt/openmeetings/webapps/openmeetings/data and the Audiopart (*.wav files) are landing there,but not the *.webm files...that was the irritation i got about that thought... Here is the good example: https://markmail.org/message/ulnnmir2voseqkmm (you can search archives for DATA_DIR :)) It works now :-) Should be written down somewhere in the installationinstructions that the " Environment='JAVA_OPTS=- ...' " options inside the openmeetings.service startup-script ( at least in case of ubuntu version 20.04 but i guess all ubuntus use this for starting) should get the additional Parameter "-DDATA_DIR=/opt/openmeetings/webapps/openmeetings/data" as in case of a pure external Directory sox seems to miss its *.wav Files, so there would be a similar error other way around as then not the *.webm files where missing but the *.wav file component for getting the resulting *.mp4 files from the recording as a result ;-) Well I would recommend to do something like ``` mkdir /opt/omdata chown chown -R nobody:nogroup /opt/omdata cp -r ${OM_HOME}/webapps/openmeetings/data/* /opt/omdata ``` this way DATA_DIR will be external folder and the upgrade will be easier :))) please propose where correct instructions should be added :) - https://openmeetings.apache.org/installation.html - https://openmeetings.apache.org/Upgrade.html - openmeetings.service script as comments :))) Guess it would be best placed at "Tips&Tricks" in the lower section of the installation-instructionpage including the command to start kms dockerized.. startscript including location where to put: /etc/systemd/system/openmeetings.service ## # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ## # /etc/systemd/system/openmeetings.service # sudo systemctl daemon-reload # sudo systemctl restart openmeetings [Unit] Description=Apache OpenMeetings server After=network.target [Service] Type=forking Environment=JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 Environment=CATALINA_PID=/var/run/openmeetings/openmeetings.pid WorkingDirectory=/opt/openmeetings Environment=CATALINA_HOME=/opt/openmeetings Environment=CATALINA_BASE=/opt/openmeetings Environment='JDK_JAVA_OPTIONS=--add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED' Environment='CATALINA_OPTS=-Xms1G -Xmx4G -server -XX:+UseParallelGC' Environment='JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom -DDATA_DIR=/opt/openmeetings/webapps/openmeetings/data' ExecStart=/opt/openmeetings/bin/startup.sh ExecStop=/opt/openmeetings/bin/shutdown.sh User=nobody Group=nogroup UMask= RestartSec=10 Restart=always TasksMax=infinity [Install] WantedBy=multi-user.target ### Commandline to get kms in Docker with according DATA_DIR: docker run -d --memory 1024M --mount type=bind,src=/opt/openmeetings/webapps/openmeetings/data,dst=/opt/openmeetings/webapps/openmeetings/data --cpus 1.5 --restart unless-stopped --network bridge --publish 0.0.0.0:88
Re: Video Recording Problems ->Viedoe Part missed for conversion
Am 18.11.2021 um 09:55 schrieb Tom Meierjürgen: Am 18.11.2021 um 08:52 schrieb Maxim Solodovnik: ...(cut done stuff) All i have to figure out now for my small 2 node cluster is why the switch to another room on the other node still results in seeing only my own stream but not the opponents (tested with 2 computers here in my lan and 2 others from another lan at same time,after switch every computer has only its own streams visible+hearable)... Do you have TURN server? Is it configured properly? For sure i have one turnserver per node running ;-) Heres my turnserver config stripped down to all lines without the commented lines and personal information replaced by placeholders which tells the kind of content, maybe i have forgoten something in there? /etc/turnserver.conf : ##Start# listening-port=3478 listening-ip=$Docker-Bridge_Interface-IP$ listening-ip=$External-Node-IP$ listening-ip=$Internal-own-IPSEC/GRE-Tunnel-IP$ relay-ip=$Internal_own_IPSEC/GRE-Tunnel-IP$ min-port=49152 max-port=65535 fingerprint use-auth-secret static-auth-secret=$Same_secret_as_in_OM_Kurento-configurationpart_of_openmeetings.properties$ server-name=$Nameresolutionadress_of_the_node$ realm=$Domainame_as_Realm$ stale-nonce=0 log-file=/var/log/turnserver/turn.log syslog allowed-peer-ip=$Internal_other_nodes_IPSEC/GRE_Tunnel-IP$ allowed-peer-ip=$External_other_nodes_IP$ pidfile="/var/run/turnserver.pid" ###End when i put "lt-cred-mech" additionally in there as mentioned somewhere in the mailinglist before, my coturn won´t start up and in the logs it tells me to use either lt-cred-mech or use stat-auth but not both at the same time... Hope this helps locating the reasons for my Node-switching problem with the streams... Does anyone on the list have a hint for me if this config has something in which may cause the Node-Switchingproblems? kind regards, Tom
Re: Video Recording Problems ->Viedoe Part missed for conversion
Hello Tom, coturn config looks good this config has placeholders like listening-ip=$Docker-Bridge_Interface-IP$ do you have something like this in the openmeetings.properties as well? On Wed, 1 Dec 2021 at 22:42, Tom Meierjürgen wrote: > > > Am 18.11.2021 um 09:55 schrieb Tom Meierjürgen: > > > Am 18.11.2021 um 08:52 schrieb Maxim Solodovnik: > > > ...(cut done stuff) >> >> All i have to figure out now for my small 2 node cluster is why the switch >> to another room on the other node still results in seeing only my own stream >> but not the opponents (tested with 2 computers here in my lan and 2 others >> from another lan at same time,after switch every computer has only its own >> streams visible+hearable)... > > > Do you have TURN server? > Is it configured properly? > > For sure i have one turnserver per node running ;-) > > Heres my turnserver config stripped down to all lines without the commented > lines and personal information replaced by placeholders which tells the kind > of content, maybe i have forgoten something in there? > > /etc/turnserver.conf : > > ##Start# > listening-port=3478 > > listening-ip=$Docker-Bridge_Interface-IP$ > listening-ip=$External-Node-IP$ > listening-ip=$Internal-own-IPSEC/GRE-Tunnel-IP$ > > relay-ip=$Internal_own_IPSEC/GRE-Tunnel-IP$ > > min-port=49152 > max-port=65535 > > fingerprint > > use-auth-secret > > static-auth-secret=$Same_secret_as_in_OM_Kurento-configurationpart_of_openmeetings.properties$ > > server-name=$Nameresolutionadress_of_the_node$ > > realm=$Domainame_as_Realm$ > > stale-nonce=0 > > log-file=/var/log/turnserver/turn.log > > syslog > > allowed-peer-ip=$Internal_other_nodes_IPSEC/GRE_Tunnel-IP$ > allowed-peer-ip=$External_other_nodes_IP$ > > pidfile="/var/run/turnserver.pid" > > ###End > > when i put "lt-cred-mech" additionally in there as mentioned somewhere in the > mailinglist before, my coturn won´t start up and in the logs it tells me to > use either lt-cred-mech or use stat-auth but not both at the same time... > > > Hope this helps locating the reasons for my Node-switching problem with the > streams... > > > Does anyone on the list have a hint for me if this config has something in > which may cause the Node-Switchingproblems? > > kind regards, > > Tom > > -- Best regards, Maxim
Re: Video Recording Problems ->Viedoe Part missed for conversion
Hello Maxim, Am 02.12.2021 um 08:18 schrieb Maxim Solodovnik: Hello Tom, coturn config looks good this config has placeholders like listening-ip=$Docker-Bridge_Interface-IP$ do you have something like this in the openmeetings.properties as well? These Placeholders are not in the real config,there are the according ip-addresses ;-) I used the placehodlers inside the published config to state clearly which ip-address is used (coturn is listening as well to external ip and docker bridge interface at the same time) where and inside openmeetings.properties i use the ip of the external interface as websocket-adress for kms and the external ip for kms.turn.url, switching the kms.turn.url also to docker bridge ip leads to only seeing my own streams so i kept using the external ip actually, but then i got the mentioned switchingproblems when using a second room running on the other node at the same time :-/ On Wed, 1 Dec 2021 at 22:42, Tom Meierjürgen wrote: Am 18.11.2021 um 09:55 schrieb Tom Meierjürgen: Am 18.11.2021 um 08:52 schrieb Maxim Solodovnik: ...(cut done stuff) All i have to figure out now for my small 2 node cluster is why the switch to another room on the other node still results in seeing only my own stream but not the opponents (tested with 2 computers here in my lan and 2 others from another lan at same time,after switch every computer has only its own streams visible+hearable)... Do you have TURN server? Is it configured properly? For sure i have one turnserver per node running ;-) Heres my turnserver config stripped down to all lines without the commented lines and personal information replaced by placeholders which tells the kind of content, maybe i have forgoten something in there? /etc/turnserver.conf : ##Start# listening-port=3478 listening-ip=$Docker-Bridge_Interface-IP$ listening-ip=$External-Node-IP$ listening-ip=$Internal-own-IPSEC/GRE-Tunnel-IP$ relay-ip=$Internal_own_IPSEC/GRE-Tunnel-IP$ min-port=49152 max-port=65535 fingerprint use-auth-secret static-auth-secret=$Same_secret_as_in_OM_Kurento-configurationpart_of_openmeetings.properties$ server-name=$Nameresolutionadress_of_the_node$ realm=$Domainame_as_Realm$ stale-nonce=0 log-file=/var/log/turnserver/turn.log syslog allowed-peer-ip=$Internal_other_nodes_IPSEC/GRE_Tunnel-IP$ allowed-peer-ip=$External_other_nodes_IP$ pidfile="/var/run/turnserver.pid" ###End when i put "lt-cred-mech" additionally in there as mentioned somewhere in the mailinglist before, my coturn won´t start up and in the logs it tells me to use either lt-cred-mech or use stat-auth but not both at the same time... Hope this helps locating the reasons for my Node-switching problem with the streams... Does anyone on the list have a hint for me if this config has something in which may cause the Node-Switchingproblems? kind regards, Tom